Summary: Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.19.4 to 3.20.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.20.0</h2> <p>2022-03-25 version 3.20.0 (C++/Java/Python/PHP/Objective-C/C#/Ruby/JavaScript)</p> <h1>C++</h1> <ul> <li>Add option to use external GTest in CMake (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8736">#8736</a>)</li> <li>cmake: Set correct sonames for libprotobuf-lite.so and libprotoc.so (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8635">#8635</a>) (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9529">#9529</a>)</li> </ul> <h1>Java</h1> <ul> <li>Revert "Standardize on Array copyOf" (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9400">#9400</a>)</li> <li>Resolve more java field accessor name conflicts (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8198">#8198</a>)</li> </ul> <h1>Python</h1> <ul> <li>Pin multibuild scripts to get manylinux1 wheels back (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9216">#9216</a>)</li> <li>Dropped support for Python < 3.7 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9480">#9480</a>)</li> </ul> <h1>PHP</h1> <ul> <li>fix: [PHP] add missing reserved classnames (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9458">#9458</a>)</li> </ul> <h1>Ruby</h1> <ul> <li>Dropped Ruby 2.3 and 2.4 support for CI and releases. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9311">#9311</a>)</li> <li>[Ruby] Message.decode/encode: Add max_recursion_depth option (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9218">#9218</a>)</li> <li>Ruby: rename max_recursion_depth to recursion_limit (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9486">#9486</a>)</li> <li>Fix conversion of singleton classes in Ruby (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9342">#9342</a>)</li> <li>Suppress warning for intentional circular require (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9556">#9556</a>)</li> <li>[Ruby] allow encode json options to be an object that responds to to_hash (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9513">#9513</a>)</li> </ul> <h1>Other</h1> <ul> <li>[C#] Fix trim warnings (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9182">#9182</a>)</li> <li>Add protoc-gen-go-svc to options.md (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9280">#9280</a>)</li> <li>Fixes NullReferenceException when accessing FieldDescriptor.IsPacked (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9430">#9430</a>)</li> <li>Add ToProto() method to all C# descriptor classes (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9426">#9426</a>)</li> <li>Add cmake option <code>protobuf_INSTALL</code> to not install files (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/7123">#7123</a>)</li> <li>[CMake] Allow custom plugin options e.g. to generate mocks (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9105">#9105</a>)</li> <li>Add an option to preserve proto names in JsonFormatter (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/6307">#6307</a>)</li> <li>Add test scope to kotlin-test for protobuf-kotlin-lite (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9518">#9518</a>)</li> <li>Add prefix_to_proto_package_mappings_path ObjC option. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9498">#9498</a>)</li> <li>[ObjC] Rename <code>proto_package_to_prefix_mappings_path</code> to <code>package_to_prefix_mappings_path</code>. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9552">#9552</a>)</li> <li>cmake: Use linker version scripts (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9545">#9545</a>)</li> <li>Add a generation option to control use of forward declarations in headers. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9568">#9568</a>)</li> <li>[C#] fix parse failure for extensions with large field numbers (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9591">#9591</a>)</li> </ul> <h2>Protocol Buffers v3.20.0-rc2</h2> <h1>Ruby</h1> <ul> <li>to_json will now use fewer decimal places to encode float/double in some cases, if the extra digits are not necessary for round-tripping</li> </ul> <h1>PHP</h1> <ul> <li>to_json will now use fewer decimal places to encode float/double in some cases, if the extra digits are not necessary for round-tripping</li> </ul> <h2>Protocol Buffers v3.20.0-rc1</h2> <h1>Ruby</h1> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="bc799d78f8"><code>bc799d7</code></a> Added missing files and fixed file roles. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9672">#9672</a>)</li> <li><a href="dbb9619a9d"><code>dbb9619</code></a> Cherry-pick to get Ruby 3.1 support in protobuf 3.20.0 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9657">#9657</a>)</li> <li><a href="2099298e08"><code>2099298</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9650">#9650</a> from esorot/php-release-fix</li> <li><a href="523d94a445"><code>523d94a</code></a> update PHP release to not fail on existing tag</li> <li><a href="a6133534e2"><code>a613353</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9634">#9634</a> from esorot/3.20.x-202203152103</li> <li><a href="ebfa0d345e"><code>ebfa0d3</code></a> Update protobuf version</li> <li><a href="e0cec17c71"><code>e0cec17</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9632">#9632</a> from esorot/update-python-version</li> <li><a href="2a9f806a69"><code>2a9f806</code></a> update python to 3</li> <li><a href="16dccd6820"><code>16dccd6</code></a> Updated Ruby to the latest upb. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9589">#9589</a>) (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9630">#9630</a>)</li> <li><a href="357e71679e"><code>357e716</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9588">#9588</a> from protocolbuffers/master</li> <li>Additional commits viewable in <a href="https://github.com/protocolbuffers/protobuf/compare/v3.19.4...v3.20.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/3622 Reviewed By: mweststrate Differential Revision: D35893329 Pulled By: lblasa fbshipit-source-id: 9f53179a02a922b1c0271fb6e23e32134fec5e6f
Flipper
Flipper (formerly Sonar) is a platform for debugging mobile apps on iOS and Android and, recently, even JS apps in your browser or in Node.js. 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
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, native mobile SDKs, JS 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) - React Native Flipper SDK (
/react-native) - JS Flipper SDK (
/js) - Plugins:
- Logs (
/desktop/plugins/public/logs) - Layout inspector (
/desktop/plugins/public/layout) - Network inspector (
/desktop/plugins/public/network) - Shared Preferences/NSUserDefaults inspector
(
/desktop/plugins/public/shared_preferences)
- Logs (
- website and documentation (
/website//docs)
Getting started
Please refer to our
Getting Started guide to set
up Flipper.
Or, (still experimental) run npx flipper-server for a browser based version of 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.
If this is the first time running, you will also need to run
pod install --repo-update from the
react-native/ReactNativeFlipperExample/ios folder.
JS SDK + Sample React app
cd js/react-flipper-example
yarn
yarn start
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.
