Skip to content

Deploy 0.341.0 to xplat (#60165) - #60165

Open
panagosg7 wants to merge 1 commit into
react:mainfrom
panagosg7:export-D133315654
Open

panagosg7 wants to merge 1 commit into
react:mainfrom
panagosg7:export-D133315654

Conversation

@panagosg7

@panagosg7 panagosg7 commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary:
X-link: meta/relay#5459

X-link: react/metro#2255

changelog

Library definitions

Flow 0.341.0 rejects the explicit exact object syntax {| |} and unnamed function type parameters, and checks type applications inside generic definitions. Relay's flow-typed/ definitions for Babel, chalk and Jest now write exact objects as { } (objects are exact by default, so the meaning is unchanged), and the second parameter of Babel's traverse is named. In the shared child_process definition used by Metro and React Native, MaybeStream infers E from the optional stdio option, so E includes void; its indexed accesses now read NonNullable<E>[FD].

Changelog: [Internal]

Reviewed By: SamChou19815

Differential Revision: D133315654

@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 19, 2026
@meta-codesync

meta-codesync Bot commented Nov 19, 2026

Copy link
Copy Markdown

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

Summary:
X-link: meta/relay#5459

Pull Request resolved: react#60165

X-link: react/metro#2255

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

## Library definitions

Flow 0.341.0 rejects the explicit exact object syntax `{| |}` and unnamed function type parameters, and checks type applications inside generic definitions. Relay's `flow-typed/` definitions for Babel, chalk and Jest now write exact objects as `{ }` (objects are exact by default, so the meaning is unchanged), and the second parameter of Babel's `traverse` is named. In the shared `child_process` definition used by Metro and React Native, `MaybeStream` infers `E` from the optional `stdio` option, so `E` includes `void`; its indexed accesses now read `NonNullable<E>[FD]`.

Changelog: [Internal]

Reviewed By: SamChou19815

Differential Revision: D133315654
@meta-codesync meta-codesync Bot changed the title Deploy 0.341.0 to xplat Deploy 0.341.0 to xplat (#60165) Nov 19, 2026

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

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants