Skip to content

Upgrade Flow to 0.340.0 (#59961) - #59961

Merged
meta-codesync[bot] merged 1 commit into
react:mainfrom
gkz:export-D131463913
Nov 12, 2026
Merged

meta-codesync[bot] merged 1 commit into
react:mainfrom
gkz:export-D131463913

Conversation

@gkz

@gkz gkz commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

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

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 12, 2026
@meta-codesync

meta-codesync Bot commented Nov 12, 2026

Copy link
Copy Markdown

@gkz has exported this pull request. If you are a Meta employee, you can view the originating Diff in D131463913.

@javache javache left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
@meta-codesync meta-codesync Bot changed the title Deploy 0.340.0 to xplat Deploy 0.340.0 to xplat (#59961) Nov 12, 2026
@gkz
gkz force-pushed the export-D131463913 branch from 4ff72e7 to b1fbf1f Compare November 12, 2026 11:02
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
@meta-codesync meta-codesync Bot changed the title Deploy 0.340.0 to xplat (#59961) Upgrade Flow to 0.340.0 (#59961) Nov 12, 2026
@gkz
gkz force-pushed the export-D131463913 branch from b1fbf1f to 4a25db6 Compare November 12, 2026 11:34
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
gkz force-pushed the export-D131463913 branch from 4a25db6 to 67a3c5c Compare November 12, 2026 11:39
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
gkz force-pushed the export-D131463913 branch from 67a3c5c to fe2d08f Compare November 12, 2026 11:44
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
gkz force-pushed the export-D131463913 branch from fe2d08f to cd40166 Compare November 12, 2026 12:06
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
@meta-codesync
meta-codesync Bot merged commit 6d587e8 into react:main Nov 12, 2026
91 checks passed
@react-native-bot

Copy link
Copy Markdown
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?

@react-native-bot react-native-bot added the Merged This PR has been merged. label Nov 12, 2026
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants