Skip to content

Upgrade React Native from 0.84.1 to 0.85.3#463

Merged
wmathurin merged 9 commits into
forcedotcom:devfrom
wmathurin:rn-upgrade-0.85
Jun 5, 2026
Merged

Upgrade React Native from 0.84.1 to 0.85.3#463
wmathurin merged 9 commits into
forcedotcom:devfrom
wmathurin:rn-upgrade-0.85

Conversation

@wmathurin

@wmathurin wmathurin commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bumps React Native 0.84.1 → 0.85.3 across `package.json`, `iosTests/package.json`, `androidTests/package.json`, `android/build.gradle`, `androidTests/android/app/build.gradle.kts`
  • Bumps `@react-native/*` devDeps to 0.85.3
  • Regenerates Android codegen (output identical to 0.84.1 — no spec changes)
  • Removes `rimraf` dependency from `prepareios.js`, `prepareandroid.js`, `iosTests/updatesdk.js`, `androidTests/updatesdk.js` — no longer a transitive dep in RN 0.85.3; replaced with `fs.rmSync`
  • Updates docs and version compat tables
  • Adds `upgrade-react-native` Claude Code skill capturing the full upgrade process

Test Results

  • iOS tests: 35/35 ✅
  • Android tests: 35/35 ✅

Release Notes

  • React Native 0.85.3 (from 0.84.1)
  • Hermes 250829098.0.10 (from 250829098.0.9)
  • No removed APIs affect this SDK

⚠️ Before Merging

Revert `react-native-force` URLs in `iosTests/package.json` and `androidTests/package.json` from the temporary fork reference back to the canonical URL:

"react-native-force": "git+https://github.com/forcedotcom/SalesforceMobileSDK-ReactNative.git#dev"

wmathurin added 7 commits June 5, 2026 10:00
Updates react-native, @react-native/* devDeps, react-android, and
hermes-android to 0.85.3. No removed-API fixes needed (pre-check clean).
rimraf is no longer available as a transitive dep in the RN 0.85.3
package tree. Replace all rimraf.sync() calls with execSync('rm -rf').
Captures the full RN upgrade process: pre-checks, version bumps across
ReactNative + Templates repos, codegen regeneration, iOS/Android prep
and test runs, template validation, and PR creation. Includes gotchas
learned from 0.83→0.84 and 0.84→0.85 upgrades (rimraf, sandbox EPERM,
react-native-force URL revert).
Add Phase 7b with credential injection commands (from TESTING_CREDENTIALS.md)
and react-native-force fork URL setup for manual template testing.
# Conflicts:
#	androidTests/package.json
#	iosTests/package.json
@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown
TestsPassed ✅SkippedFailed
iOS ^18 Test Results35 ran35 ✅
TestResult
No test annotations available

@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown
TestsPassed ✅SkippedFailed
iOS ^26 Test Results35 ran35 ✅
TestResult
No test annotations available

@wmathurin wmathurin merged commit eef60f2 into forcedotcom:dev Jun 5, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants