916 Commits
Author SHA1 Message Date
Gabriel Donadel Dall'Agnol 95538111bf Bump Hermes V1 to 250829098.0.16 (#57646)
Aligns 0.86 with the Hermes version shipped in 0.87 RCs, which includes
a fix for excessive memory consumption in older Hermes versions.
2026-07-23 22:00:57 +02:00
Rob Hogan 031168013e Bump hermes-compiler dependency 2026-05-05 18:14:17 +01:00
Rob Hogan d1cdce24cc Manually fix references to registry.facebook.net -> registry.yarnpkg.com (#56683)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56683

RN's GitHub Actions CI isn't set up to authenticate against `registry.facebook.net`, causing 401s on Yarn install

As a quick fix ahead of the 0.86 cut, this manually fixes them back to `yarnpkg.com`

Changelog: [Internal]

Reviewed By: cortinico

Differential Revision: D103845323

fbshipit-source-id: d31f5bbaedfeaa35ef26837ab8faf29dbeff465e
2026-05-05 07:06:10 -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
Ben Herila c29ef97442 Revert: Bump minimum whatwg-fetch 3.0.0 -> 3.6.20 (#56415)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56415

Reverting due to some internal applications relying on bugs in older whatwg-fetch versions.

Changelog: [Internal]

Differential Revision: D100389704

fbshipit-source-id: 93db9ec62641ea72313ad99d1a4186f8e5066e86
2026-04-12 01:18:39 -07:00
Ben Herila 24c5e93e2a Revert: Vendor whatwg-fetch@3.6.20 (#56414)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56414

Reverting due to some internal applications relying on bugs in older whatwg-fetch versions.

Changelog: [Internal]

Differential Revision: D100389649

fbshipit-source-id: f87ed5e212508af8032e452cf2ba9836292a49d1
2026-04-11 23:39:56 -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
Rob Hogan e7df8fa292 Vendor whatwg-fetch@3.6.20 (#56370)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56370

Vendor `whatwg-fetch` v3.6.20 directly into `Libraries/Network/`, replacing the npm dependency with a local copy.

`whatwg-fetch` has not had a release since December 2023 and appears to be [unmaintained](https://github.com/JakeChampion/fetch/issues/1482), by download numbers `react-native` is the dominant consumer (all this is unsurprising, since `fetch` is natively implemented in every browser).

It has several shortcomings we (with the OSS community) could improve on - one important one being that `whatwg-fetch`'s `fetch()` does not resolve immediately on receipt of headers, only on completion.

This takes the single source file from the `whatwg-fetch` npm package as `Libraries/Network/whatwg-fetch.js`, and its accompanying types, marking as originally vendored from whatwg-fetch v3.6.20 (Copyright (c) 2014-2023 GitHub, Inc., MIT license).

Changelog:
[Internal]

Reviewed By: huntie

Differential Revision: D99854694

fbshipit-source-id: 6e742c47c43d69012841671608cc8b359d20ea91
2026-04-08 11:20:26 -07:00
Rob Hogan 3d8e1814ec Bump minimum whatwg-fetch 3.0.0 -> 3.6.20 (#56357)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56357

Bump the `package.json` minimum of `whatwg-fetch` to the latest `3.6.20`.

This version is already over two years old and was already within the `^3.0.0` range, so essentially every OSS user is already using it - as backed up by its download figures: https://www.npmjs.com/package/whatwg-fetch?activeTab=versions

Bumping for clarity ahead of vendoring 3.6.20

Changelog:
[Internal]

Reviewed By: huntie

Differential Revision: D99850877

fbshipit-source-id: 0f7754a647a26b41e02a7922de81da9d07949a4e
2026-04-07 23:32:39 -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
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
Catherine Balajadia 56908a74c7 Fix CVE-2026-25896: Upgrade deep transitive dependency fast-xml-parser from 4.5.0 to 4.5.4 (#56163)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56163

Fix CVE-2026-25896: Upgrade deep transitive dependency fast-xml-parser from 4.5.0 to 4.5.4

## Summary
Upgrading the deep transitive dependency `fast-xml-parser` from 4.5.0 to 4.5.4 in `xplat/js/react-native-github` to fix:
- CVE-2026-25896 (Incorrect Regular Expression)

Dependency chain (3 levels deep):
  react-native/tester -> react-native-community/cli-platform-android -> react-native-community/cli-config-android -> fast-xml-parser@^4.4.1

The semver range `^4.4.1` naturally allows 4.5.4, so the version was nudged via temporary resolution and sticks after removal. No permanent resolution needed.

Changelog:
[General][Security] - Bumped fast-xml-parser from 4.5.0 to 4.5.4 to fix CVE-2026-25896

Reviewed By: huntie

Differential Revision: D96997931

fbshipit-source-id: 2ba65763bfb1254c581556559142bfac5450c89d
2026-03-20 23:20:25 -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
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
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
Vitali Zaidman 8915d81a5b make metro accept tls server config (#55701)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55701

X-link: https://github.com/facebook/metro/pull/1657

Changelog: [Feature] `config.server.tls` now sets Metro to be exposed as an https server

Reviewed By: robhogan, huntie

Differential Revision: D93857257

fbshipit-source-id: 56ff661c4ddf9cd5d4bb32756b9cb600bb032a1c
2026-02-24 00:57:54 -08:00
Rob Hogan 58ed78fec1 Update Metro to 0.84.0 (#55672)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55672

Bump Metro minimum to 0.84.0

Although this is a semver-breaking release for Metro, that's only because of the slightly increased Node.js version requirements *already present in React Native*, so this bump is non-breaking for RN.

Full changelogs since previous bump:
https://github.com/facebook/metro/releases/tag/v0.83.4
https://github.com/facebook/metro/releases/tag/v0.84.0

Changelog: [General][Changed] Metro bump to ^0.84.0

Reviewed By: huntie

Differential Revision: D94020063

fbshipit-source-id: 4562517e726b9e2c7d803353ac083fd76a21c261
2026-02-23 08:29:45 -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
Phillip Pan 4dfefd1a21 upgrade undici from 5.29.0 to 6.23.0 (#55574)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55574

Upgrade the undici devDependency in react-native/dev-middleware from ^5.29.0 to ^6.23.0 to address security vulnerabilities. undici v6 drops the fastify/busboy dependency and requires Node.js >= 18, which is already satisfied by the engine requirements. The API surface used (Agent, request) remains compatible.

this is low risk, because it's only used in a test.

Changelog: [Internal]

Reviewed By: robhogan

Differential Revision: D93298172

fbshipit-source-id: be623702ebec1bd494c862f9c7990580f6b3cc4d
2026-02-17 09:14:50 -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
Emily Brown b79cd8d247 Remove Danger.js workflow and React native bots package (#55385)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55385

Now that all Danger.js checks have been migrated to native GitHub Actions in the `annotate-pr.yml` workflow, this removes the deprecated Danger infrastructure:

- Deletes `.github/workflows/danger-pr.yml` workflow
- Deletes `private/react-native-bots/dangerfile.js`
- Removes `danger` npm dependency from `react-native-bots/package.json`

The functionality previously provided by Danger.js is now handled by:
- **API diff detection**: `diff-js-api-changes` action
- **PR body validation**: `validatePRBody.js` script (summary, test plan, changelog checks)
- **Branch targeting**: `checkBranchTarget.js` script (validates target branch, adds "Pick Request" label)
- **PR commenting**: `post-pr-comment` action

This simplifies the CI pipeline by removing the third-party Danger dependency and consolidating PR annotation logic into maintainable GitHub Actions workflows.

Changelog: [Internal]

Reviewed By: huntie

Differential Revision: D91695886

fbshipit-source-id: c88001ef75d16c4709c7972add141db0df3b5a30
2026-02-06 08:14:53 -08:00
Marco Wang f714658f23 Update prettier-plugin-hermes-parser in xplat to 0.34.1 (#55409)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55409

Bump prettier-plugin-hermes-parser to 0.34.1.

Changelog: [internal]

Reviewed By: SamChou19815

Differential Revision: D92326476

fbshipit-source-id: 80995d179195f041da4f883f2e8af5d203cff0b6
2026-02-05 12:44:03 -08:00
Alex Hunt 96c97e08b1 Bump Electron to 39.0.0 (#55395)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55395

Upgrade from Electron 37.x → 39.x , which includes compiling for macOS 26.

Changelog: [Internal]

**Breaking changes from Electron 37.2.6 → 39.0.0:**

**Electron 38.0.0**
- Removed `ELECTRON_OZONE_PLATFORM_HINT` env var
- Removed `ORIGINAL_XDG_CURRENT_DESKTOP` env var
- Removed macOS 11 support (minimum now macOS 12)
- Removed `plugin-crashed` event from webContents
- Deprecated `webFrame.routingId` (use `frameToken`)
- Deprecated `webFrame.findFrameByRoutingId()` (use `findFrameByToken()`)
- Linux now defaults to Wayland (force X11 with `--ozone-platform=x11`)

**Electron 39.0.0**
- Deprecated `--host-rules` flag (use `--host-resolver-rules`)
- `window.open` popups now always resizable (WHATWG spec)
- Shared texture OSR `paint` event structure changed

Reviewed By: motiz88

Differential Revision: D92154326

fbshipit-source-id: 4e7399107bfcaf5592f6d873a36d09369804f605
2026-02-04 11:46:28 -08:00
Sam Zhou 8af50b2ccb Deploy 0.299.0 to xplat (#55344)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55344

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

Reviewed By: gkz

Differential Revision: D91730827

fbshipit-source-id: eeab830fcb4b0783a35822551b45c9cafe1b1af7
2026-01-28 16:45:11 -08:00
Panos Vekris 6f698ab749 Deploy 0.298.0 to xplat (#55283)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55283

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

Reviewed By: gkz

Differential Revision: D91280462

fbshipit-source-id: 8dc321c2b6ce8b286532192f3bce6f48e7885d8e
2026-01-22 23:17:30 -08:00
Marco Wang 97c9202400 Deploy 0.297.0 to xplat (#55218)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55218

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

Reviewed By: SamChou19815

Differential Revision: D90924627

fbshipit-source-id: a5eee1f919162c648c43b0408d82845e45b6d336
2026-01-17 16:28:34 -08:00
Pieter De Baets 660a636816 Update eslint-plugin-react to 7.37.5 (#55163)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55163

Changelog: [Internal]

Reviewed By: fabriziocucci

Differential Revision: D90601852

fbshipit-source-id: 6d71b299529cdbbb7ae72f26d50228bd4e165de0
2026-01-15 03:57:35 -08:00
George Zahariev 3fb0a6f611 Update prettier-plugin-hermes-parser in fbsource to 0.33.2 (#55173)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55173

Bump prettier-plugin-hermes-parser to 0.33.2.

Changelog: [internal]

Reviewed By: SamChou19815

Differential Revision: D90708822

fbshipit-source-id: 1075c891a9ccccc4d8fbffe827f9f13a016ed94f
2026-01-14 19:24:58 -08:00
George Zahariev 393eca54eb Update hermes-parser and related packages in fbsource to 0.33.3 (#55092)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55092

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

Changelog: [internal]

Reviewed By: javache

Differential Revision: D90293157

fbshipit-source-id: 6982d4275aa5ea1305491627051f100237f6f1b4
2026-01-12 23:52:57 -08:00