This release of React Native enables the New Architecture by default. You can read more about it in this dedicated blog-post: the New Architecture is here.
This release also includes over 1491 commits from 165 contributors! Thank you to all our contributors new and old!
You can see all the highlights of the release in our release blog post.
flow: Eliminate a few React.Element type that will be synced to react-native (39c338ff8d by @SamChou19815)
infra Projects that intend to use the community CLI will now have to declare that dependency instead of transitively having the react-native package include it. (bd3a3e3de0 by @blakef)
infra Remove react-native-community dependencies from react-native (9269429bb9 by @blakef)
infra: TurboModules will be looked up as TurboModules first, and fallback to legacy modules after. (5a62606ab3 by @javache)
text engine Always use AttributedStringBox instead of AttributedString in TextLayoutManager (ee597bfe2bf) by @NickGerleman)
Android specific
bridging: Deleted LongArray (471445eb17 by Thomas Nardone)
initialization: Add ability to control bundle loading on the new architecture similar to loadSourceForBridge. Removed some properties from the RCTRootViewFactory. (7487a2c277 by @alanjhughes)
turbomodule [iOS] Remove Macro for autolinking pure Cxx module(184646e491 by @philIip)
codegen: Add EventEmitter Code-gen support for Java and ObjC Turbo Modules (ad3df84668 by @christophpurrer)
devtools: support for rendering Error object previews in Chrome DevTools console (cae9ae5b48 by @EdmondChuiHW)
devtools: support for rendering Error objects in Chrome DevTools console (1740a56a46 by @EdmondChuiHW)
devtools Add upper case keys to the debug key handler (6390cf67d0 by @wh201906)
devtools: Debugger: Support text responses to CDP IO.read requests (c085180264 by @robhogan)
devtools: Debugging: implement common C++ layer of CDP Network.loadNetworkResource (193cdc36f7 by @robhogan)
devtools:: Inspector: Support /open-debugger specifying target param (88ba9a6042 by @robhogan)
infra: Use PackagerAsset resolver instead of Platform.OS when its provided. (baa366654e by @andrewdacenko)
infra: Add optional PackagerAsset.resolver prop so AssetSourceResolver can use it instead of Platform.OS to identify where asset is stored on device. (3f3a85b3c5 by @andrewdacenko)
initialization Add experimental api to JSRuntimeFactory to initialize runtime on js thread (c9fbc05bbc by Benoit Girard)
metro: Expose MetroConfig type directly from react-native/metro-config. (cc6d1eb844 by @tjzel)
rsc Added support for importing react-native in a react-server environment for React Server Components support. (8989c9b71d by @EvanBacon)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps @react-native/babel-preset from 0.74.87 to 0.76.0.
Release notes
Sourced from
@react-native/babel-preset
's releases.... (truncated)
Changelog
Sourced from
@react-native/babel-preset
's changelog.... (truncated)
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show