Commit Graph
1614 Commits
Author SHA1 Message Date
Rubén Norte 2bb7dbb499 Add an interactive REPL for Fantom (yarn fantom-cli) (#57387)
Summary:
Pull Request resolved: https://github.com/react/react-native/pull/57387

Adds `yarn fantom-cli`, an interactive REPL that evaluates JavaScript against the same native tester binary and Hermes runtime that Fantom tests run in. State persists across lines, input goes through Metro/Babel (so `import`, JSX and Flow all work), and the environment is set up the same way tests set it up — `React`, `ReactNative` and the `Fantom` API are available globally, so you can render surfaces and drive them interactively from the prompt.

The native tester gains an `--interactive` mode that loads a warm-up bundle without running tests and then evaluates length-prefixed snippets read from stdin, reporting results, console output and errors back as newline-delimited JSON. A Node driver hosts a Metro server, builds the warm-up bundle, spawns the binary, and bridges each line of input into the live runtime (top-level declarations persist across evaluations).

Features:

- Console-style output: results are printed with an inspector similar to the Chrome DevTools / Node.js consoles (nested objects/arrays up to a depth limit, quoted strings, functions/classes, `Map`/`Set`/`RegExp`/`Date`/`Error`, class instances, circular references, multi-line wrapping), colorized by type when stdout is a terminal. Inspecting a property never aborts the result or leaks into later evaluations: a property whose getter fails renders as `[Thrown: <error>]`, including getters that fail asynchronously through the runtime's global error handler (e.g. accessing a `react-native` export backed by a TurboModule that isn't registered).
- Autocompletion: pressing Tab completes global identifiers, in-scope bindings and object properties (property names are listed without invoking getters).
- Node-like CLI: with no arguments it starts the REPL; `-e <code>` evaluates a snippet and exits; a filename runs that script and exits. In the non-interactive modes the value of a trailing expression is not printed (use `console.log`) and a thrown error exits with a non-zero status code.

Also documents the REPL in the Fantom README.

Changelog: [Internal]

Reviewed By: javache, sammy-SC

Differential Revision: D110187712

fbshipit-source-id: 3e76c498ae04b8b1ce9e0e27e5ce6b6a0cd11e09
2026-07-01 08:18:34 -07:00
Alex Hunt fa371d156d Add macOS 26 icon for RNDT (#57310)
Summary:
Pull Request resolved: https://github.com/react/react-native/pull/57310

Add `AppIcon.icon` file (Icon Composer) for macOS 26 Tahoe. Also rename previous `.icns` file for consistency.

`electron/packager` is updated to `^20.0.0` (`.icon` support was added in `18.4.0`).

**Notes**

- This change ensures the Icon Composer source is part of the codebase (following above Electron packager support which came in March).

Changelog:
[General][Changed] - **React Native DevTools**: Add macOS 26/27 app icon

Reviewed By: robhogan

Differential Revision: D97292364

fbshipit-source-id: ba1c34175a95da8c2860142d9db0c4d98d3f6de0
2026-06-29 03:08:17 -07:00
Alex Hunt ae6a3afb22 Upgrade Metro to ^0.85.0 (#57335)
Summary:
Pull Request resolved: https://github.com/react/react-native/pull/57335

Changelog: [Internal] - Node 22 requirement is synchronised with RN for 0.87

Reviewed By: robhogan

Differential Revision: D109699796

fbshipit-source-id: 642373a6babc37ce3e9bc83676abd0aa09f54a85
2026-06-25 10:31:30 -07:00
Sam Zhou 9ab5dd857b Deploy 0.319.0 to xplat (#57256)
Summary:
Pull Request resolved: https://github.com/react/react-native/pull/57256

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

Reviewed By: gkz

Differential Revision: D108885686

fbshipit-source-id: b31fc3f2987ddb08cbe52daa5e8eef437541c8df
2026-06-17 11:30:47 -07:00
Sam Zhou 2c2d24d415 Deploy 0.318.0 to xplat (#57163)
Summary:
Pull Request resolved: https://github.com/react/react-native/pull/57163

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

Reviewed By: panagosg7

Differential Revision: D108172771

fbshipit-source-id: 9e3bc0d869e297b3b92713783356d0af58d07b91
2026-06-10 12:14:39 -07:00
Nicola Corti 284035b21d Fix security vulnerabilities in transitive dependencies (#57066)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/57066

Add yarn resolutions and update lockfiles to fix security vulnerabilities in five transitive dependencies:

- `xmldom/xmldom` 0.8.10 → 0.8.13 (CVE-2026-41672, XML injection)
- `fast-xml-parser` 4.5.4 → 4.5.6 (CVE-2026-33349, CVE-2026-33036, entity expansion bypass)
- `yaml` 2.5.0/2.8.1 → 2.9.0 (CVE-2026-33532, stack overflow via deep nesting)
- `fast-uri` 3.0.6 → 3.1.2 (CVE-2026-6322, host confusion; CVE-2026-6321, path traversal)
- `addressable` 2.8.5/2.8.7 → 2.9.0 (CVE-2026-35611, ReDoS)

All bumps are within semver range of their parent constraints and are patch or minor version updates.

- Fixes https://github.com/facebook/react-native/pull/56364
- Fixes https://github.com/facebook/react-native/pull/56365
- Fixes https://github.com/facebook/react-native/pull/56570
- Fixes https://github.com/facebook/react-native/pull/56393
- Fixes https://github.com/facebook/react-native/pull/56231
- Fixes https://github.com/facebook/react-native/pull/56741

Changelog:
[General][Security] - Fix security vulnerabilities in `xmldom/xmldom`, `fast-xml-parser`, `yaml`, `fast-uri`, and `addressable` transitive dependencies

Reviewed By: andrewdacenko

Differential Revision: D107405946

fbshipit-source-id: f7af5573a418c973c57d582217ac8bf7f330ba4c
2026-06-04 08:44:29 -07:00
Sam Zhou eedfdefaa2 Deploy 0.317.0 to xplat (#57072)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/57072

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

Reviewed By: bherila

Differential Revision: D107466486

fbshipit-source-id: b42ee310dc6672a7a1b0d7f55201ac4ceba0817c
2026-06-03 21:00:28 -07:00
Sam Zhou be6a7a545e Resolve babel-plugin-syntax-hermes-parser from metro-babel-register to latest (#57033)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/57033

We have [this revert](https://github.com/facebook/react-native/commit/833144fcecf8be72a372c655933a5496b8775d60) because the metro is stuck on an old version of of hermes-parser. The parser is already bumped in the metro source code. Instead of waiting for a new release that's tied to the react native release cycle, let's just bump it here and now via yarn resolution. It can be removed once a new version is cut.

Changelog: [Internal]

Reviewed By: gkz

Differential Revision: D107165685

fbshipit-source-id: 0076418b8062c13f13b2a2c1306fec511a866d11
2026-06-01 21:17:52 -07:00
George Zahariev 57d44a806d Deploy 0.316.0 to xplat (#57012)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/57012

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

Reviewed By: SamChou19815

Differential Revision: D106964682

fbshipit-source-id: 4c87a48ef0a4f626ec603e065975525ccdcb2444
2026-05-31 18:09:05 -07:00
George Zahariev 622941d9dc Deploy 0.315.0 to xplat (#56993)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56993

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

Reviewed By: marcoww6

Differential Revision: D106733740

fbshipit-source-id: baf8a8ab52ca413aa3acfbd3e139675cc2f9d044
2026-05-29 05:10:25 -07:00
Ivor Zhou ef38dbb28d Update hermes-parser and related packages in fbsource to 0.36.1 (#56806)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56806

Pull Request: https://github.com/facebook/react-native/pull/56806

Bump hermes-parser and related packages to 0.36.1.

Changelog: [internal]

Reviewed By: SamChou19815

Differential Revision: D104122338

fbshipit-source-id: 7e938ec114355cf517ff2e76ffbb941f6352d213
2026-05-14 22:13:53 -07:00
Sam Zhou 668ca295ca Deploy 0.314.0 to xplat (#56810)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56810

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

Reviewed By: panagosg7

Differential Revision: D105015188

fbshipit-source-id: e224f3112fa1c4b707fb1485c9474df5c5f6e53a
2026-05-13 10:36:36 -07:00
Alex Hunt 2991a97731 Upgrade TypeScript to ^6.0.3 (#56772)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56772

Upgrades to TypeScript 6.0.3 and updates `typescript-eslint/*` for TS 6.0 compatibility across `react-native` and `metro`.

#### Motivation

TypeScript 6.0 (Mar 2026) will resolve https://github.com/facebook/react-native/issues/53565. Before updating in the React Native CLI template, align in RN and Metro source for consistency.

This is an internal change since:
- This upgrade only applies to TS analysis of these repos' source code.
- Edits to `react-native/typescript-config/tsconfig.json` (which *is* distributed) maintain backwards compatibility.

#### Changes

**react-native**

- Bump `typescript` from `^5.8.3` to `^6.0.3`
- Bump `typescript-eslint/*` from `^8.24.0` to `^8.59.2`
- Replace deprecated `moduleResolution: "node"` with `"node16"` and `target: "es5"` with `"es2015"` in codegen-typescript-test
- Add explicit `types: ["jest", "node"]` where needed (TS 6.0 defaults `types` to `[]`)
- Set `strict: false` in configs that only enable specific strict flags (TS 6.0 defaults `strict` to `true`)
- Update `ModuleResolutionKind.NodeJs` to `Node16` in build config

**metro**

- Bump `typescript` from `5.8.3` to `^6.0.3`
- Bump `typescript-eslint/*` from `^8.36.0` to `^8.59.2`
- No tsconfig changes needed (`tsconfig/node20` preset is already TS 6.0 compatible)

Changelog: [Internal]

Reviewed By: christophpurrer

Differential Revision: D104658690

fbshipit-source-id: 9a2feeb257d5783431941a911b17065fcd0389a5
2026-05-12 17:53:54 -07:00
Riccardo Cipolleschi ac48b56a1a Rename try-set-nightly-hermes-compiler.js (#56758)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56758

Rename scripts/try-set-nightly-hermes-compiler.js to
scripts/try-set-hermes-compiler-prebuilt.js. The script sets the hermes-compiler
version to the latest prebuilt (latest-v1 on npm), not a nightly build.
Update the preinstall script reference in the root package.json.

## Changelog:
[Internal] -

Reviewed By: cortinico

Differential Revision: D104649635

fbshipit-source-id: 8375d0518ea8c9ca99a59fd65366210eeea91e50
2026-05-11 12:55:12 -07:00
Rob Hogan 783f45746e Bump packages to 0.87.0-main following 0.86 cut (#56716)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56716

Now that we've cut 0.86, bump all versions on `main` ready for the 0.87 cut.

Changelog: [Internal]

Reviewed By: cortinico, fabriziocucci

Differential Revision: D104219534

fbshipit-source-id: 86f2ebe5b44f67608a7a9495bf9840f2cdd52e5b
2026-05-07 07:23:06 -07:00
Panos Vekris dd03f889ef Deploy 0.313.0 to xplat (#56712)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56712

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

Reviewed By: SamChou19815, marcoww6

Differential Revision: D104101843

fbshipit-source-id: 57316144950b66c27884c1858645d87ce23ba633
2026-05-06 18:55:49 -07:00
Panos Vekris c4f94c7054 Deploy 0.312.1 to xplat (#56681)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56681

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

Reviewed By: gkz

Differential Revision: D103747946

fbshipit-source-id: dcb0e90a9e6532a4a81fcce4971202affd1b4072
2026-05-05 17:45:15 -07:00
Marco Wang 5ae948ebdf Deploy 0.312.0 to xplat (#56664)
Summary:
X-link: https://github.com/facebook/relay/pull/5266

Pull Request resolved: https://github.com/facebook/react-native/pull/56664

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

Reviewed By: gkz

Differential Revision: D103276599

fbshipit-source-id: 1fa9ee978bb17267f36d782df635dc15ffebf6f7
2026-04-30 18:58:33 -07:00
Marco Wang 0b3df3f382 Update hermes-parser and related packages in fbsource to 0.36.0 (#56662)
Summary:
X-link: https://github.com/facebook/hermes/pull/2003

X-link: https://github.com/facebook/relay/pull/5265

Pull Request resolved: https://github.com/facebook/react-native/pull/56662

X-link: https://github.com/facebook/flow/pull/9405

Bump hermes-parser and related packages to [0.36.0](https://github.com/facebook/hermes/blob/static_h/tools/hermes-parser/js/CHANGELOG.md).

Changelog: [internal]

Reviewed By: SamChou19815

Differential Revision: D103172778

fbshipit-source-id: 81bb5f18da6f46d07955956fb0b721f74cceca47
2026-04-30 15:26:55 -07:00
Marco Wang 1181985999 Update prettier-plugin-hermes-parser in fbsource to 0.36.0
Summary:
X-link: https://github.com/facebook/metro/pull/1704

Bump prettier-plugin-hermes-parser to 0.36.0.

Changelog: [internal]

Reviewed By: gkz

Differential Revision: D103107243

fbshipit-source-id: d28c27d35784a1b53f86dea4473b7783d08ef09f
2026-04-29 20:11:37 -07:00
Moti Zilberman 7128482e49 Bump Metro to ^0.84.3 (#56638)
Summary:
Bumps Metro dependency from `^0.84.2` to `^0.84.3` across all packages.

Metro 0.84.3 adds `changeId` to HMR `update-done` messages, which is required by the `unstable_fastRefreshComplete` CDP event and the Fast Refresh performance marker to deduplicate events across multiple updates for the same file change.

## Changelog:

[Internal]

Pull Request resolved: https://github.com/facebook/react-native/pull/56638

Test Plan:
- CI

cc huntie

Reviewed By: cortinico

Differential Revision: D102810175

Pulled By: motiz88

fbshipit-source-id: b05bc522fd7815f2858ce645b03bdea86a8027ea
2026-04-28 22:50:41 -07:00
Sandeep Kudterkar 11d894ded0 Upgrade lodash 4.17.21 → 4.18.1 (CVE-2026-4800) (#56603)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56603

Upgrade transitive dependency lodash from 4.17.21 to 4.18.1 to remediate CVE-2026-4800 (Improper Control of Generation of Code / Code Injection).

- Added `"lodash": "4.18.1"` to `resolutions` in package.json to force all lodash ranges (including `~4.17.15`) to resolve to 4.18.1
- Updated yarn.lock entry to resolve all lodash ranges to 4.18.1

Without the resolution override, the `~4.17.15` range would stay at 4.17.21 (vulnerable) since `~` only allows patch-level updates and 4.18.1 is a minor bump.

Changelog: [Internal]

Reviewed By: christophpurrer

Differential Revision: D102273666

fbshipit-source-id: d3a17ba480b5d44c048b2b1d814bc3989abcd06a
2026-04-24 13:42:15 -07:00
George Zahariev d11aedd621 Deploy 0.311.0 to xplat (#56589)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56589

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

Reviewed By: bherila, marcoww6, christophpurrer

Differential Revision: D102240969

fbshipit-source-id: 09d0a17cbe135eb9e6bb8e06ea86ee67ab32a73a
2026-04-23 21:29:21 -07:00
Mike Vitousek cb99ee89c7 Deploy 0.310.0 to xplat (#56543)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56543

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

Reviewed By: panagosg7

Differential Revision: D101742377

fbshipit-source-id: 57321dad493b7d17677cf9741d320e42f5ab182d
2026-04-21 15:37:45 -07:00
Marco Wang 7ac759d9ce Update prettier-plugin-hermes-parser in fbsource to 0.35.0 (#56444)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56444

Bump prettier-plugin-hermes-parser to 0.35.0.

Changelog: [internal]

Reviewed By: SamChou19815

Differential Revision: D100850992

fbshipit-source-id: 3bb9386c007e036262b3d4fc92438e3913a12baa
2026-04-14 20:35:24 -07:00
Marco Wang 50768cbb15 Update hermes-parser and related packages in fbsource to 0.35.0 (#56408)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56408

X-link: https://github.com/facebook/relay/pull/5238

X-link: https://github.com/facebook/hermes/pull/1978

X-link: https://github.com/facebook/flow/pull/9396

Bump hermes-parser and related packages to [0.35.0](https://github.com/facebook/hermes/blob/static_h/tools/hermes-parser/js/CHANGELOG.md).

Changelog: [internal]

Reviewed By: bherila

Differential Revision: D100198457

fbshipit-source-id: 06dcada56d61ae359c1d7a8362f80fdfb4e2d5b5
2026-04-09 22:17:51 -07:00
Sam Zhou a7b64e649a Deploy 0.309.0 to xplat (#56392)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56392

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

Reviewed By: gkz

Differential Revision: D100104742

fbshipit-source-id: 67480b4c5a52293b67fe0100b91496d67410f75f
2026-04-09 06:23:14 -07:00
Panos Vekris fbc072e644 Deploy 0.308.0 to xplat (#56318)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56318

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

Reviewed By: gkz

Differential Revision: D99477741

fbshipit-source-id: 3d3175111b128ae85c75db55d7e2f1d4bf3e1372
2026-04-03 14:04:35 -07:00
Panos Vekris 866e55cc8e Deploy 0.307.1 to xplat (#56286)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56286

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

Reviewed By: gkz

Differential Revision: D98860515

fbshipit-source-id: 196ffafcee417ac2949822848fe7752070a2c30a
2026-03-31 09:50:52 -07:00
Dawid Małecki c54d353df9 Rename --check flag to --validate in C++ public API parser (#56253)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56253

Renames flag for verifying that the C++ public API snapshot is with sync with the actual public API surface to match the JS API command.

Changelog:
[Internal]

Reviewed By: huntie

Differential Revision: D98484129

fbshipit-source-id: ec806353f263b00e5060d9e7f0333bcf4cced148
2026-03-31 08:32:57 -07:00
Marco Wang 6c035760ed Deploy 0.307.0 to xplat (#56260)
Summary:
X-link: https://github.com/facebook/relay/pull/5225

Pull Request resolved: https://github.com/facebook/react-native/pull/56260

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

Reviewed By: SamChou19815

Differential Revision: D98556944

fbshipit-source-id: 5591ba00c5afeb107e9c4eb981fce1a9a3f22e9c
2026-03-27 20:08:38 -07:00
Panos Vekris d1809f0aad Deploy 0.306.1 to fbsource (#56203)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56203

Changelog: [Internal]

Reviewed By: marcoww6, gkz

Differential Revision: D97890708

fbshipit-source-id: 9547aca3b87c0cdfe5bf309cc964e3dd1712ca67
2026-03-24 18:19:47 -07:00
Catherine Balajadia c019a50a4c Fix CVE-2026-27903, CVE-2026-27904: Upgrade transitive dependency minimatch from 3.1.2/3.0.8 to 3.1.4 (#56179)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56179

Fix CVE-2026-27903, CVE-2026-27904: Upgrade transitive dependency minimatch from 3.1.2/3.0.8 to 3.1.4

## Summary
Upgrading the transitive dependency `minimatch` to 3.1.4 in `xplat/js/react-native-github` to fix:
- CVE-2026-27903 (Inefficient Algorithmic Complexity)
- CVE-2026-27904 (Inefficient Regular Expression Complexity)

Two vulnerable versions were present:
- `minimatch@3.1.2` (via eslint, eslint-plugin-jsx-a11y, eslint-plugin-react, etc.)
- `minimatch@3.0.8` (via microsoft/api-extractor with `~3.0.3` tilde range)

The `^3.x` entries naturally resolved to 3.1.4 after nudging (resolution removed).
The `~3.0.3` entry required a permanent scoped resolution (`microsoft/api-extractor/minimatch: 3.1.4`) because the tilde range caps at `<3.1.0`.

Changelog:
[General][Security] - Bumped minimatch to fix CVE-2026-27903, CVE-2026-27904

Reviewed By: cortinico

Differential Revision: D96997159

fbshipit-source-id: ad41806f03b02e3e0dfd67a212d5c1a465bad156
2026-03-23 17:31:24 -07:00
Dark Knight a4e301982e Revert D97425290
Summary:
This diff reverts D97425290
issue with this version

Depends on D97425290

Changelog: [Internal]

Reviewed By: marcoww6, panagosg7

Differential Revision: D97534385

fbshipit-source-id: b76be68b58c891ce553f96b79c3fbf157085cf08
2026-03-20 14:34:07 -07:00
George Zahariev caf168f309 Deploy 0.306.0 to xplat (#56169)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56169

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

Reviewed By: marcoww6

Differential Revision: D97425290

fbshipit-source-id: 8118a167ab2c4e118214edbf6cdb5635d26c600f
2026-03-20 11:07:01 -07:00
Dawid Małecki 7ee5275d96 Add aliases for running cxx-api scripts (#56145)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56145

Add npm aliases for running python cxx-api snapshot generation script (build and validate):

```sh
python -m scripts.cxx-api.parser // cxx-api-build
python -m scripts.cxx-api.parser --check // cxx-api-validate
```

and also a js1 wrapper for buck equivalent.

Changelog:
[Internal]

Reviewed By: cortinico

Differential Revision: D97132752

fbshipit-source-id: e35d6d037ba3dad2a6b3294d0de9f5041847b33a
2026-03-19 05:49:54 -07:00
Panos Vekris cb7fc01c0b Deploy 0.305.1 to xplat (#56111)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56111

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

Reviewed By: SamChou19815

Differential Revision: D96799987

fbshipit-source-id: 2627c4d0d74bd82a096214d470c25fd0113880d7
2026-03-16 15:36:17 -07:00
George Zahariev cd0dbf5bc5 Update hermes-parser and related packages in xplat to 0.34.0 (#56107)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56107

Bump hermes-parser and related packages to [0.34.0](https://github.com/facebook/hermes/blob/static_h/tools/hermes-parser/js/CHANGELOG.md).

Changelog: [internal]

Reviewed By: SamChou19815

Differential Revision: D96556729

fbshipit-source-id: fd6568de0efa43851c45584bba5a2c4ef49bfabe
2026-03-16 12:41:13 -07:00
Panos Vekris 2a63938c1b Back out "Deploy 0.305.0 to xplat"
Summary:
See S634538

Original commit changeset: 1e7d64af85d5

Original Phabricator Diff: D96574668

Differential Revision: D96653527

fbshipit-source-id: 066f408f49a5b687a72a88be72eaab6f4a3776a5
2026-03-15 11:28:34 -07:00
Mike Vitousek af0ccccda7 Deploy 0.305.0 to xplat (#56097)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56097

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

Reviewed By: gkz, SamChou19815

Differential Revision: D96574668

fbshipit-source-id: 1e7d64af85d5049949f274b28747fc1b1459f5a3
2026-03-14 14:23:16 -07:00
Alan Lee bbaabe6a16 Bump packages for next release (#55946)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55946

Follows the recent `0.85-stable` branch cut.

Changelog: [Internal] - Bump all packages to `0.86.0-main`

Reviewed By: cortinico

Differential Revision: D95410323

fbshipit-source-id: dacfee00f1111dbf57ef2e608963a4bffa669884
2026-03-10 00:35:59 -07:00
Sam Zhou 59e6ce22ea Deploy 0.304.0 to xplat
Summary:
[changelog](https://github.com/facebook/flow/blob/main/Changelog.md)
Changelog: [Internal]

Reviewed By: marcoww6

Differential Revision: D95440622

fbshipit-source-id: 827f1a20c4cddcc93a74ad8630acd89c1b13deb7
2026-03-05 14:13:42 -08:00
Riccardo Cipolleschi b4a354496e Revert: chore: update markdownlint-rule-relative-links to v5.1.0 (#55907)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55907

Github OSS CI is failing because of D95055797.

Reverting the diff to fix the OSS CI

## Changelog:
[Internal] -

Reviewed By: lenaic

Differential Revision: D95204543

fbshipit-source-id: ef9d7b871baa00ae86bd0d619b151e5f8abc7782
2026-03-04 08:05:56 -08:00
Théo LUDWIG 7989287801 chore: update markdownlint-rule-relative-links to v5.1.0 (#55866)
Summary:
Maintainer of https://github.com/theoludwig/markdownlint-rule-relative-links/

Didn't know (until now) that this package was used by the react-native repository, and glad that you find it useful! 😄

Apparently, the package was downgraded in https://github.com/facebook/react-native/pull/50625 because of Node.js version requirement/mismatch, but now that (as far as I understand it), React Native uses Node.js v22+, it's fine to upgrade.

## Changelog:

<!-- Help reviewers and the release process by writing your own changelog entry.

Pick one each for the category and type tags:

[ANDROID|GENERAL|IOS|INTERNAL] [BREAKING|ADDED|CHANGED|DEPRECATED|REMOVED|FIXED|SECURITY] - Message

For more details, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->

[Internal] [Changed] - Update markdownlint-rule-relative-links to v5.1.0

Pull Request resolved: https://github.com/facebook/react-native/pull/55866

Test Plan: `lint-markdown` script still work.

Reviewed By: NickGerleman

Differential Revision: D95055797

Pulled By: cipolleschi

fbshipit-source-id: 60837b2efffdf20cf43fd9a174e40e6077f8a313
2026-03-04 05:07:22 -08:00
Rob Hogan 57d4b6b350 Update Metro to 0.84.2 (#55854)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55854

Notably, fixes a regression where `metro-config` (and therefore `react-native/metro-config` did not ship types, leaving untyped `metro.config.js`.

https://github.com/facebook/metro/releases/tag/v0.84.2

Changelog:
[General][Changed]: Update Metro to ^0.84.2

Reviewed By: cortinico

Differential Revision: D94901986

fbshipit-source-id: 02dc26ef0b8dcc67040d4d66dd22ef30d39a5bbf
2026-03-02 10:35:06 -08:00
Panos Vekris ee5b08904b Deploy 0.303.0 to xplat (#55791)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55791

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

Reviewed By: SamChou19815

Differential Revision: D94566027

fbshipit-source-id: 004fe345615f2f9f22aa40cf818788e94726ed19
2026-02-27 12:14:32 -08:00
Marco Wang 424bfe19fe Deploy 0.302.0 to xplat (#55617)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55617

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

Reviewed By: cortinico

Differential Revision: D93705558

fbshipit-source-id: ce1ccaf3b60d3448407886fb5aec4ba811827aa1
2026-02-19 07:35:15 -08:00
George Zahariev 04b910725d Deploy 0.301.0 to xplat (#55561)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55561

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

Reviewed By: cortinico

Differential Revision: D93387946

fbshipit-source-id: 837475519440dc370e4d4f38abb2d22c935a9353
2026-02-16 05:02:08 -08:00
Rob Hogan a08b2d2226 Bump some babel deps (code-frame,generator,parser,template,traverse,types) to latest minors (#55543)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55543

@public

This diff updates several Babel packages to their latest versions:
- `babel/code-frame`: 7.29.0
- `babel/generator`: 7.29.1
- `babel/parser`: 7.29.0
- `babel/template`: 7.28.6
- `babel/traverse`: 7.29.0
- `babel/types`: 7.29.0

Not bumping `core` or `runtime` here because they're a bit more involved, and I'm mainly interested in `traverse`. The packages here are the closure of traverse's dependency graph.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D92983519

fbshipit-source-id: 9f2e71fb5d453606c697d52539f0056b7a29bc45
2026-02-13 07:11:13 -08:00
Mike Vitousek f346ab52d8 Deploy 0.300.0 to xplat (#55525)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55525

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

Reviewed By: marcoww6

Differential Revision: D92902224

fbshipit-source-id: 52ef18ab4c8d841d3e84acbcac03813366a528e6
2026-02-11 12:35:32 -08:00