chore(core): Bump react-native and metro devDependencies to 0.86.0#6316
Open
antonis wants to merge 5 commits into
Open
chore(core): Bump react-native and metro devDependencies to 0.86.0#6316antonis wants to merge 5 commits into
antonis wants to merge 5 commits into
Conversation
Contributor
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. |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit a24aee3. Configure here.
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit fafbd4e. Configure here.
fafbd4e to
58ad66b
Compare
58ad66b to
31d3e33
Compare
📲 Install BuildsAndroid
|
Contributor
Android (legacy) Performance metrics 🚀
|
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| a50b33d+dirty | 500.81 ms | 532.11 ms | 31.30 ms |
| 09a902f+dirty | 427.38 ms | 473.80 ms | 46.42 ms |
| ef27341+dirty | 412.94 ms | 443.98 ms | 31.04 ms |
| 7d6fd3a+dirty | 403.02 ms | 422.56 ms | 19.54 ms |
| c004dae+dirty | 412.86 ms | 481.50 ms | 68.64 ms |
| a3265b6+dirty | 406.86 ms | 449.84 ms | 42.98 ms |
| 4e0ba9c+dirty | 452.84 ms | 473.36 ms | 20.52 ms |
| a5d243c+dirty | 424.52 ms | 485.18 ms | 60.66 ms |
| b0d3373+dirty | 557.66 ms | 579.42 ms | 21.76 ms |
| f3215d3+dirty | 411.11 ms | 454.38 ms | 43.27 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| a50b33d+dirty | 43.75 MiB | 48.08 MiB | 4.33 MiB |
| 09a902f+dirty | 49.74 MiB | 54.81 MiB | 5.07 MiB |
| ef27341+dirty | 48.30 MiB | 53.54 MiB | 5.24 MiB |
| 7d6fd3a+dirty | 43.75 MiB | 48.14 MiB | 4.39 MiB |
| c004dae+dirty | 48.30 MiB | 53.49 MiB | 5.19 MiB |
| a3265b6+dirty | 48.30 MiB | 53.58 MiB | 5.28 MiB |
| 4e0ba9c+dirty | 48.30 MiB | 53.49 MiB | 5.19 MiB |
| a5d243c+dirty | 48.30 MiB | 53.54 MiB | 5.23 MiB |
| b0d3373+dirty | 48.30 MiB | 53.58 MiB | 5.28 MiB |
| f3215d3+dirty | 48.30 MiB | 53.49 MiB | 5.19 MiB |
Contributor
iOS (legacy) Performance metrics 🚀
|
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 5ee78d6+dirty | 3847.52 ms | 1224.27 ms | -2623.25 ms |
| a0d8cf8+dirty | 3842.33 ms | 1212.40 ms | -2629.93 ms |
| 8929511+dirty | 1216.42 ms | 1219.02 ms | 2.60 ms |
| 5748023+dirty | 3840.49 ms | 1227.43 ms | -2613.05 ms |
| 7a89652+dirty | 3861.46 ms | 1229.61 ms | -2631.85 ms |
| 3a829f0+dirty | 3839.76 ms | 1214.69 ms | -2625.06 ms |
| 3b6e9f9+dirty | 3851.90 ms | 1233.33 ms | -2618.57 ms |
| 44c8b3f+dirty | 3823.85 ms | 1207.66 ms | -2616.19 ms |
| eb93136+dirty | 3843.09 ms | 1220.11 ms | -2622.98 ms |
| 2c735cc+dirty | 1229.67 ms | 1221.50 ms | -8.17 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 5ee78d6+dirty | 5.15 MiB | 6.69 MiB | 1.53 MiB |
| a0d8cf8+dirty | 5.15 MiB | 6.67 MiB | 1.51 MiB |
| 8929511+dirty | 3.38 MiB | 4.80 MiB | 1.42 MiB |
| 5748023+dirty | 5.15 MiB | 6.68 MiB | 1.53 MiB |
| 7a89652+dirty | 5.15 MiB | 6.70 MiB | 1.55 MiB |
| 3a829f0+dirty | 5.15 MiB | 6.70 MiB | 1.54 MiB |
| 3b6e9f9+dirty | 5.15 MiB | 6.68 MiB | 1.53 MiB |
| 44c8b3f+dirty | 5.15 MiB | 6.66 MiB | 1.51 MiB |
| eb93136+dirty | 5.15 MiB | 6.69 MiB | 1.53 MiB |
| 2c735cc+dirty | 3.38 MiB | 4.74 MiB | 1.35 MiB |
Contributor
Android (new) Performance metrics 🚀
|
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 09a902f+dirty | 423.02 ms | 472.18 ms | 49.16 ms |
| ef27341+dirty | 519.02 ms | 553.42 ms | 34.40 ms |
| a50b33d+dirty | 353.21 ms | 398.48 ms | 45.27 ms |
| c004dae+dirty | 404.60 ms | 430.67 ms | 26.07 ms |
| 100ce80+dirty | 463.28 ms | 532.10 ms | 68.82 ms |
| 44c8b3f+dirty | 492.13 ms | 563.47 ms | 71.34 ms |
| 04207c4+dirty | 395.40 ms | 456.55 ms | 61.15 ms |
| a3265b6+dirty | 410.96 ms | 444.76 ms | 33.80 ms |
| 7ac3378+dirty | 410.67 ms | 442.60 ms | 31.92 ms |
| 4e0ba9c+dirty | 421.39 ms | 455.80 ms | 34.41 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 09a902f+dirty | 49.74 MiB | 54.81 MiB | 5.07 MiB |
| ef27341+dirty | 48.30 MiB | 53.54 MiB | 5.24 MiB |
| a50b33d+dirty | 43.94 MiB | 48.94 MiB | 5.00 MiB |
| c004dae+dirty | 48.30 MiB | 53.49 MiB | 5.19 MiB |
| 100ce80+dirty | 48.30 MiB | 53.46 MiB | 5.15 MiB |
| 44c8b3f+dirty | 48.30 MiB | 53.46 MiB | 5.15 MiB |
| 04207c4+dirty | 43.94 MiB | 48.98 MiB | 5.04 MiB |
| a3265b6+dirty | 48.30 MiB | 53.58 MiB | 5.28 MiB |
| 7ac3378+dirty | 43.94 MiB | 48.99 MiB | 5.05 MiB |
| 4e0ba9c+dirty | 48.30 MiB | 53.49 MiB | 5.19 MiB |
Contributor
iOS (new) Performance metrics 🚀
|
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 5ee78d6+dirty | 3815.71 ms | 1217.04 ms | -2598.67 ms |
| a0d8cf8+dirty | 3826.15 ms | 1213.12 ms | -2613.03 ms |
| 8929511+dirty | 1223.41 ms | 1222.49 ms | -0.92 ms |
| 5748023+dirty | 3844.74 ms | 1225.49 ms | -2619.26 ms |
| 7a89652+dirty | 3827.11 ms | 1211.49 ms | -2615.62 ms |
| 3a829f0+dirty | 3822.15 ms | 1211.04 ms | -2611.10 ms |
| 3b6e9f9+dirty | 3822.77 ms | 1208.00 ms | -2614.77 ms |
| 44c8b3f+dirty | 3849.24 ms | 1209.94 ms | -2639.31 ms |
| eb93136+dirty | 3846.51 ms | 1226.13 ms | -2620.39 ms |
| 2c735cc+dirty | 1223.33 ms | 1224.38 ms | 1.04 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 5ee78d6+dirty | 5.15 MiB | 6.69 MiB | 1.53 MiB |
| a0d8cf8+dirty | 5.15 MiB | 6.67 MiB | 1.51 MiB |
| 8929511+dirty | 3.38 MiB | 4.80 MiB | 1.42 MiB |
| 5748023+dirty | 5.15 MiB | 6.68 MiB | 1.53 MiB |
| 7a89652+dirty | 5.15 MiB | 6.70 MiB | 1.55 MiB |
| 3a829f0+dirty | 5.15 MiB | 6.70 MiB | 1.54 MiB |
| 3b6e9f9+dirty | 5.15 MiB | 6.68 MiB | 1.53 MiB |
| 44c8b3f+dirty | 5.15 MiB | 6.66 MiB | 1.51 MiB |
| eb93136+dirty | 5.15 MiB | 6.69 MiB | 1.53 MiB |
| 2c735cc+dirty | 3.38 MiB | 4.74 MiB | 1.35 MiB |
Bumps react-native devDependency from 0.80.1 to 0.86.0 and metro from 0.83.1 to 0.84.4 to align type-checking with the latest RN release. Type fixes: - Accept null in MetroCustomizeFrame callback parameter - Add ts-expect-error for readonly enhanceMiddleware and customSerializer - Add explicit parameter types in enhanceMiddleware callback - Replace removed `hot` field with `dev` in transform options checks - Update jest preset from react-native to @react-native/jest-preset - Update RNTestEnvironment to use new jest-preset path Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Metro 0.84 removed `transformOptions.hot` from JsTransformOptions. Instead of blindly replacing with `dev` (which would skip debug ID injection for `--dev` CLI builds), check at runtime whether `hot` exists and fall back to `dev` only when it doesn't. Also improve ts-expect-error comments to note metro version context. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Replace custom `set_react_native_path` with `react_native_post_install` to generate React-VFS.yaml needed by RN 0.86's prebuilt frameworks - Bump IPHONEOS_DEPLOYMENT_TARGET from 15.0 to 15.1 to match RN 0.86 minimum Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Set RCT_USE_PREBUILT_RNCORE=0 to build React Native from source instead of using prebuilt frameworks, fixing modulemap discovery failures with Xcode 26's explicit modules. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Work around missing PrivacyInfo.xcprivacy in React-timing pod and guard against nil NSClassFromString for classes removed by RCT_REMOVE_LEGACY_ARCH. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
7072f71 to
abd864a
Compare
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📢 Type of change
📜 Description
Bumps devDependencies in
packages/core:react-native0.80.1 → 0.86.0metro0.83.1 → 0.84.4@react-native/babel-preset0.80.0 → 0.86.0@react-native/jest-preset0.86.0 (jest preset moved out of react-native in RN 0.86)Type fixes required by Metro 0.84:
nullinMetroCustomizeFramecallback (metro 0.84 widened the return type)enhanceMiddlewareis now readonly — use@ts-expect-error; add explicit parameter typestransformOptions.hotremoved in metro 0.84 — replaced with a runtime feature check ('hot' in graph.transformOptions) that preserves original behavior on older Metro and falls back todevon 0.84+customSerializeris now readonly — use@ts-expect-errorreact-nativeto@react-native/jest-presetcountLinesandCountingSetimports changed from namespace to default imports (metro 0.84 ships.d.tswithexport default)These are all devDependency changes — nothing user-facing is affected. The SDK's
peerDependencyon react-native (>=0.65.0) remains unchanged.💡 Motivation and Context
Related: #6267
💚 How did you test it?
CI, Locally
📝 Checklist
sendDefaultPIIis enabled🔮 Next steps