Skip to content

chore: update scripts/update-rn.sh to v0.85.3

4214c5c
Select commit
Loading
Failed to load commit list.
Draft

chore(deps): update React Native to v0.85.3 #5987

chore: update scripts/update-rn.sh to v0.85.3
4214c5c
Select commit
Loading
Failed to load commit list.
@sentry/warden / warden completed May 26, 2026 in 2m 11s

2 issues

High

react-native bumped to 0.85.3 while react-native-macos and @react-native/* tooling remain on 0.73.x - `samples/react-native-macos/package.json:24`

Bumping react-native to 0.85.3 while react-native-macos stays at 0.73.34 and @react-native/babel-preset, @react-native/metro-config, and @react-native/typescript-config stay at 0.73.x creates a 12-minor-version mismatch that will likely cause build failures and runtime errors in the macOS sample — react-native-macos must be kept in sync with the react-native version it forks.

Medium

`samples/react-native-macos` left with incompatible RN/macos/React versions after bump - `samples/react-native-macos/package.json:24`

The updater script scripts/update-rn.sh runs yarn up react-native@<version> across the monorepo, which propagated 0.85.3 into samples/react-native-macos/package.json. That sample, however, also depends on react-native-macos@0.73.34 (a fork that mirrors a specific RN minor version) and pins react@18.2.0 and @react-native/babel-preset|metro-config|typescript-config@0.73.x. RN 0.85 requires React 19 and matching @react-native/* toolchain (see samples/react-native/package.json which was updated to React 19.2.3 / @react-native/* 0.85.1 in the same PR). Mixing react-native@0.85.3 with react-native-macos@0.73.34 will break native module registration and Metro bundling for the macOS sample. Since react-native-macos has no 0.85 release, the correct fix is to pin/exclude this workspace from the yarn up so the sample continues to match its macOS fork version.

4 skills analyzed
Skill Findings Duration Cost
security-review 0 2.4s $0.11
code-review 1 1m 9s $0.71
find-bugs 1 1m 16s $0.42
gha-security-review 0 8.2s $0.07

⏱ 2m 36s · 223.8k in / 12.3k out · $1.33