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 < 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 < 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 >= 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 />
[](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
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 />
[](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
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 />
[](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
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
Summary: Allow subscribing to state updates from the plugin in headless mode
Reviewed By: passy
Differential Revision: D36516754
fbshipit-source-id: 14db51243e1d91332a7327c1792412149339f907
Summary: Required for companion in later diffs
Reviewed By: passy
Differential Revision: D36517737
fbshipit-source-id: ad47ae00cc88f424507284553c7d4eb430691311
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 />
[](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
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
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
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
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
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
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
Summary: Seems to have improvements to the cache which we need in Sandcastle
Reviewed By: lawrencelomax
Differential Revision: D36483459
fbshipit-source-id: 4dfe1dcccddd21c3966508b1260644630c1082f5
Summary: Change to Sidebar label and Title
Reviewed By: nikoant
Differential Revision: D36475587
fbshipit-source-id: 425deb13d67965c433773563718365403097cb37
Summary: Expose uuid from flipper-common as it is required in multiple packages
Reviewed By: lblasa
Differential Revision: D36441889
fbshipit-source-id: 1fa539cb437976dbefe7d5d9a52e5e098a6402a7
Summary: Minor change to end of the page.
Reviewed By: passy
Differential Revision: D36411396
fbshipit-source-id: 204bfb54a4f36e5472fa164daeed3f106abe22a8
Summary: Minor change to end of the page.
Reviewed By: lblasa
Differential Revision: D36411616
fbshipit-source-id: 2792144d89bd657c457b8f5ff685d200c5f8c946
Summary:
^
This is a very small refactoring and addition to the Flipper Desktop app.
The instantiation of FlipperServer was extracted to a separate function.
This a very tiny change that allows to switch the implementation we use for FlipperServer in a more convenient way.
In this same change, an unused function is added which will create a separate FlipperServer instance that uses a web-socket underneath which makes it possible to use with flipper-server.
So, if interested, it is enough to call that function instead of the one currently in use and it will make Flipper connect to flipper-server instead.
https://pxl.cl/24j8R
Reviewed By: passy
Differential Revision: D36440574
fbshipit-source-id: 94ea2ab7208b898a82ac5e7fd7edd9cb824b4810
Summary:
^
Before this change, the client assumed the host and port came from location.host which is fine on the browser.
In all other cases, that object/properties may be undefined.
As such, add host and port as function args and use that instead.
Reviewed By: passy
Differential Revision: D36440423
fbshipit-source-id: 5f931f1d610d583db6a2e549e1213585f0d03dee
Summary:
^
flipper-server verifies the origin of incoming connections as a way of preventing any host from connecting to flipper.
That's good.
This change expand the list of allowed origins to include localhost:3000 which is the default origin for Electron apps.
Error without this change:
```
Refused socket connection from cross domain request, origin: http://localhost:3000, host: localhost:52342. Expected origins: http://localhost:52342 or http://[::1]:52342 or http://::1:52342. Expected hosts: localhost:52342 or [::1]:52342 or ::1:52342
```
Reviewed By: passy
Differential Revision: D36440363
fbshipit-source-id: 883cadb49f245bca5d0a53a4f58c08cf45dd0189
Summary:
^
I noticed this issue whilst using the Desktop app connected to flipper-server.
So, Flipper Desktop should run as usual with icons being displayed. If connected to flipper-server, behaviour should be the same.
https://pxl.cl/24j73
Reviewed By: passy
Differential Revision: D36440268
fbshipit-source-id: 4c79852d94c8bde95c6e82e2a56bef35a337599d