Releases: react/react-native
0.70.1
Added
- Add more debugging settings for HermesExecutorFactory (32d12e89f8 by @Kudo)
- Support TypeScript array types for turbo module (component only) (33d1291e1a by @ZihanChen-MSFT)
Changed
- Accept TypeScript type
T | null | undefinedas a maybe type of T in turbo module. (9ecd203eec by @ZihanChen-MSFT) - Bump react-native-gradle-plugin to 0.70.3 (e33633644c by @dmytrorykun)
- Bump react-native-codegen to 0.70.5 (6a8c38eef2 by @dmytrorykun)
- Hermes version bump for 0.70.1 (5132211228 by @dmytrorykun)
Fixed
- Fix hermes profiler (81564c1a3d by @janicduplessis)
Android specific
- Support PlatformColor in borderColor (2d5db284b0 by @danilobuerger)
- Avoid crash in ForwardingCookieHandler if webview is disabled (5451cd48bd by @Pajn)
- Correctly resolve classes with FindClass(..) (361b310bcc by @evancharlton)
iOS specific
- Fix KeyboardAvoidingView height when "Prefer Cross-Fade Transitions" is enabled (4b9382c250 by @gabrieldonadel)
- Fix React module build error with swift integration on new architecture mode (3afef3c167 by @Kudo)
- Fix ios pod install error (0cae4959b7 by @Romick2005)
You can participate in the conversation on the status of this release in this discussion
To help you upgrade to this version, you can use the upgrade helper ⚛️
You can find the whole changelog history in the changelog.md file.
0.70.0
0.70 stable is out!
This release includes 493 commits with 88 contributors! Thank you to all our contributors new and old! See the highlights of the release in our release blog post.
You can participate in the conversation on the status of this release in this discussion
To help you upgrade to this version, you can use the upgrade helper ⚛️
You can find the whole changelog history in the changelog.md file.
0.69.5
Changed
- Bump react-native-codegen to 0.69.2 (df3d52bfbf by @dmitryrykun)
Android specific
- Replaced reactnativeutilsjni with reactnativejni in the build process to reduce size (54a4fcbfdc by @SparshaSaha)
Fixed
- Codegen should ignore
.d.tsfiles (0f0d52067c by @tido64)
You can participate in the conversation on the status of this release in this discussion
To help you upgrade to this version, you can use the upgrade helper ⚛️
You can find the whole changelog history in the changelog.md file
0.70.0-rc.4
Changed
- Upgrade RN CLI to v9.0.0, Metro to 0.72.1 (0c2fe96998 by @thymikee)
- Bump react-native-codegen to 0.70.4 (a22ceecc84 by @dmitryrykun)
- Hermes version bump for 0.70.0-RC4 (0b4b7774e2 by @dmitryrykun)
Android specific
- Update template to gitignore
android/app/.cxx(542d43df9d by @leotm)
Fixed
- Codegen should ignore
.d.tsfiles (0f0d52067c by @tido64)
-
You can participate in the conversation on the status of this release in the working group.
-
To help you upgrade to this version, you can use the upgrade helper ⚛️
-
See changes from this release in the changelog PR
Help us testing 🧪
RC4 is going to be the last RC before 0.70.0 - unless blocking issues arise. To help us catch them, test it by running:
npx react-native init RN070RC4 --version 0.70.0-rc.4
And play around with the fresh app - let us know how it went by posting a comment in the working group discussion! Please specify with system you tried it on (ex. macos, windows).
Bonus points: It would be even better if you could swap things around: instead of using a fresh new app, use a more complex one!
0.70.0-rc.3
Changed
- Bump CLI to latest v9-alpha11 (7e580b97bf by @kelset)
Android specific
- Update the new app template to use CMake instead of Android.mk (dfd7f70eff by @cortinico)
- Refactored usage of kotlin plugin (be35c6dafb by @hurali97)
- Bump Gradle to 7.5.1 (7a911e0730 by @AlexanderEggers)
- Upgrade react-native-gradle-plugin to 0.70.2 (1518f838b7 by @dmitryrykun)
iOS specific
- Silence warning due to react-native internal details. (a4599225f5 by @cipolleschi)
Fixed
- Avoid full copy of large folly::dynamic objects in JSIExecutor#defaultTimeoutInvoker (521011d4cc by @christophpurrer)
Android specific
- Fix error of release builds with Hermes enabled for Windows users (7fcdb9d9d8 by @JoseLion)
-
You can participate in the conversation on the status of this release in the working group.
-
To help you upgrade to this version, you can use the upgrade helper ⚛️
-
See changes from this release in the changelog PR
Help us testing 🧪
To test it, run:
npx react-native init RN070RC3 --version 0.70.0-rc.3
And play around with the fresh app - let us know how it went by posting a comment in the working group discussion! Please specify with system you tried it on (ex. macos, windows).
Bonus points: It would be even better if you could swap things around: instead of using a fresh new app, use a more complex one!
0.69.4
Changed
- Upgrade RN CLI to v8.0.4 (66c68c37ce by @thymikee)
Android specific
- Modified getDefaultJSExecutorFactory method (87cfd386cb by @KunalFarmah98)
You can participate in the conversation on the status of this release in this discussion
To help you upgrade to this version, you can use the upgrade helper ⚛️
You can find the whole changelog history in the changelog.md file.
0.68.3
Changed
Android specific
- Let's not build reactnativeutilsjni shared library (af9225ec5f by @SparshaSaha)
- Modified getDefaultJSExecutorFactory method (87cfd386cb by @KunalFarmah98)
Fixed
- Use monotonic clock for performance.now() (114d31feee)
Android specific
- Logging a soft error when ReactRootView has an id other than -1 instead of crashing the app in hybrid apps (1ca2c24930 by @Kunal-Airtel2022)
You can participate in the conversation on the status of this release in this discussion
To help you upgrade to this version, you can use the upgrade helper ⚛️
You can find the whole changelog history in the changelog.md file.
0.70.0-rc.2
To try it, run:
npx react-native init RN070RC2 --version 0.70.0-rc.2
-
You can participate in the conversation on the status of this release in the working group
-
To help you upgrade to this version, you can use the upgrade helper ⚛️
-
The full list of changes in release can read in the changelog PR
Help us testing 🧪
We need your help testing one feature in particular with this RC (autolinking of TurboModules from libraries)! Here is what you have to do:
- generate a new app (as per command above)
- turn on the new architecture:
- iOS
cd iosbundle install && RCT_NEW_ARCH_ENABLED=1 bundle exec pod install(orRCT_NEW_ARCH_ENABLED=1 pod install)cd ..yarn ios
- Android
- go into
gradle.properties - switch the flag newArchEnabled to
true yarn android
- go into
- verify that the app is running new arch by checking the Metro log for something along the lines of
LOG Running "RN070RC1" with {"fabric":true,"initialProps":{"concurrentRoot":true},"rootTag":1}
- iOS
- add a library that has the new TM implementation (such as https://github.com/th3rdwave/react-native-safe-area-context) via
yarn add <lib> - rerun the app again (remember to do a new
RCT_NEW_ARCH_ENABLED=1 pod installfor iOS), verify that the lib added works correctly - check in the file
android/app/build/generated/rncli/src/main/jni/Android-rncli.mkthat there's a reference to the library added, something along the lines ofinclude <path>/node_modules/react-native-safe-area-context/android/build/generated/source/codegen/jni/Android.mk import-codegen-modules := \ libreact_codegen_safeareacontext - let us know how it went by posting a comment in the working group discussion! Please specify with system you tried it on (ex. macos, windows).
Bonus points: It would be even better if you could swap things around: instead of using a fresh new app, use a more complex one - or use a different library that is already leveraging the new architecture!
0.70.0-rc.1
To test it, run:
npx react-native init RN070RC1 --version 0.70.0-rc.1
You can participate in the conversation on the status of this release in the working group.
To help you upgrade to this version, you can use the upgrade helper ⚛️
See changes from this release in the changelog PR
0.69.3
Fixed
iOS specific
- Fix React-bridging header not found for third party modules (fa2acc32d1 by @Kudo)
You can participate in the conversation on the status of this release in this discussion
To help you upgrade to this version, you can use the upgrade helper ⚛️
You can find the whole changelog history in the changelog.md file.