Right this moment we’re releasing React Native v0.66 for Android 12 and iOS 15 assist alongside fixes and common updates.
Deal with faucets on youngster views outdoors guardian boundaries on Android
Because of @hsource for including interplay assist for kids rendered outdoors of guardian view boundaries through
overflow: seen. This can be a widespread use-case and aligns React Native on Android extra intently with internet requirements.
Discover extra particulars on the pull request.
New Bluetooth Permissions on Android
We’ve added assist for new Bluetooth permissions in preparation for Android 12 and we plan to replace the
targetSDKVersion to 31 within the subsequent launch.
Higher Assist for Apple Silicon, Xcode 13, and iOS 15
This launch offers plenty of options to make Xcode builds for iOS on Apple Silicon (M1) Mac machines extra dependable.
Notably, the brand new app template now features a CocoaPods workaround (because of @mikehardy!).
To use, ensure your app’s Podfile has
__apply_Xcode_12_5_M1_post_install_workaround(installer) added within the
As well as
RCT-Folly.podspec has been up to date to forestall arm64 linker failure.
Take a look at this publish we shared on getting ready your app for iOS 15 and Android 12.
Hermes 0.9.0 is primarily about closing the hole between Hermes launch lower level and this React Native launch.
Amongst ~400 commits, there have been common bug fixes alongside reminiscence and measurement wins.
See Hermes 0.9.0 launch situation for extra particulars
Nightly and “Commitly” Releases
In a latest weblog publish we shared that one in every of our targets within the second half of 2021 is to enhance our launch course of to be sooner and extra secure. As a part of this effort we’re working to make React Native extra secure on predominant and to scale back the bugs recognized throughout our Launch Candidate course of.
Whereas we have now been publishing nightly releases of React Native for over a yr, these releases haven’t been successfully utilized by most initiatives. They’re now simpler to entry and we hope to make use of them as launch candidates going ahead. Nightly releases are revealed to npm underneath the “nightly” tag.
To enhance the method of testing particular person commits, React Native’s CI will now create a tarball artifact for every commit on the principle and launch branches in addition to for every PR. We check with them as commitlies. These commitlies won’t be revealed to npm, however they are often downloaded immediately from CircleCI. See directions beneath.
Need to assist get a PR merged? By attempting out the associated commitly and verifying the change, you’ll be offering helpful sign to assist get the change landed!
Utilizing Nightly Releases (Nightlies)
The method for migrating your venture to a React Native nightly launch is similar to the one you’d comply with when upgrading to an everyday model, with the exception that instruments just like the Improve Helper don’t at the moment work with nightlies. With that in thoughts, we advocate that you simply first improve your venture to the newest secure launch if in case you have not finished so but. Then, run
yarn improve [email protected] to put in the newest nightly launch. Observe that there could also be extra adjustments which are wanted on your venture to work correctly on a nightly launch.
Utilizing Commitly Releases (Commitlies)
Similar to with a nightly launch, first be sure that your venture has been upgraded to the newest secure model. Then, go to the
react-native dashboard on Circle CI and lookup the workflow that was triggered by the commit in query. There, it is best to see a job named
build_npm_package. That job could have an “Artifacts” panel which is able to present a hyperlink that you could be use to obtain a tarball file. You’ll be able to then run the next:
$ yarn add <path to tarball>
$ npm add <path to tarball>
This launch contains 621 commits with 92 contributors! Thanks to all our contributors new and outdated! Yow will discover the full changelog right here.
As nicely, thanks to the next contributors for his or her assist in getting ready, testing and unblocking this launch!