Summary: Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.17.3 to 3.18.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/protocolbuffers/protobuf/releases">protobuf-java's releases</a>.</em></p> <blockquote> <h2>Protocol Buffers v3.18.0</h2> <h1>C++</h1> <ul> <li>Fix warnings raised by clang 11 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8664">#8664</a>)</li> <li>Make StringPiece constructible from std::string_view (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8707">#8707</a>)</li> <li>Add missing capability attributes for LLVM 12 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8714">#8714</a>)</li> <li>Stop using std::iterator (deprecated in C++17). (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8741">#8741</a>)</li> <li>Move field_access_listener from libprotobuf-lite to libprotobuf (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8775">#8775</a>)</li> <li>Fix <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/7047">#7047</a> Safely handle setlocale (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8735">#8735</a>)</li> <li>Remove deprecated version of SetTotalBytesLimit() (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8794">#8794</a>)</li> <li>Support arena allocation of google::protobuf::AnyMetadata (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8758">#8758</a>)</li> <li>Fix undefined symbol error around SharedCtor() (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8827">#8827</a>)</li> <li>Fix default value of enum(int) in json_util with proto2 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8835">#8835</a>)</li> <li>Better Smaller ByteSizeLong</li> <li>Introduce event filters for inject_field_listener_events</li> <li>Reduce memory usage of DescriptorPool</li> <li>For lazy fields copy serialized form when allowed.</li> <li>Re-introduce the InlinedStringField class</li> <li>v2 access listener</li> <li>Reduce padding in the proto's ExtensionRegistry map.</li> <li>GetExtension performance optimizations</li> <li>Make tracker a static variable rather than call static functions</li> <li>Support extensions in field access listener</li> <li>Annotate MergeFrom for field access listener</li> <li>Fix incomplete types for field access listener</li> <li>Add map_entry/new_map_entry to SpecificField in MessageDifferencer. They record the map items which are different in MessageDifferencer's reporter.</li> <li>Reduce binary size due to fieldless proto messages</li> <li>TextFormat: ParseInfoTree supports getting field end location in addition to start.</li> <li>Fix repeated enum extension size in field listener</li> <li>Enable Any Text Expansion for Descriptors::DebugString()</li> <li>Switch from int{8,16,32,64} to int{8,16,32,64}_t</li> </ul> <h1>Java</h1> <ul> <li>Fix errorprone conflict (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8723">#8723</a>)</li> <li>Removing deprecated TimeUtil class. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8749">#8749</a>)</li> <li>Optimized FieldDescriptor.valueOf() to avoid array copying.</li> <li>Removing deprecated TimeUtil class.</li> <li>Add Durations.parseUnchecked(String) and Timestamps.parseUnchecked(String)</li> <li>FieldMaskUtil: Add convenience method to mask the fields out of a given proto.</li> </ul> <h1>JavaScript</h1> <ul> <li>Optimize binary parsing of repeated float64</li> <li>Fix for optimization when reading doubles from binary wire format</li> <li>Replace toArray implementation with toJSON.</li> </ul> <h1>PHP</h1> <ul> <li>Migrate PHP & Ruby to ABSL wyhash (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8854">#8854</a>)</li> <li>Added support for PHP 8.1 (currently in RC1) to the C extension (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8964">#8964</a>)</li> <li>Fixed PHP SEGV when constructing messages from a destructor. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8969">#8969</a>)</li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="89b14b1d16"><code>89b14b1</code></a> Update change log (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8974">#8974</a>)</li> <li><a href="12fb2b7450"><code>12fb2b7</code></a> Update protobuf version (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8973">#8973</a>)</li> <li><a href="ac02d6cbaa"><code>ac02d6c</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8970">#8970</a> from haberman/ruby-repeated-plus-arena</li> <li><a href="39dc8ad11f"><code>39dc8ad</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8969">#8969</a> from haberman/php-destructor2</li> <li><a href="26e0ee8eec"><code>26e0ee8</code></a> Fixed multirequest.sh script for when nohup.out does not exist.</li> <li><a href="66a3e1a670"><code>66a3e1a</code></a> Added missing file to EXTRA_DIST.</li> <li><a href="79ac88bbbb"><code>79ac88b</code></a> Fixed a memory bug with RepeatedField#+.</li> <li><a href="759a539736"><code>759a539</code></a> Fixed PHP SEGV when constructing messages from a destructor.</li> <li><a href="605ab956e0"><code>605ab95</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8964">#8964</a> from haberman/php-8.1</li> <li><a href="44df0abc02"><code>44df0ab</code></a> Added support for PHP 8.1 (currently in RC1).</li> <li>Additional commits viewable in <a href="https://github.com/protocolbuffers/protobuf/compare/v3.17.3...v3.18.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `dependabot rebase` will rebase this PR - `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `dependabot merge` will merge this PR after your CI passes on it - `dependabot squash and merge` will squash and merge this PR after your CI passes on it - `dependabot cancel merge` will cancel a previously requested merge and block automerging - `dependabot reopen` will reopen this PR if it is closed - `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Pull Request resolved: https://github.com/facebook/flipper/pull/2886 Reviewed By: mweststrate Differential Revision: D31203907 Pulled By: passy fbshipit-source-id: 31a48863e5bbc82bbb11f76297e16594a44e1a8f
Flipper
Flipper (formerly Sonar) is a platform for debugging mobile apps on iOS and Android. Visualize, inspect, and control your apps from a simple desktop interface. Use Flipper as is or extend it using the plugin API.
Table of Contents
- Mobile development
- Extending Flipper
- Contributing to Flipper
- In this repo
- Getting started
- Building from Source
- iOS SDK + Sample App
- Android SDK + Sample app
- Documentation
- Contributing
- License
Mobile development
Flipper aims to be your number one companion for mobile app development on iOS and Android. Therefore, we provide a bunch of useful tools, including a log viewer, interactive layout inspector, and network inspector.
Extending Flipper
Flipper is built as a platform. In addition to using the tools already included, you can create your own plugins to visualize and debug data from your mobile apps. Flipper takes care of sending data back and forth, calling functions, and listening for events on the mobile app.
Contributing to Flipper
Both Flipper's desktop app and native mobile SDKs are open-source and MIT licensed. This enables you to see and understand how we are building plugins, and of course, join the community and help to improve Flipper. We are excited to see what you will build on this platform.
In this repo
This repository includes all parts of Flipper. This includes:
- Flipper's desktop app built using Electron (
/desktop) - native Flipper SDKs for iOS (
/iOS) - native Flipper SDKs for Android (
/android) - Plugins:
- Logs (
/desktop/src/device-plugins/logs) - Layout inspector (
/desktop/plugins/layout) - Network inspector (
/desktop/plugins/network) - Shared Preferences/NSUserDefaults inspector (
/desktop/plugins/shared_preferences)
- Logs (
- website and documentation (
/website//docs)
Getting started
Please refer to our Getting Started guide to set up Flipper.
Requirements
- node >= 8
- yarn >= 1.5
- iOS developer tools (for developing iOS plugins)
- Android SDK and adb
Building from Source
Desktop
Running from source
git clone https://github.com/facebook/flipper.git
cd flipper/desktop
yarn
yarn start
NOTE: If you're on Windows, you need to use Yarn 1.5.1 until this issue is resolved.
Building standalone application
Provide either --mac, --win, --linux or any combination of them
to yarn build to build a release zip file for the given platform(s). E.g.
yarn build --mac --version $buildNumber
You can find the resulting artifact in the dist/ folder.
iOS SDK + Sample App
cd iOS/Sample
rm -f Podfile.lock
pod install --repo-update
open Sample.xcworkspace
<Run app from xcode>
You can omit --repo-update to speed up the installation, but watch out as you may be building against outdated dependencies.
Android SDK + Sample app
Start up an android emulator and run the following in the project root:
./gradlew :sample:installDebug
React Native SDK + Sample app
cd react-native/ReactNativeFlipperExample
yarn
yarn android
Note that the first 2 steps need to be done only once.
Alternatively, the app can be started on iOS by running yarn ios.
Troubleshooting
Older yarn versions might show an error / hang with the message 'Waiting for the other yarn instance to finish'. If that happens, run the command yarn first separately in the directory react-native/react-native-flipper.
Documentation
Find the full documentation for this project at fbflipper.com.
Our documentation is built with Docusaurus. You can build it locally by running this:
cd website
yarn
yarn start
Contributing
See the CONTRIBUTING file for how to help out.
License
Flipper is MIT licensed, as found in the LICENSE file.
