Commit Graph

7073 Commits

Author SHA1 Message Date
Kevin Strider
ee006a961b architecture.mdx (Creating Plugins - Architecture)
Summary:
Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

This diff includes a new version of the image 'flipper-communication-diagram.png'.
The old version has been renamed to 'flipper-communication-diagram.bak'

Reviewed By: aigoncharov

Differential Revision: D36628993

fbshipit-source-id: cb59785777926b4fb8b8bb3be2aa2439d3a580d0
2022-05-25 03:26:55 -07:00
Kevin Strider
2d465c1bf9 layout-inspector.mdx (Creating Plugins - Extending the Layout Inspector)
Summary: Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: aigoncharov

Differential Revision: D36632888

fbshipit-source-id: 41c4ddceab4ae6a665559093465a73c595aa494f
2022-05-25 03:21:57 -07:00
Kevin Strider
b8292ee62c create-plugin.mdx (Creating Plugins - Client Plugin API)
Summary: Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: aigoncharov

Differential Revision: D36626315

fbshipit-source-id: 735160f8d1f1365a8aab7fb1cd3e99b724025e3a
2022-05-25 03:14:14 -07:00
Kevin Strider
669bc74acd error-handling.mdx (Creating Plugins - Error Handling)
Summary: Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: aigoncharov

Differential Revision: D36626777

fbshipit-source-id: 65c5fcac860ff47c775fc43c053a8a55eb4804e9
2022-05-25 03:11:36 -07:00
Lorenzo Blasa
6d2bc5cc9a Refactor some of the types used by FBLogger into Logger
Summary:
^

This change aims to extract some bits and pieces that are not specific to FBLogger and could be used by other Logger implementations.

Reviewed By: passy

Differential Revision: D36473286

fbshipit-source-id: 57f02d132673dbac97384da4dca51bf3e6fb8738
2022-05-24 10:23:42 -07:00
Pascal Hartig
a73f736d92 Launch emulator error message
Summary:
It's not obvious for non-mobile developers how to fix it when there are no emulators available. Adding a quick section in the troubleshooting guide and linking to it.

Changelog: Add link to troubleshooting page when no emulators are available.

Reviewed By: nikoant

Differential Revision: D36599925

fbshipit-source-id: f3a1e79e07209e34b66176102c85e7797292978c
2022-05-24 07:55:40 -07:00
Pascal Hartig
f84f56614d Loading state for emulator launcher
Summary:
Our current loading state holder for the emulator launch dialogue is a "No emulators available" error message which may stay there for up to 5 seconds (in the case of only iOS enabled) before we see devices.

This adds a proper spinner that will show for as long there are pending device queries.

Changelog: Loading state for emulator launch dialogue

Reviewed By: nikoant

Differential Revision: D36598855

fbshipit-source-id: 64099596b48708b48a43f0208696a7dddc15007c
2022-05-24 07:55:40 -07:00
Pascal Hartig
fe29183014 Show custom messages for no SDKs in Launch Emulator dialog
Summary:
Our launch emulator button isn't very helpful when you don't have any SDKs set up as it shows you exactly the same message as if it was loading for a bit longer. We've seen a low, but constant flow of support requests and it's often not easy to debug remotely unless you dig into the state export.

This sets up a new actionable message when you have neither Android nor iOS support enabled and sends you straight to the settings.

Changelog: Show alert in Launch Emulator dialogue if no SDKs are enabled

Reviewed By: mweststrate

Differential Revision: D36596972

fbshipit-source-id: ba72e9aaeb136c1a7e2f360ef9fbbeec6bc76f4d
2022-05-24 07:55:40 -07:00
Anton Nikolaev
015be5ad83 Remove flashing on initializing datatable with filter
Summary:
When filter is applied for the first time we shouldn't debounce to avoid "flashing" on datatable loading when it is first loaded without filter and then filter applied after 250ms.

Changelog:
Fixed flashing on opening datatable-based plugin with a filter.

Reviewed By: timur-valiev

Differential Revision: D36602929

fbshipit-source-id: 8bd33f50c92036f2a5565f636f4f2fbe69d900f2
2022-05-24 04:51:19 -07:00
Anton Nikolaev
8d07b7b644 Quick action for resetting all datatable filters
Summary:
As we persist column filters between sessions - sometimes it's not obvious that they are applied.

This diff adds "Reset filters" action just near message "No records match the current search / filter criteria" to make it obvious that some records are hidden because of filters and let user quickly disable filters to see all items.

The same action also added to datatable's context menu.

Changelog:
Quick action "Reset filters" for datatable-based plugins which is shown in context menu and in empty table when all items filtered out.

Reviewed By: timur-valiev

Differential Revision: D36600535

fbshipit-source-id: 782e7f863f2f52d7f6017685bdebcb1feeb97dbd
2022-05-24 04:51:19 -07:00
Kevin Strider
02058a14d0 flipper-plugin.mdx (CreatingPlugins - Desktop Plugin API)
Summary: Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: nikoant

Differential Revision: D36594291

fbshipit-source-id: caba082f8bf6ab62c7bd03b3dfeae43f5ec76b7e
2022-05-24 03:29:25 -07:00
Pascal Hartig
b185cabbc2 Fix height of launch emu window
Summary:
A paper cut that hurt me so many times. The launch emulator window gets populated by external commands that finish at interminate points in time and change the size, jiggling the buttons around. That means, you may hover over an android emulator just when the iOS command returns and when you click, you don't hit the Android emu, but some iOS thing.

This just makes the height fixed, so this cannot happen.

Still having some more improvements in mind as this is such a high-trafficked surface.

Chanlog: Fix wiggling of the Launch Emulator dialogue as data comes in

Reviewed By: mweststrate

Differential Revision: D36595001

fbshipit-source-id: e61de55f348ab4d2f6f977552539d2a44d3fd11d
2022-05-23 11:25:33 -07:00
Kevin Strider
d9524e893c node-apis.mdx (Creating Plugins - Using Node.js APIs)
Summary: Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: mweststrate

Differential Revision: D36596005

fbshipit-source-id: 9ae71f426fad792af6e13f949581e26f8366baa4
2022-05-23 09:43:57 -07:00
Kevin Strider
cd1345bc28 deeplinks.mdx (Creating Plugins - Using Deeplinks)
Summary: Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: mweststrate

Differential Revision: D36595695

fbshipit-source-id: 7aea6856da2d1e00676c781ffe3d817d6abc58dc
2022-05-23 09:39:07 -07:00
Kevin Strider
1dd2f8bcf1 styling-components.mdx (Creating Plugins - Styling Components)
Summary: Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: mweststrate

Differential Revision: D36595388

fbshipit-source-id: 0d65c3b7099d492c1e3959f9d1d4b3f7c09cd98d
2022-05-23 09:36:58 -07:00
Andrey Goncharov
3141658ac0 Publish flipper-headless-demo
Reviewed By: lblasa

Differential Revision: D36591088

fbshipit-source-id: 0f22b38f558934aa9a8b017cdb87cc67f5a65cef
2022-05-23 08:06:18 -07:00
Andrey Goncharov
125f450f60 Prepare flipper-headless-demo for publishing
Summary: Make headless-demo executable and configure packaging

Reviewed By: passy

Differential Revision: D36590919

fbshipit-source-id: 2c192a712e38888bc8b1f1caa3e55075c24ed14e
2022-05-23 08:06:18 -07:00
Andrey Goncharov
966e53f4a2 Publish flipper-headless-tic-tac-toe
Reviewed By: passy

Differential Revision: D36590750

fbshipit-source-id: c94a74f850723c2165222a9869d563469471f206
2022-05-23 08:06:18 -07:00
Andrey Goncharov
38814f16f9 Prepare headless tic-tac-toe for publishing
Summary: Make headless-tic-tac-toe executable and configure packaging

Reviewed By: lblasa

Differential Revision: D36589422

fbshipit-source-id: d8b141033434265e4f14b9a047d3bccde8fad14b
2022-05-23 08:06:18 -07:00
Andrey Goncharov
abbb267482 Implement headless tic-tac-toe CLI
Summary: Add a CLI app to play tic-tac-toe from the terminal.

Reviewed By: lblasa

Differential Revision: D36548528

fbshipit-source-id: 4cdfb9d8887cb0d4d0100a822f39a4f9fb25aa9b
2022-05-23 08:06:18 -07:00
Andrey Goncharov
0fcfdef465 Add TicTacToe client to headless tic-tac-toe
Summary: TicTacToe client implements basic operation to play Tic Tac Toe

Reviewed By: passy

Differential Revision: D36548545

fbshipit-source-id: cfca5dad4c42efc8272ee1ce7544914451059f14
2022-05-23 08:06:18 -07:00
Andrey Goncharov
9bd66e6188 Add FlipperServerClient to headless tic-tac-toe
Summary: FlipperServerClient is a high-level abstraction to talk to Flipper Server

Reviewed By: passy

Differential Revision: D36545544

fbshipit-source-id: 12845a96dfc39d4268d2f7134d90d5addae48b83
2022-05-23 08:06:18 -07:00
facebook-flipper-bot
77ada56e02 Automated: Update Podfile.lock (#3743)
Summary:
This is an automated PR to update the Podfile.lock.
- Make sure that the Podfile.lock contains latest FlipperKit and Flipper pod versions.
- Also make sure that all the dependencies are updated to the latest one.
- This is auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request)

Pull Request resolved: https://github.com/facebook/flipper/pull/3743

Test Plan:
Imported from GitHub, without a `Test Plan:` line.

**Static Docs Preview: flipper**
|[Full Site](https://our.intern.facebook.com/intern/staticdocs/eph/D36593800/V2/flipper/)|

|**Modified Pages**|
|[docs/getting-started/ios-native](https://our.intern.facebook.com/intern/staticdocs/eph/D36593800/V2/flipper/docs/getting-started/ios-native/)|

Reviewed By: passy

Differential Revision: D36593800

Pulled By: nikoant

fbshipit-source-id: c08c622c19624ad6005919eef8e30c2a4f78da7f
2022-05-23 08:04:43 -07:00
dependabot[bot]
dd2a442625 Bump jest from 28.0.3 to 28.1.0 in /react-native/ReactNativeFlipperExample (#3702)
Summary:
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 28.0.3 to 28.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/jest/releases">jest's releases</a>.</em></p>
<blockquote>
<h2>v28.1.0</h2>
<h2>Features</h2>
<ul>
<li><code>[jest-circus]</code> Add <code>failing</code> test modifier that inverts the behaviour of tests (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12610">#12610</a>)</li>
<li><code>[jest-environment-node, jest-environment-jsdom]</code> Allow specifying <code>customExportConditions</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12774">#12774</a>)</li>
</ul>
<h2>Fixes</h2>
<ul>
<li><code>[expect]</code> Adjust typings of <code>lastCalledWith</code>, <code>nthCalledWith</code>, <code>toBeCalledWith</code> matchers to allow a case there a mock was called with no arguments (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12807">#12807</a>)</li>
<li><code>[jest/expect-utils]</code> Fix deep equality of ImmutableJS Lists (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12763">#12763</a>)</li>
<li><code>[jest-core]</code> Do not collect <code>SIGNREQUEST</code> as open handles (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12789">#12789</a>)</li>
</ul>
<h2>Chore &amp; Maintenance</h2>
<ul>
<li><code>[docs]</code> Specified documentation about <code>--filter</code> CLI docs (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12799">#12799</a>)</li>
<li><code>[jest-reporters]</code> Move helper functions from <code>utils.ts</code> into separate files (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12782">#12782</a>)</li>
<li><code>[jest-resolve]</code> Replace <code>process.versions.pnp</code> type declaration with <code>types/pnpapi</code> devDependency (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12783">#12783</a>)</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/romellem"><code>@​romellem</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12763">facebook/jest#12763</a></li>
<li><a href="https://github.com/cristianrgreco"><code>@​cristianrgreco</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12789">facebook/jest#12789</a></li>
<li><a href="https://github.com/rethab"><code>@​rethab</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12791">facebook/jest#12791</a></li>
<li><a href="https://github.com/gramsco"><code>@​gramsco</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12799">facebook/jest#12799</a></li>
<li><a href="https://github.com/michalwarda"><code>@​michalwarda</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12610">facebook/jest#12610</a></li>
<li><a href="https://github.com/mikemaccana"><code>@​mikemaccana</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12809">facebook/jest#12809</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/jest/compare/v28.0.3...v28.1.0">https://github.com/facebook/jest/compare/v28.0.3...v28.1.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/facebook/jest/blob/main/CHANGELOG.md">jest's changelog</a>.</em></p>
<blockquote>
<h2>28.1.0</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-circus]</code> Add <code>failing</code> test modifier that inverts the behaviour of tests (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12610">#12610</a>)</li>
<li><code>[jest-environment-node, jest-environment-jsdom]</code> Allow specifying <code>customExportConditions</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12774">#12774</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[expect]</code> Adjust typings of <code>lastCalledWith</code>, <code>nthCalledWith</code>, <code>toBeCalledWith</code> matchers to allow a case there a mock was called with no arguments (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12807">#12807</a>)</li>
<li><code>[jest/expect-utils]</code> Fix deep equality of ImmutableJS Lists (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12763">#12763</a>)</li>
<li><code>[jest-core]</code> Do not collect <code>SIGNREQUEST</code> as open handles (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12789">#12789</a>)</li>
</ul>
<h3>Chore &amp; Maintenance</h3>
<ul>
<li><code>[docs]</code> Specified documentation about <code>--filter</code> CLI docs (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12799">#12799</a>)</li>
<li><code>[jest-reporters]</code> Move helper functions from <code>utils.ts</code> into separate files (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12782">#12782</a>)</li>
<li><code>[jest-resolve]</code> Replace <code>process.versions.pnp</code> type declaration with <code>types/pnpapi</code> devDependency (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12783">#12783</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="f5db241312"><code>f5db241</code></a> v28.1.0</li>
<li>See full diff in <a href="https://github.com/facebook/jest/commits/v28.1.0/packages/jest">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=jest&package-manager=npm_and_yarn&previous-version=28.0.3&new-version=28.1.0)](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/3702

Reviewed By: lblasa

Differential Revision: D36371165

Pulled By: mweststrate

fbshipit-source-id: 2ddce2b6ea4e1def12fcf23ee52667b49ebc04a2
2022-05-23 07:29:26 -07:00
dependabot[bot]
f6eb57e028 Bump react-native from 0.67.4 to 0.68.2 in /react-native/react-native-flipper @allow-large-files (#3700)
Summary:
Bumps [react-native](https://github.com/facebook/react-native) from 0.67.4 to 0.68.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/react-native/releases">react-native's releases</a>.</em></p>
<blockquote>
<h2>0.68.1</h2>
<h3>Changed</h3>
<h4>Android specific</h4>
<ul>
<li>Bump React Native Gradle plugin to 0.0.6 (<a href="9573d7b84d">9573d7b84d</a> by <a href="https://github.com/cortinico"><code>@​cortinico</code></a>)</li>
<li>Don't require yarn for codegen tasks (<a href="d5da70e17e">d5da70e17e</a> by <a href="https://github.com/danilobuerger"><code>@​danilobuerger</code></a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fix dynamic_cast (RTTI) by adding key function to ShadowNodeWrapper and related classes (<a href="58a2eb7f37">58a2eb7f37</a> by <a href="https://github.com/kmagiera"><code>@​kmagiera</code></a>)</li>
<li>Pin use-subscription to &lt; 1.6.0 (<a href="5534634892">5534634892</a> by <a href="https://github.com/danilobuerger"><code>@​danilobuerger</code></a>)</li>
</ul>
<h4>Android specific</h4>
<ul>
<li>Use NDK 23 only for Windows users. (<a href="e48a580080">e48a580080</a> by <a href="https://github.com/cortinico"><code>@​cortinico</code></a>)</li>
<li>Improve support for Android users on M1 machine (<a href="4befd2a29c">4befd2a29c</a> by <a href="https://github.com/cortinico"><code>@​cortinico</code></a>)</li>
<li>Template: Specify abiFilters if enableSeparateBuildPerCPUArchitecture is not set. (<a href="5dff920177">5dff920177</a> by <a href="https://github.com/cortinico"><code>@​cortinico</code></a>)</li>
<li>Fix for building new architecture sources on Windows (<a href="5a8033df98">5a8033df98</a> by <a href="https://github.com/mganandraj"><code>@​mganandraj</code></a>)</li>
</ul>
<hr />
<p>You can participate in the conversation on the status of this release at this <a href="https://github.com/reactwg/react-native-releases/discussions/20">discussion</a></p>
<hr />
<p>To help you upgrade to this version, you can use the <a href="https://react-native-community.github.io/upgrade-helper/">upgrade helper</a> ⚛️</p>
<hr />
<p>You can find the whole changelog history in the <a href="https://github.com/facebook/react-native/blob/main/CHANGELOG.md">changelog.md file</a>.</p>
<h2>0.68.0</h2>
<p>0.68 stable is out!</p>
<p>This release includes <strong>614 commits</strong> by <strong>68 contributors</strong>! Thank you to all our contributors new and old! You can find the <a href="https://github.com/facebook/react-native/blob/main/CHANGELOG.md#v0680">full changelog here</a>.</p>
<ul>
<li>See the highlights of the release in our <a href="https://reactnative.dev/blog/2022/03/30/version-068">release blog post</a>.</li>
<li>You can participate in the conversation on the status of this release at <a href="https://github.com/reactwg/react-native-releases/discussions/19">this issue</a>.</li>
<li>You can upgrade to this version using the <a href="https://react-native-community.github.io/upgrade-helper/">upgrade helper webtool</a> ⚛️</li>
</ul>
<h2>0.68.0-rc.4</h2>
<p>Includes fixes to Flipper setup on iOS.</p>
<hr />
<p>To test it, run:</p>
<pre><code>npx react-native init RN068RC4 --version 0.68.0-rc.4
</code></pre>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/facebook/react-native/blob/main/CHANGELOG.md">react-native's changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2>v0.68.1</h2>
<h3>Changed</h3>
<h4>Android specific</h4>
<ul>
<li>Bump React Native Gradle plugin to 0.0.6 (<a href="9573d7b84d">9573d7b84d</a> by <a href="https://github.com/cortinico"><code>@​cortinico</code></a>)</li>
<li>Don't require yarn for codegen tasks (<a href="d5da70e17e">d5da70e17e</a> by <a href="https://github.com/danilobuerger"><code>@​danilobuerger</code></a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fix dynamic_cast (RTTI) by adding key function to ShadowNodeWrapper and related classes (<a href="58a2eb7f37">58a2eb7f37</a> by <a href="https://github.com/kmagiera"><code>@​kmagiera</code></a>)</li>
<li>Pin use-subscription to &lt; 1.6.0 (<a href="5534634892">5534634892</a> by <a href="https://github.com/danilobuerger"><code>@​danilobuerger</code></a>)</li>
</ul>
<h4>Android specific</h4>
<ul>
<li>Use NDK 23 only for Windows users. (<a href="e48a580080">e48a580080</a> by <a href="https://github.com/cortinico"><code>@​cortinico</code></a>)</li>
<li>Improve support for Android users on M1 machine (<a href="4befd2a29c">4befd2a29c</a> by <a href="https://github.com/cortinico"><code>@​cortinico</code></a>)</li>
<li>Template: Specify abiFilters if enableSeparateBuildPerCPUArchitecture is not set. (<a href="5dff920177">5dff920177</a> by <a href="https://github.com/cortinico"><code>@​cortinico</code></a>)</li>
<li>Fix for building new architecture sources on Windows (<a href="5a8033df98">5a8033df98</a> by <a href="https://github.com/mganandraj"><code>@​mganandraj</code></a>)</li>
</ul>
<h2>v0.68.0</h2>
<h3>Breaking Changes</h3>
<ul>
<li>CI moved to Node 16. (<a href="f1488db109">f1488db109</a> by <a href="https://github.com/kelset"><code>@​kelset</code></a>).
This change enforces Node &gt;= 14 for React Native builds.</li>
<li>Bump Android Gradle Plugin to 7.0.1. (<a href="272cfe5d13">272cfe5d13</a> by <a href="https://github.com/dulmandakh"><code>@​dulmandakh</code></a>)
This version of Android Gradle plugin enforces JDK 11 for Android builds. Do not upgrade to AGP 7.1 as it is not supported by this version of react-native.</li>
<li>Removed <code>fallbackResource</code> from <code>RCTBundleURLProvider</code> API (<a href="0912ee179c">0912ee179c</a>) by <a href="https://github.com/philIip"><code>@​philIip</code></a></li>
</ul>
<h3>New Architecture</h3>
<p><em>If you are interested in enabling the new architecture, please refer to <a href="https://reactnative.dev/docs/next/new-architecture-intro">the dedicated documentation</a>.</em></p>
<ul>
<li>Do not include Facebook license on users codegen'd code (<a href="450967938a">450967938a</a> by <a href="https://github.com/cortinico"><code>@​cortinico</code></a>)</li>
</ul>
<h4>Android specific</h4>
<ul>
<li>Setup a <code>newArchEnabled</code> property to Opt-in the New Architecture in the template (<a href="8d652fba4c">8d652fba4c</a> by <a href="https://github.com/cortinico"><code>@​cortinico</code></a>)</li>
</ul>
<h4>iOS specific</h4>
<ul>
<li>Add fabric option to the default app template. (<a href="2e9a376c84">2e9a376c84</a> by <a href="https://github.com/sota000"><code>@​sota000</code></a>)</li>
<li>Add turbo module support in the default app template. (<a href="8ec0e6919c">8ec0e6919c</a> by <a href="https://github.com/sota000"><code>@​sota000</code></a>)</li>
<li>Rename the new architecture flag to RCT_NEW_ARCH_ENABLED. (<a href="c0c5439959">c0c5439959e</a> by <a href="https://github.com/sota000"><code>@​sota000</code></a>)</li>
</ul>
<h3>Added</h3>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="72e1eda073"><code>72e1eda</code></a> [0.68.2] Bump version numbers</li>
<li><a href="dfda480a98"><code>dfda480</code></a> Bump used version of react-native-codegen to 0.0.17</li>
<li><a href="a5ddc2e165"><code>a5ddc2e</code></a> Bump react-native-codegen to 0.0.17</li>
<li><a href="62ef6f5fa1"><code>62ef6f5</code></a> [Main][Windows] Working around Long paths limitation on Windows (<a href="https://github-redirect.dependabot.com/facebook/react-native/issues/33707">#33707</a>)</li>
<li><a href="b5f1b26a8f"><code>b5f1b26</code></a> [0.68.1] Bump version numbers</li>
<li><a href="48113b5635"><code>48113b5</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/facebook/react-native/issues/33628">#33628</a> from fortmarek/fix/yarn-lock-gradle-plugin</li>
<li><a href="faaf2560cd"><code>faaf256</code></a> Update yarn.lock with the new react-native-gradle-plugin version</li>
<li><a href="387ee70e72"><code>387ee70</code></a> Use NDK 23 only for Windows users. (<a href="https://github-redirect.dependabot.com/facebook/react-native/issues/33611">#33611</a>)</li>
<li><a href="3fd3fe04da"><code>3fd3fe0</code></a> react-native-gradle-plugin should not depend on react-native-codegen NPM package</li>
<li><a href="fdd7848454"><code>fdd7848</code></a> Replaced windowsAwareYarn with windowsAwareCommandLine for node calls (<a href="https://github-redirect.dependabot.com/facebook/react-native/issues/33530">#33530</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/react-native/compare/v0.67.4...v0.68.2">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-native&package-manager=npm_and_yarn&previous-version=0.67.4&new-version=0.68.2)](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/3700

Reviewed By: timur-valiev

Differential Revision: D36371151

Pulled By: mweststrate

fbshipit-source-id: 2f359af8c5a693e8a2244fe0c22d31bb6f889724
2022-05-23 07:29:26 -07:00
dependabot[bot]
14b0683cf4 Bump robolectric from 4.8 to 4.8.1 (#3707)
Summary:
Bumps [robolectric](https://github.com/robolectric/robolectric) from 4.8 to 4.8.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/robolectric/robolectric/releases">robolectric's releases</a>.</em></p>
<blockquote>
<h2>Robolectric 4.8.1</h2>
<p>This is a minor release that fixes <a href="https://github-redirect.dependabot.com/robolectric/robolectric/issues/7286">#7286</a>, a NoClassDefError that can occur. Thanks for <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> for the fix (<a href="https://github-redirect.dependabot.com/robolectric/robolectric/issues/7284">#7284</a>).</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="8f232f53f7"><code>8f232f5</code></a> Bump version to 4.8.1.</li>
<li><a href="99ae863371"><code>99ae863</code></a> Skip to generate shadowOf for ShadowBackdropFrameRenderer</li>
<li>See full diff in <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.8...robolectric-4.8.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.robolectric:robolectric&package-manager=gradle&previous-version=4.8&new-version=4.8.1)](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/3707

Reviewed By: timur-valiev

Differential Revision: D36371191

Pulled By: mweststrate

fbshipit-source-id: 7628698cdfc37152d3a1e20613c0ff360f2ca30a
2022-05-23 07:29:26 -07:00
dependabot[bot]
5ccf7b3d06 Bump jest from 28.0.3 to 28.1.0 in /js/js-flipper (#3711)
Summary:
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 28.0.3 to 28.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/jest/releases">jest's releases</a>.</em></p>
<blockquote>
<h2>v28.1.0</h2>
<h2>Features</h2>
<ul>
<li><code>[jest-circus]</code> Add <code>failing</code> test modifier that inverts the behaviour of tests (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12610">#12610</a>)</li>
<li><code>[jest-environment-node, jest-environment-jsdom]</code> Allow specifying <code>customExportConditions</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12774">#12774</a>)</li>
</ul>
<h2>Fixes</h2>
<ul>
<li><code>[expect]</code> Adjust typings of <code>lastCalledWith</code>, <code>nthCalledWith</code>, <code>toBeCalledWith</code> matchers to allow a case there a mock was called with no arguments (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12807">#12807</a>)</li>
<li><code>[jest/expect-utils]</code> Fix deep equality of ImmutableJS Lists (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12763">#12763</a>)</li>
<li><code>[jest-core]</code> Do not collect <code>SIGNREQUEST</code> as open handles (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12789">#12789</a>)</li>
</ul>
<h2>Chore &amp; Maintenance</h2>
<ul>
<li><code>[docs]</code> Specified documentation about <code>--filter</code> CLI docs (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12799">#12799</a>)</li>
<li><code>[jest-reporters]</code> Move helper functions from <code>utils.ts</code> into separate files (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12782">#12782</a>)</li>
<li><code>[jest-resolve]</code> Replace <code>process.versions.pnp</code> type declaration with <code>types/pnpapi</code> devDependency (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12783">#12783</a>)</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/romellem"><code>@​romellem</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12763">facebook/jest#12763</a></li>
<li><a href="https://github.com/cristianrgreco"><code>@​cristianrgreco</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12789">facebook/jest#12789</a></li>
<li><a href="https://github.com/rethab"><code>@​rethab</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12791">facebook/jest#12791</a></li>
<li><a href="https://github.com/gramsco"><code>@​gramsco</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12799">facebook/jest#12799</a></li>
<li><a href="https://github.com/michalwarda"><code>@​michalwarda</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12610">facebook/jest#12610</a></li>
<li><a href="https://github.com/mikemaccana"><code>@​mikemaccana</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12809">facebook/jest#12809</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/jest/compare/v28.0.3...v28.1.0">https://github.com/facebook/jest/compare/v28.0.3...v28.1.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/facebook/jest/blob/main/CHANGELOG.md">jest's changelog</a>.</em></p>
<blockquote>
<h2>28.1.0</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-circus]</code> Add <code>failing</code> test modifier that inverts the behaviour of tests (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12610">#12610</a>)</li>
<li><code>[jest-environment-node, jest-environment-jsdom]</code> Allow specifying <code>customExportConditions</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12774">#12774</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[expect]</code> Adjust typings of <code>lastCalledWith</code>, <code>nthCalledWith</code>, <code>toBeCalledWith</code> matchers to allow a case there a mock was called with no arguments (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12807">#12807</a>)</li>
<li><code>[jest/expect-utils]</code> Fix deep equality of ImmutableJS Lists (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12763">#12763</a>)</li>
<li><code>[jest-core]</code> Do not collect <code>SIGNREQUEST</code> as open handles (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12789">#12789</a>)</li>
</ul>
<h3>Chore &amp; Maintenance</h3>
<ul>
<li><code>[docs]</code> Specified documentation about <code>--filter</code> CLI docs (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12799">#12799</a>)</li>
<li><code>[jest-reporters]</code> Move helper functions from <code>utils.ts</code> into separate files (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12782">#12782</a>)</li>
<li><code>[jest-resolve]</code> Replace <code>process.versions.pnp</code> type declaration with <code>types/pnpapi</code> devDependency (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12783">#12783</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="f5db241312"><code>f5db241</code></a> v28.1.0</li>
<li>See full diff in <a href="https://github.com/facebook/jest/commits/v28.1.0/packages/jest">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=jest&package-manager=npm_and_yarn&previous-version=28.0.3&new-version=28.1.0)](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/3711

Reviewed By: timur-valiev

Differential Revision: D36371200

Pulled By: mweststrate

fbshipit-source-id: 9c2379650acda033b991e3fa0a5980ee3a66ed45
2022-05-23 07:29:26 -07:00
dependabot[bot]
8ce64bbec4 Bump yargs from 17.2.1 to 17.4.1 in /desktop (#3714)
Summary:
Bumps [yargs](https://github.com/yargs/yargs) from 17.2.1 to 17.4.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/yargs/yargs/blob/main/CHANGELOG.md">yargs's changelog</a>.</em></p>
<blockquote>
<h3><a href="https://github.com/yargs/yargs/compare/v17.4.0...v17.4.1">17.4.1</a> (2022-04-09)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>coerce pollutes argv (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2161">https://github.com/facebook/flipper/issues/2161</a>) (<a href="2d1136d303">2d1136d</a>)</li>
<li><strong>completion:</strong> don't show positional args choices with option choices (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2148">https://github.com/facebook/flipper/issues/2148</a>) (<a href="b58b5bc2cd">b58b5bc</a>)</li>
<li>hide hidden options from completion (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2143">https://github.com/facebook/flipper/issues/2143</a>) (<a href="e086dfad7f">e086dfa</a>), closes <a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2142">https://github.com/facebook/flipper/issues/2142</a></li>
<li>show message when showHelpOnFail is chained globally (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2154">https://github.com/facebook/flipper/issues/2154</a>) (<a href="ad9fcacb00">ad9fcac</a>)</li>
</ul>
<h2><a href="https://github.com/yargs/yargs/compare/v17.3.1...v17.4.0">17.4.0</a> (2022-03-19)</h2>
<h3>Features</h3>
<ul>
<li><strong>completion:</strong> choices will now work for all possible aliases of an option and not just the default long option (<a href="30edd50671">30edd50</a>)</li>
<li><strong>completion:</strong> positional arguments completion (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2090">https://github.com/facebook/flipper/issues/2090</a>) (<a href="00e4ebbe3a">00e4ebb</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li><strong>completion:</strong> changed the check for option arguments to match options that begin with '-', instead of '--', to include short options (<a href="30edd50671">30edd50</a>)</li>
<li><strong>completion:</strong> fix for completions that contain non-leading hyphens (<a href="30edd50671">30edd50</a>)</li>
<li>failed command usage string is missing arg descriptions and optional args (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2105">https://github.com/facebook/flipper/issues/2105</a>) (<a href="d6e342d8ef">d6e342d</a>)</li>
<li>wrap unknown args in quotes (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2092">https://github.com/facebook/flipper/issues/2092</a>) (<a href="6a2977867b">6a29778</a>)</li>
</ul>
<h3><a href="https://github.com/yargs/yargs/compare/v17.3.0...v17.3.1">17.3.1</a> (2021-12-23)</h3>
<h3>Bug Fixes</h3>
<ul>
<li><strong>translations:</strong> correct Korean translation (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2095">https://github.com/facebook/flipper/issues/2095</a>) (<a href="c7c2b9eb34">c7c2b9e</a>)</li>
</ul>
<h2><a href="https://github.com/yargs/yargs/compare/v17.2.1...v17.3.0">17.3.0</a> (2021-11-30)</h2>
<h3>Features</h3>
<ul>
<li>fallback to default bash completion (<a href="74c0ba5cfc">74c0ba5</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>avoid legacy accessors (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2013">https://github.com/facebook/flipper/issues/2013</a>) (<a href="adb0d11e02">adb0d11</a>)</li>
<li><strong>deps:</strong> update dependency yargs-parser to v21 (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2063">https://github.com/facebook/flipper/issues/2063</a>) (<a href="76c19518d7">76c1951</a>)</li>
<li>don't fail if &quot;fileURLToPath(import.meta.url)&quot; throws (<a href="3a44796c84">3a44796</a>)</li>
<li>re-add options to check callback (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2079">https://github.com/facebook/flipper/issues/2079</a>) (<a href="e75319d991">e75319d</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="be525157f3"><code>be52515</code></a> chore(main): release 17.4.1 (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2147">https://github.com/facebook/flipper/issues/2147</a>)</li>
<li><a href="2d1136d303"><code>2d1136d</code></a> fix: coerce pollutes argv (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2161">https://github.com/facebook/flipper/issues/2161</a>)</li>
<li><a href="ad9fcacb00"><code>ad9fcac</code></a> fix: show message when showHelpOnFail is chained globally (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2154">https://github.com/facebook/flipper/issues/2154</a>)</li>
<li><a href="b58b5bc2cd"><code>b58b5bc</code></a> fix(completion): don't show positional args choices with option choices (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2148">https://github.com/facebook/flipper/issues/2148</a>)</li>
<li><a href="0bb49c3d86"><code>0bb49c3</code></a> samples: event.keyCode is deprecated, use new <code>.code</code> API (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2125">https://github.com/facebook/flipper/issues/2125</a>)</li>
<li><a href="e086dfad7f"><code>e086dfa</code></a> fix: hide hidden options from completion (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2143">https://github.com/facebook/flipper/issues/2143</a>)</li>
<li><a href="bcd59f1715"><code>bcd59f1</code></a> chore(main): release 17.4.0 (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2108">https://github.com/facebook/flipper/issues/2108</a>)</li>
<li><a href="3cbc38ccbf"><code>3cbc38c</code></a> docs: fix hyphenation (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2141">https://github.com/facebook/flipper/issues/2141</a>)</li>
<li><a href="00e4ebbe3a"><code>00e4ebb</code></a> feat(completion): positional arguments completion (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2090">https://github.com/facebook/flipper/issues/2090</a>)</li>
<li><a href="c0661643fc"><code>c066164</code></a> docs: an example using inquirer prompting (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2114">https://github.com/facebook/flipper/issues/2114</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/yargs/yargs/compare/v17.2.1...v17.4.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=yargs&package-manager=npm_and_yarn&previous-version=17.2.1&new-version=17.4.1)](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/3714

Reviewed By: timur-valiev

Differential Revision: D36371211

Pulled By: mweststrate

fbshipit-source-id: 8a67df778d5d4cb3c314eaf1463d9437fe4261bb
2022-05-23 07:29:26 -07:00
dependabot[bot]
f2279f62c5 Bump ws from 8.5.0 to 8.6.0 in /desktop (#3708)
Summary:
Bumps [ws](https://github.com/websockets/ws) from 8.5.0 to 8.6.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/websockets/ws/releases">ws's releases</a>.</em></p>
<blockquote>
<h2>8.6.0</h2>
<h1>Features</h1>
<ul>
<li>Add the ability to remove confidential headers on a per-redirect basis (<a href="https://github-redirect.dependabot.com/websockets/ws/issues/2030">https://github.com/facebook/flipper/issues/2030</a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="ba214d9693"><code>ba214d9</code></a> [dist] 8.6.0</li>
<li><a href="8e3f1181f2"><code>8e3f118</code></a> [feature] Introduce the <code>'redirect'</code> event (<a href="https://github-redirect.dependabot.com/websockets/ws/issues/2030">https://github.com/facebook/flipper/issues/2030</a>)</li>
<li><a href="69e682806d"><code>69e6828</code></a> [ci] Test on node 18</li>
<li><a href="0b6eb71665"><code>0b6eb71</code></a> [ci] Do not test on node 17</li>
<li><a href="d062ded622"><code>d062ded</code></a> [example] Fix require path</li>
<li><a href="2cf6202f8a"><code>2cf6202</code></a> [example] Use the <code>WebSocket.WebSocket{,Server}</code> aliases</li>
<li><a href="62e9b199ad"><code>62e9b19</code></a> [doc] Fix nits</li>
<li><a href="2619c003ce"><code>2619c00</code></a> [minor] Fix nit in comment</li>
<li><a href="d086f4bcbb"><code>d086f4b</code></a> [minor] Make <code>abortHandshake()</code> emit the error in the next tick</li>
<li><a href="ff80d665f9"><code>ff80d66</code></a> [test] Do not use a relative URL</li>
<li>Additional commits viewable in <a href="https://github.com/websockets/ws/compare/8.5.0...8.6.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ws&package-manager=npm_and_yarn&previous-version=8.5.0&new-version=8.6.0)](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/3708

Reviewed By: timur-valiev

Differential Revision: D36371198

Pulled By: mweststrate

fbshipit-source-id: df9befdb3f95be2b8c564f87287bd8621e3a0c59
2022-05-23 07:29:26 -07:00
Pascal Hartig
ed454d876d Upgrade indicatif
Summary: Upgrade to indicatif 0.16 and remove this as an exposed dep in the third-party repo.

Reviewed By: aigoncharov

Differential Revision: D36591356

fbshipit-source-id: e3e3d67f8522b94861b34422606b85afbebf669b
2022-05-23 04:55:24 -07:00
Andrey Goncharov
e639055fc4 Enable headless mode for the tic-tac-toe plugin
Reviewed By: passy

Differential Revision: D36517761

fbshipit-source-id: 0db933d825434da90e814054db531038ea93d610
2022-05-23 03:38:23 -07:00
Andrey Goncharov
17b2e9d375 Connect companion events to Flipper Server
Reviewed By: passy

Differential Revision: D36517762

fbshipit-source-id: c6318b1b0705d1e6cbcf73973e2d6c9196914491
2022-05-23 03:38:23 -07:00
Andrey Goncharov
4f9ceb2e22 Implement subscribing to data updates for Flipper Server Companion
Summary: Allow subscribing to state updates from the plugin in headless mode

Reviewed By: passy

Differential Revision: D36516754

fbshipit-source-id: 14db51243e1d91332a7327c1792412149339f907
2022-05-23 03:38:23 -07:00
Andrey Goncharov
e40981ee2e Expose isAtom from flipper-plugin
Summary: Required for companion in later diffs

Reviewed By: passy

Differential Revision: D36517737

fbshipit-source-id: ad47ae00cc88f424507284553c7d4eb430691311
2022-05-23 03:38:23 -07:00
Anton Nikolaev
9abce2f48e Upgrade dependencies in js-flipper
Summary: Upgraded npm deps to calm down dependabot

Reviewed By: passy

Differential Revision: D36513979

fbshipit-source-id: d5b25b7f95ddc04d54113bd6292920423a4f77ad
2022-05-20 11:36:13 -07:00
dependabot[bot]
e7332b24f0 Bump react-native-flipper from 0.144.0 to 0.146.0 in /react-native/ReactNativeFlipperExample (#3741)
Summary:
Bumps [react-native-flipper](https://github.com/facebook/flipper) from 0.144.0 to 0.146.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/flipper/releases">react-native-flipper's releases</a>.</em></p>
<blockquote>
<h2>v0.146.0</h2>
<p>See <a href="https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md">https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md</a>
for full notes.</p>
<h2>v0.145.0</h2>
<p>See <a href="https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md">https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md</a>
for full notes.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="47238f0d7d"><code>47238f0</code></a> Flipper Release: v0.146.0</li>
<li><a href="0f038218f8"><code>0f03821</code></a> Share uuid</li>
<li><a href="88bc3110a5"><code>88bc311</code></a> Add server add-on documentation</li>
<li><a href="76d4f01934"><code>76d4f01</code></a> js-publishing.mdx (Creating Plugins - Publishing)</li>
<li><a href="78d395ad51"><code>78d395a</code></a> loading-custom-plugins.mdx (Creating Plugins - Dynamically Loading Plugins)</li>
<li><a href="f31011fd6c"><code>f31011f</code></a> ios.mdx (Creating Plugins - Building an iOS Plugin)</li>
<li><a href="47c1b7e464"><code>47c1b7e</code></a> Android.mdx (Creating Plugins - Building an Android Plugin)</li>
<li><a href="810e5840c6"><code>810e584</code></a> Remove stale TODO</li>
<li><a href="eabc1c556e"><code>eabc1c5</code></a> Extract flipper server instantiation</li>
<li><a href="23b551c8bf"><code>23b551c</code></a> Host and port as function args</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/flipper/compare/v0.144.0...v0.146.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-native-flipper&package-manager=npm_and_yarn&previous-version=0.144.0&new-version=0.146.0)](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/3741

Reviewed By: passy

Differential Revision: D36549108

Pulled By: nikoant

fbshipit-source-id: 19ef8e0197ad97f2f4c59fdebf3fbe67ff665375
2022-05-20 10:22:24 -07:00
Andrey Goncharov
29eae00309 Blog post "Headless Flipper - what it means for plugin developers"
Reviewed By: passy, antonk52

Differential Revision: D36480939

fbshipit-source-id: dacbdb1af4382e9b52de79403e6aea9a0c740b1c
2022-05-20 09:47:22 -07:00
Flipper Bot
34579ae266 Flipper Snapshot Bump: v0.146.2-SNAPSHOT
Summary: Releasing snapshot version 0.146.2-SNAPSHOT

Reviewed By: aigoncharov

Differential Revision: D36543494

fbshipit-source-id: 749180eb5ce5f594ce5fe05a3fb1c3b641f6a92d
2022-05-20 08:46:00 -07:00
Flipper Bot
8bbc3fda69 Flipper Release: v0.146.1
Summary: Releasing version 0.146.1

Reviewed By: aigoncharov

Differential Revision: D36543493

fbshipit-source-id: 0eaf1e3c4cb51440aa8d22cbe721dc44938c9246
2022-05-20 08:46:00 -07:00
Pascal Hartig
02adfa79e9 Add sourcemap support to server build
Summary:
Provide the same build parameters as for the main build and move
the two bundles to a folder where we can pick them up.

For consistency, I'm keeping the naming scheme with the main build.

Reviewed By: antonk52

Differential Revision: D36521046

fbshipit-source-id: 9ea992d6e5dc299d88083d751ca8e84eadb1430b
2022-05-20 04:04:06 -07:00
Kevin Strider
3dbd3f43e1 sandy-migration.mdx (Creating Plugins - Migrating a Plugin to Sandy)
Summary: Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: nikoant

Differential Revision: D36516592

fbshipit-source-id: c8f7ffe8ae26a5e741ae818a55b14cc3e35193ff
2022-05-20 03:55:28 -07:00
Kevin Strider
55137371f3 plugin-distribution (Creating Plugins - Plugin Distribution)
Summary:
Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).
* plugin-distribution
* imports: desktop-plugin-releases

Reviewed By: nikoant

Differential Revision: D36514954

fbshipit-source-id: cf350d30c049bc7daeef1af3f988ce3b6a2fb502
2022-05-20 03:53:24 -07:00
Muzammil Mahmood
ec6f732b09 Prevent TypeError exception on missing column.
Summary: Fix a TypeError exception in TableHead.tsx when an ordered column is not present in the row.

Reviewed By: aigoncharov

Differential Revision: D36497494

fbshipit-source-id: 18c961468fc2bc3cca16290fd9e6c973e5e18ebf
2022-05-20 02:54:00 -07:00
Andrey Goncharov
a7b148fcc2 Refactor tic-tac-toe plugin to Sandy architecture
Summary:
CHANGELOG: Refactor tic-tac-toe plugin to Sandy architecture

Sandy architecture unblocks using the plugin in a headless mode. Eventual goal - platy tic-tac-toe form a terminal

Reviewed By: passy

Differential Revision: D36513795

fbshipit-source-id: 5a967a325cfb52cc3ae72840240b22b0a4e8f031
2022-05-19 09:13:33 -07:00
Anton Nikolaev
566f7108c9 Troubleshooting docs structure refactored
Summary: Troubleshooting docs structure refactored. This should fix publishing of docs on GitHub which is currently failing, because of link to fb-only page from public page: https://github.com/facebook/flipper/actions/runs/2351680003.

Reviewed By: passy

Differential Revision: D36513180

fbshipit-source-id: c0339d437f560464e771e46dfc0a55782faf6a54
2022-05-19 07:43:09 -07:00
facebook-flipper-bot
2704ce5a8e Automated: Update Podfile.lock (#3736)
Summary:
This is an automated PR to update the Podfile.lock.
- Make sure that the Podfile.lock contains latest FlipperKit and Flipper pod versions.
- Also make sure that all the dependencies are updated to the latest one.
- This is auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request)

Pull Request resolved: https://github.com/facebook/flipper/pull/3736

Test Plan:
Imported from GitHub, without a `Test Plan:` line.

**Static Docs Preview: flipper**
|[Full Site](https://our.intern.facebook.com/intern/staticdocs/eph/D36513699/V2/flipper/)|

|**Modified Pages**|
|[docs/getting-started/ios-native](https://our.intern.facebook.com/intern/staticdocs/eph/D36513699/V2/flipper/docs/getting-started/ios-native/)|

Reviewed By: passy

Differential Revision: D36513699

Pulled By: nikoant

fbshipit-source-id: 96442180142366984e0fcff8926cf3870f79197a
2022-05-19 07:16:08 -07:00
Kevin Strider
81d21c6e8b new sub-folder 'Building a Desktop Plugin' (Creating Plugins)
Summary:
Major changes to js-custom.mdx

The content for the following pages is moved to the new sub-folder 'Building a Desktop Plugin':
* js-custom.mdx
* js-setup.mdx
* js-table.mdx

The Title and Sidebar labels have been changed accordingly.

Changes made to sidebar.js,

Reviewed By: lblasa

Differential Revision: D36415874

fbshipit-source-id: 8f1634abc1459d1905da62a1b76bac4b621d0da5
2022-05-19 04:31:06 -07:00
Kevin Strider
24864d645e testing.mdx (Creating Plugins - Testing)
Summary: Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: nikoant

Differential Revision: D36473819

fbshipit-source-id: 567da4bf86bb18298e45c6a139f86eab7c10dd98
2022-05-19 04:27:59 -07:00
Pascal Hartig
3c3610662a Change build to make use of offline cache
Summary:
pkg-fetch is a bit weird in that it doesn't use the offline cache
if an output path is defined. That makes building in Sandcastle a lot harder.

Reviewed By: lawrencelomax, aigoncharov

Differential Revision: D36485283

fbshipit-source-id: 27596999c69441bc25e341db77b409ed0caaf0fe
2022-05-19 04:14:47 -07:00
Andrey Goncharov
2cff109910 Fix headings for "Desktop Plugin API"
Reviewed By: nikoant

Differential Revision: D36508504

fbshipit-source-id: ece204e5a18d2c98481e21f5c6f0dc42386cf2b5
2022-05-19 02:44:09 -07:00