Repository navigation
Upgrade Flow to 0.340.0 (#59961) - #59961
Merged
Merged
Conversation
|
@gkz has exported this pull request. If you are a Meta employee, you can view the originating Diff in D131463913. |
javache
approved these changes
Nov 12, 2026
javache
left a comment
Contributor
There was a problem hiding this comment.
Review automatically exported from Phabricator review in Meta.
gkz
added a commit
to gkz/react-native
that referenced
this pull request
Nov 12, 2026
Summary: Pull Request resolved: react#59961 X-link: react/metro#2222 Upgrade the supported React Native, Metro, and Relay OSS projects from Flow 0.338.0 to 0.340.0 using `xplat/js/scripts/flow/upgrade.sh`. Update their Flow constraints and retained OSS lockfiles, add the released `flow-bin` offline-mirror archive, and add two React Native suppressions required by the new checker. Retarget an existing Metro Node stream override suppression to the diagnostic location used by the new checker, without changing its type signatures. JavaScript runtime code is unchanged. Preserve public registry URLs and the internal workspace’s existing dummy-package resolution. [changelog](https://github.com/facebook/flow/blob/main/Changelog.md) Changelog: [Internal] allow-large-files Differential Revision: D131463913
gkz
force-pushed
the
export-D131463913
branch
from
November 12, 2026 11:02
4ff72e7 to
b1fbf1f
Compare
meta-codesync Bot
pushed a commit
to react/metro
that referenced
this pull request
Nov 12, 2026
Summary: X-link: react/react-native#59961 Pull Request resolved: #2222 Upgrade the supported React Native, Metro, and Relay OSS projects from Flow 0.338.0 to 0.340.0 using `xplat/js/scripts/flow/upgrade.sh`. Update their Flow constraints and retained OSS lockfiles, add the released `flow-bin` offline-mirror archive, and add two React Native suppressions required by the new checker. Retarget an existing Metro Node stream override suppression to the diagnostic location used by the new checker, without changing its type signatures. JavaScript runtime code is unchanged. Preserve public registry URLs and the internal workspace’s existing dummy-package resolution. [changelog](https://github.com/facebook/flow/blob/main/Changelog.md) Changelog: [Internal] allow-large-files Differential Revision: D131463913
meta-codesync Bot
pushed a commit
to react/metro
that referenced
this pull request
Nov 12, 2026
Summary: X-link: react/react-native#59961 Pull Request resolved: #2222 Upgrade the Flow typechecker to 0.340.0 in React Native, Metro, and Relay. Update version constraints and dependency lockfiles, keep the shared Node.js declarations synchronized, and preserve compatibility with the new checker. Runtime behavior and public API signatures are unchanged. [changelog](https://github.com/facebook/flow/blob/main/Changelog.md) Changelog: [Internal] Reviewed By: javache Differential Revision: D131463913
gkz
added a commit
to gkz/react-native
that referenced
this pull request
Nov 12, 2026
Summary: Pull Request resolved: react#59961 X-link: react/metro#2222 Upgrade the Flow typechecker to 0.340.0 in React Native, Metro, and Relay. Update version constraints and dependency lockfiles, keep the shared Node.js declarations synchronized, and preserve compatibility with the new checker. Runtime behavior and public API signatures are unchanged. [changelog](https://github.com/facebook/flow/blob/main/Changelog.md) Changelog: [Internal] Reviewed By: javache Differential Revision: D131463913
gkz
force-pushed
the
export-D131463913
branch
from
November 12, 2026 11:34
b1fbf1f to
4a25db6
Compare
meta-codesync Bot
pushed a commit
to react/metro
that referenced
this pull request
Nov 12, 2026
Summary: X-link: react/react-native#59961 Pull Request resolved: #2222 Upgrade the Flow typechecker to 0.340.0 in React Native, Metro, and Relay. Update version constraints and dependency lockfiles, keep the shared Node.js declarations synchronized, and preserve compatibility with the new checker. Runtime behavior and public API signatures are unchanged. [changelog](https://github.com/facebook/flow/blob/main/Changelog.md) Changelog: [Internal] Reviewed By: javache Differential Revision: D131463913
gkz
added a commit
to gkz/react-native
that referenced
this pull request
Nov 12, 2026
Summary: Pull Request resolved: react#59961 X-link: react/metro#2222 Upgrade the Flow typechecker to 0.340.0 in React Native, Metro, and Relay. Update version constraints and dependency lockfiles, keep the shared Node.js declarations synchronized, and preserve compatibility with the new checker. Runtime behavior and public API signatures are unchanged. [changelog](https://github.com/facebook/flow/blob/main/Changelog.md) Changelog: [Internal] Reviewed By: javache Differential Revision: D131463913
gkz
force-pushed
the
export-D131463913
branch
from
November 12, 2026 11:39
4a25db6 to
67a3c5c
Compare
gkz
added a commit
to gkz/react-native
that referenced
this pull request
Nov 12, 2026
Summary: X-link: meta/relay#5447 Pull Request resolved: react#59961 X-link: react/metro#2222 Upgrade the Flow typechecker to 0.340.0 in React Native, Metro, and Relay. Update version constraints and dependency lockfiles, keep the shared Node.js declarations synchronized, and preserve compatibility with the new checker. Runtime behavior and public API signatures are unchanged. [changelog](https://github.com/facebook/flow/blob/main/Changelog.md) Changelog: [Internal] Reviewed By: javache Differential Revision: D131463913
gkz
force-pushed
the
export-D131463913
branch
from
November 12, 2026 11:44
67a3c5c to
fe2d08f
Compare
Summary: X-link: meta/relay#5447 Pull Request resolved: react#59961 X-link: react/metro#2222 Upgrade the Flow typechecker to 0.340.0 in React Native, Metro, and Relay. Update version constraints and dependency lockfiles, keep the shared Node.js declarations synchronized, and preserve compatibility with the new checker. Runtime behavior and public API signatures are unchanged. [changelog](https://github.com/facebook/flow/blob/main/Changelog.md) Changelog: [Internal] @public Reviewed By: javache Differential Revision: D131463913
meta-codesync Bot
pushed a commit
to react/metro
that referenced
this pull request
Nov 12, 2026
Summary: X-link: meta/relay#5447 X-link: react/react-native#59961 Pull Request resolved: #2222 Upgrade the Flow typechecker to 0.340.0 in React Native, Metro, and Relay. Update version constraints and dependency lockfiles, keep the shared Node.js declarations synchronized, and preserve compatibility with the new checker. Runtime behavior and public API signatures are unchanged. [changelog](https://github.com/facebook/flow/blob/main/Changelog.md) Changelog: [Internal] @public Reviewed By: javache Differential Revision: D131463913
gkz
force-pushed
the
export-D131463913
branch
from
November 12, 2026 12:06
fe2d08f to
cd40166
Compare
gkz
added a commit
to gkz/relay
that referenced
this pull request
Nov 12, 2026
Summary: Pull Request resolved: meta#5447 X-link: react/react-native#59961 X-link: react/metro#2222 Upgrade the Flow typechecker to 0.340.0 in React Native, Metro, and Relay. Update version constraints and dependency lockfiles, keep the shared Node.js declarations synchronized, and preserve compatibility with the new checker. Runtime behavior and public API signatures are unchanged. [changelog](https://github.com/facebook/flow/blob/main/Changelog.md) Changelog: [Internal] Reviewed By: javache Differential Revision: D131463913
meta-codesync Bot
pushed a commit
to react/metro
that referenced
this pull request
Nov 12, 2026
Summary: X-link: meta/relay#5447 X-link: react/react-native#59961 Upgrade the Flow typechecker to 0.340.0 in React Native, Metro, and Relay. Update version constraints and dependency lockfiles, keep the shared Node.js declarations synchronized, and preserve compatibility with the new checker. Runtime behavior and public API signatures are unchanged. [changelog](https://github.com/facebook/flow/blob/main/Changelog.md) Changelog: [Internal] @public Reviewed By: javache Differential Revision: D131463913 Pull Request resolved: #2222
Collaborator
|
This pull request was successfully merged by @gkz in 6d587e8 When will my fix make it into a release? | How to file a pick request? |
meta-codesync Bot
pushed a commit
to meta/relay
that referenced
this pull request
Nov 12, 2026
Summary: Pull Request resolved: #5447 X-link: react/react-native#59961 X-link: react/metro#2222 Upgrade the Flow typechecker to 0.340.0 in React Native, Metro, and Relay. Update version constraints and dependency lockfiles, keep the shared Node.js declarations synchronized, and preserve compatibility with the new checker. Runtime behavior and public API signatures are unchanged. [changelog](https://github.com/facebook/flow/blob/main/Changelog.md) Changelog: [Internal] Reviewed By: javache Differential Revision: D131463913 fbshipit-source-id: a76cb70581f8294ac6ff6b6abaa002fc93298ca8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
X-link: meta/relay#5447
X-link: react/metro#2222
Upgrade the Flow typechecker to 0.340.0 in React Native, Metro, and Relay.
Update version constraints and dependency lockfiles, keep the shared Node.js declarations synchronized, and preserve compatibility with the new checker. Runtime behavior and public API signatures are unchanged.
changelog
Changelog: [Internal]
@public
Reviewed By: javache
Differential Revision: D131463913