Skip to content

Upgrade Flow to 0.337.0 - #5432

Open
panagosg7 wants to merge 1 commit into
facebook:mainfrom
panagosg7:export-D126755886
Open

panagosg7 wants to merge 1 commit into
facebook:mainfrom
panagosg7:export-D126755886

Conversation

@panagosg7

@panagosg7 panagosg7 commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Reviewed By: SamChou19815

Differential Revision: D126755886

@meta-cla meta-cla Bot added the CLA Signed label Oct 21, 2026
@meta-codesync

meta-codesync Bot commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

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

meta-codesync Bot pushed a commit to react/metro that referenced this pull request Oct 21, 2026
Summary:
X-link: facebook/relay#5432

Upgrade Flow to 0.337.0 across Metro, React Native, and Relay. Add targeted suppressions for newly surfaced errors and sync Relay's rustfmt toolchain.

X-link: react/react-native#59326

Pull Request resolved: #2086

[changelog](https://github.com/facebook/flow/blob/main/Changelog.md)

Changelog: [Internal]

Reviewed By: SamChou19815

Differential Revision: D126755886
panagosg7 added a commit to panagosg7/react-native that referenced this pull request Oct 21, 2026
Summary:
X-link: facebook/relay#5432

Upgrade Flow to 0.337.0 across Metro, React Native, and Relay. Add targeted suppressions for newly surfaced errors and sync Relay's rustfmt toolchain.

Pull Request resolved: react#59326

X-link: react/metro#2086

[changelog](https://github.com/facebook/flow/blob/main/Changelog.md)

Changelog: [Internal]

Reviewed By: SamChou19815

Differential Revision: D126755886
meta-codesync Bot pushed a commit to react/metro that referenced this pull request Oct 22, 2026
Summary:
X-link: facebook/relay#5432

Upgrade Flow to 0.337.0 across Metro, React Native, and Relay. Flow 0.337 no longer special-cases `invariant`, so give `invariant` an `asserts` signature in the Metro and Relay Flow configs, matching React Native. Add targeted suppressions for the remaining new Flow 0.337 errors.

X-link: react/react-native#59326

Pull Request resolved: #2086

[changelog](https://github.com/facebook/flow/blob/main/Changelog.md)

Changelog: [Internal]

Reviewed By: SamChou19815

Differential Revision: D126755886
panagosg7 added a commit to panagosg7/react-native that referenced this pull request Oct 22, 2026
Summary:
X-link: facebook/relay#5432

Upgrade Flow to 0.337.0 across Metro, React Native, and Relay. Flow 0.337 no longer special-cases `invariant`, so give `invariant` an `asserts` signature in the Metro and Relay Flow configs, matching React Native. Add targeted suppressions for the remaining new Flow 0.337 errors.

Pull Request resolved: react#59326

X-link: react/metro#2086

[changelog](https://github.com/facebook/flow/blob/main/Changelog.md)

Changelog: [Internal]

Reviewed By: SamChou19815

Differential Revision: D126755886
panagosg7 added a commit to panagosg7/relay that referenced this pull request Oct 22, 2026
Summary:
Pull Request resolved: facebook#5432

Upgrade Flow to 0.337.0 across Metro, React Native, and Relay. Flow 0.337 no longer special-cases `invariant`, so give `invariant` an `asserts` signature in the Metro and Relay Flow configs, matching React Native. Add targeted suppressions for the remaining new Flow 0.337 errors.

X-link: react/react-native#59326

X-link: react/metro#2086

[changelog](https://github.com/facebook/flow/blob/main/Changelog.md)

Changelog: [Internal]

Reviewed By: SamChou19815

Differential Revision: D126755886
@meta-codesync meta-codesync Bot changed the title Upgrade Flow to 0.337.0 Upgrade Flow to 0.337.0 (#5432) Oct 22, 2026
meta-codesync Bot pushed a commit to react/metro that referenced this pull request Oct 22, 2026
Summary:
X-link: facebook/relay#5432

Upgrade Flow to 0.337.0 across Metro, React Native, and Relay. Flow 0.337 no longer special-cases `invariant`, so give `invariant` an `asserts` signature in the Metro and Relay Flow configs, matching React Native. Add targeted suppressions for the remaining new Flow 0.337 errors.

X-link: react/react-native#59326

Pull Request resolved: #2086

[changelog](https://github.com/facebook/flow/blob/main/Changelog.md)

Changelog: [Internal]

Reviewed By: SamChou19815

Differential Revision: D126755886
panagosg7 added a commit to panagosg7/react-native that referenced this pull request Oct 22, 2026
Summary:
X-link: facebook/relay#5432

Upgrade Flow to 0.337.0 across Metro, React Native, and Relay. Flow 0.337 no longer special-cases `invariant`, so give `invariant` an `asserts` signature in the Metro and Relay Flow configs, matching React Native. Add targeted suppressions for the remaining new Flow 0.337 errors.

Pull Request resolved: react#59326

X-link: react/metro#2086

[changelog](https://github.com/facebook/flow/blob/main/Changelog.md)

Changelog: [Internal]

Reviewed By: SamChou19815

Differential Revision: D126755886
@meta-codesync meta-codesync Bot changed the title Upgrade Flow to 0.337.0 (#5432) Upgrade Flow to 0.337.0 Oct 22, 2026
meta-codesync Bot pushed a commit to react/metro that referenced this pull request Oct 22, 2026
Summary:
X-link: facebook/relay#5432

Upgrade Flow to 0.337.0 across Metro, React Native, and Relay. Flow 0.337 no longer special-cases `invariant`, so give `invariant` an `asserts` signature in the Metro and Relay Flow configs, matching React Native. Add targeted suppressions for the remaining new Flow 0.337 errors.

X-link: react/react-native#59326

Pull Request resolved: #2086

[changelog](https://github.com/facebook/flow/blob/main/Changelog.md)

Changelog: [Internal]

Reviewed By: SamChou19815

Differential Revision: D126755886
panagosg7 added a commit to panagosg7/react-native that referenced this pull request Oct 22, 2026
Summary:
X-link: facebook/relay#5432

Upgrade Flow to 0.337.0 across Metro, React Native, and Relay. Flow 0.337 no longer special-cases `invariant`, so give `invariant` an `asserts` signature in the Metro and Relay Flow configs, matching React Native. Add targeted suppressions for the remaining new Flow 0.337 errors.

Pull Request resolved: react#59326

X-link: react/metro#2086

[changelog](https://github.com/facebook/flow/blob/main/Changelog.md)

Changelog: [Internal]

Reviewed By: SamChou19815

Differential Revision: D126755886
@panagosg7
panagosg7 force-pushed the export-D126755886 branch 2 times, most recently from bddc1d6 to 130cdcb Compare October 22, 2026 20:40
Reviewed By: SamChou19815

Differential Revision: D126755886
meta-codesync Bot pushed a commit to react/metro that referenced this pull request Oct 23, 2026
Summary:
X-link: facebook/relay#5432

Upgrade Flow to 0.337.0 across Metro, React Native, and Relay. Flow 0.337 no longer special-cases `invariant`, so give `invariant` an `asserts` signature in the Metro and Relay Flow configs, matching React Native. Add targeted suppressions for the remaining new Flow 0.337 errors.

X-link: react/react-native#59326

Pull Request resolved: #2086

[changelog](https://github.com/facebook/flow/blob/main/Changelog.md)

Changelog: [Internal]

Reviewed By: SamChou19815

Differential Revision: D126755886
panagosg7 added a commit to panagosg7/react-native that referenced this pull request Oct 23, 2026
Summary:
X-link: facebook/relay#5432

Upgrade Flow to 0.337.0 across Metro, React Native, and Relay. Flow 0.337 no longer special-cases `invariant`, so give `invariant` an `asserts` signature in the Metro and Relay Flow configs, matching React Native. Add targeted suppressions for the remaining new Flow 0.337 errors.

Pull Request resolved: react#59326

X-link: react/metro#2086

[changelog](https://github.com/facebook/flow/blob/main/Changelog.md)

Changelog: [Internal]

Reviewed By: SamChou19815

Differential Revision: D126755886
meta-codesync Bot pushed a commit to react/metro that referenced this pull request Oct 23, 2026
Summary:
X-link: facebook/relay#5432

Upgrade Flow to 0.337.0 across Metro, React Native, and Relay. Flow 0.337 no longer special-cases `invariant`, so give `invariant` an `asserts` signature in the Metro and Relay Flow configs, matching React Native. Add targeted suppressions for the remaining new Flow 0.337 errors.

X-link: react/react-native#59326


[changelog](https://github.com/facebook/flow/blob/main/Changelog.md)

Changelog: [Internal]

Reviewed By: SamChou19815

Differential Revision: D126755886

Pull Request resolved: #2086
meta-codesync Bot pushed a commit to react/react-native that referenced this pull request Oct 23, 2026
Summary:
X-link: facebook/relay#5432

Upgrade Flow to 0.337.0 across Metro, React Native, and Relay. Flow 0.337 no longer special-cases `invariant`, so give `invariant` an `asserts` signature in the Metro and Relay Flow configs, matching React Native. Add targeted suppressions for the remaining new Flow 0.337 errors.

Pull Request resolved: #59326

X-link: react/metro#2086

[changelog](https://github.com/facebook/flow/blob/main/Changelog.md)

Changelog: [Internal]

Reviewed By: SamChou19815

Differential Revision: D126755886

fbshipit-source-id: 85202c7cee4b42f5a491155e12a2d809803f1224

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant