Repository navigation
Conversation
- E2E matrix: 0.88.1 -> 0.89.0-rc.2 - samples/react-native: react-native and @react-native/* to 0.89.0-rc.2 - Drop @react-native/assets-registry from the sample; RN 0.89 ships the asset registry as react-native/asset-registry and no longer publishes it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Semver Impact of This PR⚪ None (no version bump detected) 📋 Changelog PreviewThis is how your changes will appear in the changelog.
🤖 This preview updates automatically when you update the PR. |
- @react-native-community/cli to 21.0.0 and add @react-native/community-cli-plugin: RN 0.89 no longer ships react-native.config.js, so CLI 20 found no platforms and autolinking failed - Keep @react-native/assets-registry (0.88.1, last published): @react-native-vector-icons imports it directly - MainActivity: drop the removed DefaultNewArchitectureEntryPoint.fabricEnabled - Android build config from the 0.89 template: targetSdk 37, NDK 28.2, Kotlin 2.3.21 - react-native-svg to ^15.16.1 for RN 0.89 JNI support - Patch react-native-image-picker to use the app compileSdkVersion; fbjni 0.8.1 requires compileSdk 36+ Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
antonis
left a comment
There was a problem hiding this comment.
Marking as blocked till the final 0.89.0 is released next month
📲 Install BuildsAndroid
|
|
Adding some things to recheck: Worth checking: Android touch breadcrumbs
Possible small follow-ups (not 0.89-specific SDK features):
|
|
Rechecked the items above on 1. Android touch breadcrumbs: they work on 0.89.0-rc.2.
2. iOS
3.
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- E2E and SPM workflows to 0.89.0-rc.5 - samples/react-native: react-native and @react-native/* to 0.89.0-rc.5, Community CLI to 21.1.1 (matches the 0.89 template) yarn.lock follows once rc.5 clears the 24h Yarn age gate. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PR risk: mediumFor commit Main concerns: dependencies customers inherit, public contract, reach. Rules that block low also fired:
This label is a hint for reviewers, not an approval. |
| @@ -72,13 +72,14 @@ | |||
| "@babel/core": "^7.26.7", | |||
| "@babel/preset-env": "^7.26.7", | |||
| "@babel/runtime": "^7.26.7", | |||
| "@react-native-community/cli": "20.2.0", | |||
| "@react-native-community/cli-platform-android": "20.2.0", | |||
| "@react-native-community/cli-platform-ios": "20.2.0", | |||
| "@react-native/babel-preset": "0.88.1", | |||
| "@react-native/jest-preset": "0.88.1", | |||
| "@react-native/metro-config": "0.88.1", | |||
| "@react-native/typescript-config": "0.88.1", | |||
| "@react-native-community/cli": "21.1.1", | |||
| "@react-native-community/cli-platform-android": "21.1.1", | |||
| "@react-native-community/cli-platform-ios": "21.1.1", | |||
| "@react-native/babel-preset": "0.89.0-rc.5", | |||
| "@react-native/community-cli-plugin": "0.89.0-rc.5", | |||
| "@react-native/jest-preset": "0.89.0-rc.5", | |||
| "@react-native/metro-config": "0.89.0-rc.5", | |||
| "@react-native/typescript-config": "0.89.0-rc.5", | |||
There was a problem hiding this comment.
package.json pins RN 0.89.0-rc.5 but yarn.lock still resolves 0.89.0-rc.3
samples/react-native/package.json pins react-native and related packages to 0.89.0-rc.5 (CLI 21.1.1), but yarn.lock still locks 0.89.0-rc.3 / 21.0.0, so CI yarn install fails under Yarn immutable installs.
Evidence
- Changed pins in
samples/react-native/package.jsonset exact versionsreact-native@0.89.0-rc.5,@react-native/*@0.89.0-rc.5, and@react-native-community/cli*@21.1.1. yarn.lockworkspace entrysentry-react-native-sample@workspace:samples/react-nativestill listsreact-native: npm:0.89.0-rc.3, matching@react-native/*@0.89.0-rc.3, and CLI packages at21.0.0; no0.89.0-rc.5or21.1.1resolutions exist.- CI workflows run bare
yarn installwithCI=true, where Yarn defaults to immutable lockfiles and rejects installs that would rewrite the lockfile.
Identified by Warden · code-review · V24-RYW
📢 Type of change
📜 Description
Tests the SDK against the React Native
0.89.0-rc.5release candidate.E2E (
e2e-v2.yml): build/test matrix bumped from0.88.1to0.89.0-rc.5(the0.71.19baseline is unchanged).Sample (
samples/react-native):react-nativeand the@react-native/*companions to0.89.0-rc.5.reactstays on19.3.0(satisfies the RN 0.89 peer^19.3.0).@react-native-community/cli*to21.1.1and add@react-native/community-cli-plugin. RN 0.89 no longer shipsreact-native.config.js, so CLI 20 found no platforms and Android autolinking failed. Matches the 0.89 template.MainActivity.kt: dropDefaultNewArchitectureEntryPoint.fabricEnabled, which RN 0.89 removed (New Architecture is always on).targetSdkVersion37, NDK28.2.13676358, Kotlin2.3.21.react-native-svgto^15.16.1: older versions call a JNI overload RN 0.89 deprecated, which fails the-Werrorbuild (fixed upstream in fix(android): support React Native 0.89 JNI calls software-mansion/react-native-svg#3110).react-native-image-pickerso it uses the app'scompileSdkVersioninstead of a hardcoded35. RN 0.89 pulls in fbjni0.8.1, which requires compileSdk 36+. The latest image-picker (8.3.x) still hardcodes 35.@react-native/assets-registrystays at0.88.1(no 0.89 release; RN now shipsreact-native/asset-registry), because@react-native-vector-iconsimports it directly.Reanimated
4.7.1/ Worklets0.13.0stay as they are. They don't list RN 0.89 as supported yet, but their version check skips prerelease RN versions, so the build isn't blocked.💡 Motivation and Context
Part of #7067. Validate the SDK against RN 0.89 before the stable release.
💚 How did you test it?
Locally, on the New Architecture:
assembleDebugsucceeds (Java 17).pod installand a Debug simulator build succeed.react-native bundlefor Android succeeds.The full E2E matrix and sample release builds run on CI via the
ready-to-mergelabel.📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps
0.89.0stable when it's released, including thereact-native/@react-native/*devDependencies inpackages/core.compileSdkVersion.SceneDelegatesetup from the 0.89 template (the existingAppDelegatesetup still builds).🤖 Generated with Claude Code