From 8606c3977b0daf954b02da1bd87490cc73495499 Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Mon, 5 Sep 2022 15:13:17 +0100 Subject: [PATCH 1/9] Blog post for 0.70 RN release --- website/blog/2022-09-05-version-070.md | 112 +++++++++++++++++++++++++ website/blog/authors.yml | 10 +++ 2 files changed, 122 insertions(+) create mode 100644 website/blog/2022-09-05-version-070.md diff --git a/website/blog/2022-09-05-version-070.md b/website/blog/2022-09-05-version-070.md new file mode 100644 index 00000000000..8d7ddae4b18 --- /dev/null +++ b/website/blog/2022-09-05-version-070.md @@ -0,0 +1,112 @@ +--- +title: Announcing React Native 0.70 +authors: [dmitryrykun, titozzz, cortinico, kelset] +tags: [announcement, release] +--- + +# Announcing 0.70 + +We are excited to release a new version of React Native, 0.70.0. This version comes with several improvements like a new unified configuration for Codegen, Hermes as default engine, and full CMake support for Android builds along with a refresh of the documentation for the New Architecture. Read on to learn more! + +### Sections + +- New Architecture’s New Documentation +- A new unified configuration for Codegen +- Hermes as default engine +- Android Auto-linking for New Architecture libraries +- Full CMake support for Android builds +- Highlights of 0.70 +- [Highlights of 0.70](/blog/2022/09/05/version-070#highlights-of-070) + + + +## New Architecture’s New Documentation + +Over the last few months we have been working to add more content to the [New Architecture](https://reactnative.dev/docs/next/the-new-architecture/landing-page) section of the documentation: in the new section you will find migration guides, examples and tutorials to get you up and running more easily. + +Along with it, you will find new documents diving into [Why a New Architecture](https://reactnative.dev/docs/next/the-new-architecture/why) and [the various parts of it](https://reactnative.dev/docs/next/the-new-architecture/pillars), that we hope will help you better understand the reasoning around the new APIs. + +Any feedback is more than welcome, please let us know in the [react-native-website](https://github.com/facebook/react-native-website) repository. + +## Hermes as default engine + +React Native 0.70 will be the first version of having Hermes, our in-house JS engine, enabled by default. + +This is the result of collaborative effort between the Hermes team and the React Native team, alongside with the priceless contributions from the community. We worked to improve and fine tune Hermes to make it more performant and deliver highly requested features by the community. + +You can read more about it in the [official announcement blogpost](https://reactnative.dev/blog/2022/07/08/hermes-as-the-default). + +## A new unified configuration for Codegen + +With 0.70, we introduced a unified way to define the Codegen specs together for iOS and Android. Previously, you had to put the Android configuration in a separate `build.gradle` file. + +Now, you can define it directly in the package.json with: + +```json + "codegenConfig": { + "name": "CustomAnimationView", + "type": "components", + "jsSrcsDir": "./src" + } +``` + +We hope that this improvement will provide a more consistent experience for library maintainers in migrating their codebases to the New Architecture. + +If you are a library maintainer, please make sure to let us know how the process is going for you in [this discussion](https://github.com/reactwg/react-native-new-architecture/discussions/6) in the [React Native New Architecture working group](https://github.com/reactwg/react-native-new-architecture). + +## Android Auto-linking for New Architecture libraries + +With 0.70, users on New Architecture will be able to automatically link libraries without any configuration on their Android.mk or CMake files. + +Autolinking it’s a crucial part of the React Native development experience. It allows you to include external libraries with just a `yarn add` command without having to deal with CocoaPods or Gradle setups. + +The New Architecture required us to adapt the auto-linking features to support libraries which are using the Codegen and exposing native code to app developers. + +While Autolinking worked well for New Architecture libraries on iOS, the same was not true for Android. With 0.70 we closed this gap and you can now keep on including libraries with `yarn add` to your project, they will be linked correctly both on any architecture. + +## Full CMake support for Android builds + +Starting from 0.70, users can now use CMake to configure their Native builds. While we don’t expect app users to directly write C++ code, you still need an entry point for the native compilation. + +From now on you can use a `CMakeLists.txt` file instead of an `Android.mk` file for anything Android/Native related in your project. + +This change will benefit app and library users on the New Architecture as: + +- The CMake file created in your app is way smaller ([3 lines of code](https://github.com/facebook/react-native/blob/9923ac1b524ae959abdf50a28a3094198015f77e/packages/rn-tester/android/app/src/main/jni/CMakeLists.txt#L6-L11) versus [50+ for Android.mk files](https://github.com/facebook/react-native/blob/main/template/android/app/src/main/jni/Android.mk?rgh-link-date=2022-07-20T18%3A29%3A07Z)) so this makes for an easier update experience between React Native versions in the future and less code to maintain on your end. +- Codegen is now generating both `Android.mk` and `CMakeLists.txt`, so libraries should not worry about doing anything if they're using the default setup we provide for New Architecture libraries. +- The Auto-linking mentioned above will work with both CMake and Android.mk files out of the box. +- Despite apps being free to use either `Android.mk` or CMake files, the recommended solution in the future would be CMake files (due to better documentation, tooling and ecosystem around CMake). + +## Highlights of 0.70 + +As mentioned above, some of the more important improvements in this release are centered around the New Architecture experience. However, there have been other notable changes, including: + +- Fix for Catalyst is live, set mac_catalyst_enabled to true in Podfile (see [upgrade-helper](https://react-native-community.github.io/upgrade-helper/?from=0.69.1&to=0.70.0-rc.0) diff for details). +- Bumping metro to 0.72.0 should enable the "new" react jsx transform: [reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html](https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html). +- Removing reactnativeutilsjni as it is built from the same sources as reactnativejni ([https://github.com/facebook/react-native/pull/34339](https://github.com/facebook/react-native/pull/34339)). + +### Breaking changes + +There have also been a few breaking changes: + +- Removed jest/preprocessor from the react-native package ([0301cb285b](https://github.com/facebook/react-native/commit/0301cb285b2e85b48a397fe58d565196654d9754) by [@motiz88](https://github.com/motiz88)) +- Remove nonstandard Promise.prototype.done ([018d5cf985](https://github.com/facebook/react-native/commit/018d5cf985497273dd700b56168cf1cf64f498d5) by [@motiz88](https://github.com/motiz88)) + +Please also note that the version of Metro has been bumped to 0.72, which comes [with 5 breaking changes](https://github.com/facebook/metro/releases/tag/v0.72.0). + +### Upgrades + +And we upgraded some of our dependencies: + +- Bump RN CLI to v9.0.0 +- Bump Android Gradle Plugin to 7.2.1 +- Bump Gradle to 7.4.2 +- Bump RCT-Folly to 2021-07-22 +- Bump Metro to 0.72 +- Bump SoLoader to 0.10.4 + +You can check out the full list of changes [in the changelog](https://github.com/facebook/react-native/blob/main/CHANGELOG.md). + +### Acknowledgements + +87 contributors with their 492 commits have helped to make this release possible - thanks everyone! We are also thankful to everyone else who gave their feedback to ensure this release would be as stable as possible. diff --git a/website/blog/authors.yml b/website/blog/authors.yml index bda54d823cb..0d532f48ebf 100644 --- a/website/blog/authors.yml +++ b/website/blog/authors.yml @@ -68,3 +68,13 @@ micleo: name: Michael Leon title: Software Engineer at Meta image_url: https://github.com/fbmal7.png + +dmitryrykun: + name: Dmitry Rykun + title: Software Engineer at Meta + image_url: https://github.com/dmitryrykun.png + +titozzz: + name: Thibault Malbranche + title: Lead Mobile Engineer at Brigad + image_url: https://github.com/titozzz.png From 6b4f8a44b1a64fde35e733f396481159321562fe Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Mon, 5 Sep 2022 15:51:16 +0100 Subject: [PATCH 2/9] Fixes and TOC --- website/blog/2022-09-05-version-070.md | 15 +++++++-------- website/blog/authors.yml | 2 ++ 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/website/blog/2022-09-05-version-070.md b/website/blog/2022-09-05-version-070.md index 8d7ddae4b18..074bf424e25 100644 --- a/website/blog/2022-09-05-version-070.md +++ b/website/blog/2022-09-05-version-070.md @@ -10,19 +10,18 @@ We are excited to release a new version of React Native, 0.70.0. This version co ### Sections -- New Architecture’s New Documentation -- A new unified configuration for Codegen -- Hermes as default engine -- Android Auto-linking for New Architecture libraries -- Full CMake support for Android builds -- Highlights of 0.70 +- [New Architecture’s New Documentation](/blog/2022/09/05/version-070#new-architectures-new-documentation) +- [Hermes as default engine](/blog/2022/09/05/version-070#hermes-as-default-engine) +- [A new unified configuration for Codegen](/blog/2022/09/05/version-070#a-new-unified-configuration-for-codegen) +- [Android Auto-linking for New Architecture libraries](/blog/2022/09/05/version-070#android-auto-linking-for-new-architecture-libraries) +- [Full CMake support for Android builds](/blog/2022/09/05/version-070#full-cmake-support-for-android-builds) - [Highlights of 0.70](/blog/2022/09/05/version-070#highlights-of-070) ## New Architecture’s New Documentation -Over the last few months we have been working to add more content to the [New Architecture](https://reactnative.dev/docs/next/the-new-architecture/landing-page) section of the documentation: in the new section you will find migration guides, examples and tutorials to get you up and running more easily. +Over the last few months we have been working to add more content to the [New Architecture](https://reactnative.dev/docs/next/the-new-architecture/landing-page) section of the documentation: in the new section you will find migration guides, examples and tutorials to get you up to speed. Along with it, you will find new documents diving into [Why a New Architecture](https://reactnative.dev/docs/next/the-new-architecture/why) and [the various parts of it](https://reactnative.dev/docs/next/the-new-architecture/pillars), that we hope will help you better understand the reasoning around the new APIs. @@ -58,7 +57,7 @@ If you are a library maintainer, please make sure to let us know how the process With 0.70, users on New Architecture will be able to automatically link libraries without any configuration on their Android.mk or CMake files. -Autolinking it’s a crucial part of the React Native development experience. It allows you to include external libraries with just a `yarn add` command without having to deal with CocoaPods or Gradle setups. +Autolinking it's a crucial part of the React Native development experience. It allows you to include external libraries with a `yarn add` command without having to deal with CocoaPods or Gradle setups. The New Architecture required us to adapt the auto-linking features to support libraries which are using the Codegen and exposing native code to app developers. diff --git a/website/blog/authors.yml b/website/blog/authors.yml index 0d532f48ebf..38f80918bb9 100644 --- a/website/blog/authors.yml +++ b/website/blog/authors.yml @@ -72,9 +72,11 @@ micleo: dmitryrykun: name: Dmitry Rykun title: Software Engineer at Meta + url: https://github.com/dmitryrykun image_url: https://github.com/dmitryrykun.png titozzz: name: Thibault Malbranche title: Lead Mobile Engineer at Brigad + url: https://github.com/titozzz image_url: https://github.com/titozzz.png From 1758e07676691eddeaacfd97c2b70fd65f86f16c Mon Sep 17 00:00:00 2001 From: Dmytro Rykun Date: Mon, 5 Sep 2022 16:02:35 +0100 Subject: [PATCH 3/9] Update my GH handle --- website/blog/authors.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/website/blog/authors.yml b/website/blog/authors.yml index 38f80918bb9..f5cf7f3fcd1 100644 --- a/website/blog/authors.yml +++ b/website/blog/authors.yml @@ -69,11 +69,11 @@ micleo: title: Software Engineer at Meta image_url: https://github.com/fbmal7.png -dmitryrykun: - name: Dmitry Rykun +dmytrorykun: + name: Dmytro Rykun title: Software Engineer at Meta - url: https://github.com/dmitryrykun - image_url: https://github.com/dmitryrykun.png + url: https://github.com/dmytrorykun + image_url: https://github.com/dmytrorykun.png titozzz: name: Thibault Malbranche From 10d7701a3cc1909d53281d93fbbdafc3ce6755a0 Mon Sep 17 00:00:00 2001 From: Dmytro Rykun Date: Mon, 5 Sep 2022 16:04:03 +0100 Subject: [PATCH 4/9] Update my GH handle --- website/blog/2022-09-05-version-070.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/blog/2022-09-05-version-070.md b/website/blog/2022-09-05-version-070.md index 074bf424e25..e4cc7102c2d 100644 --- a/website/blog/2022-09-05-version-070.md +++ b/website/blog/2022-09-05-version-070.md @@ -1,6 +1,6 @@ --- title: Announcing React Native 0.70 -authors: [dmitryrykun, titozzz, cortinico, kelset] +authors: [dmytrorykun, titozzz, cortinico, kelset] tags: [announcement, release] --- From 72e3fceb872cd24cf667391280c77cf0ec4dfb16 Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Mon, 5 Sep 2022 16:56:16 +0100 Subject: [PATCH 5/9] Apply suggestions from code review Co-authored-by: Riccardo --- website/blog/2022-09-05-version-070.md | 28 +++++++++++++------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/website/blog/2022-09-05-version-070.md b/website/blog/2022-09-05-version-070.md index e4cc7102c2d..b08b915e4b6 100644 --- a/website/blog/2022-09-05-version-070.md +++ b/website/blog/2022-09-05-version-070.md @@ -21,15 +21,15 @@ We are excited to release a new version of React Native, 0.70.0. This version co ## New Architecture’s New Documentation -Over the last few months we have been working to add more content to the [New Architecture](https://reactnative.dev/docs/next/the-new-architecture/landing-page) section of the documentation: in the new section you will find migration guides, examples and tutorials to get you up to speed. +Over the last few months, we have been working to add more content to the [New Architecture](https://reactnative.dev/docs/next/the-new-architecture/landing-page) section of the documentation. In the new section you can find migration guides, examples and tutorials to get you up to speed. -Along with it, you will find new documents diving into [Why a New Architecture](https://reactnative.dev/docs/next/the-new-architecture/why) and [the various parts of it](https://reactnative.dev/docs/next/the-new-architecture/pillars), that we hope will help you better understand the reasoning around the new APIs. +Along with it, you can find new documents diving into [Why a New Architecture](https://reactnative.dev/docs/next/the-new-architecture/why) and [the various parts of it](https://reactnative.dev/docs/next/the-new-architecture/pillars). We hope this helps you better understand the rationale behind the new APIs. Any feedback is more than welcome, please let us know in the [react-native-website](https://github.com/facebook/react-native-website) repository. ## Hermes as default engine -React Native 0.70 will be the first version of having Hermes, our in-house JS engine, enabled by default. +React Native 0.70 is the first version with Hermes, our in-house JS engine, enabled by default. This is the result of collaborative effort between the Hermes team and the React Native team, alongside with the priceless contributions from the community. We worked to improve and fine tune Hermes to make it more performant and deliver highly requested features by the community. @@ -37,7 +37,7 @@ You can read more about it in the [official announcement blogpost](https://react ## A new unified configuration for Codegen -With 0.70, we introduced a unified way to define the Codegen specs together for iOS and Android. Previously, you had to put the Android configuration in a separate `build.gradle` file. +With 0.70, we introduced a unified way to define the Codegen specs for both iOS and Android. Previously, you had to put the Android configuration in a separate `build.gradle` file. Now, you can define it directly in the package.json with: @@ -49,19 +49,19 @@ Now, you can define it directly in the package.json with: } ``` -We hope that this improvement will provide a more consistent experience for library maintainers in migrating their codebases to the New Architecture. +This improvement provides a more consistent experience for library maintainers in migrating their codebases to the New Architecture. If you are a library maintainer, please make sure to let us know how the process is going for you in [this discussion](https://github.com/reactwg/react-native-new-architecture/discussions/6) in the [React Native New Architecture working group](https://github.com/reactwg/react-native-new-architecture). ## Android Auto-linking for New Architecture libraries -With 0.70, users on New Architecture will be able to automatically link libraries without any configuration on their Android.mk or CMake files. +With 0.70, users on New Architecture are able to automatically link libraries without any additional configuration on their Android.mk or CMake files. -Autolinking it's a crucial part of the React Native development experience. It allows you to include external libraries with a `yarn add` command without having to deal with CocoaPods or Gradle setups. +Autolinking is a crucial part of the React Native development experience. It allows you to include external libraries with a `yarn add` command, without dealing with CocoaPods or Gradle setups. The New Architecture required us to adapt the auto-linking features to support libraries which are using the Codegen and exposing native code to app developers. -While Autolinking worked well for New Architecture libraries on iOS, the same was not true for Android. With 0.70 we closed this gap and you can now keep on including libraries with `yarn add` to your project, they will be linked correctly both on any architecture. +While Autolinking worked well for New Architecture libraries on iOS, the same was not true for Android. With 0.70 we closed this gap and you can now keep on including libraries with `yarn add` to your project: they will be linked correctly on any architecture. ## Full CMake support for Android builds @@ -69,9 +69,9 @@ Starting from 0.70, users can now use CMake to configure their Native builds. Wh From now on you can use a `CMakeLists.txt` file instead of an `Android.mk` file for anything Android/Native related in your project. -This change will benefit app and library users on the New Architecture as: +This change benefits both app and library users on the New Architecture as: -- The CMake file created in your app is way smaller ([3 lines of code](https://github.com/facebook/react-native/blob/9923ac1b524ae959abdf50a28a3094198015f77e/packages/rn-tester/android/app/src/main/jni/CMakeLists.txt#L6-L11) versus [50+ for Android.mk files](https://github.com/facebook/react-native/blob/main/template/android/app/src/main/jni/Android.mk?rgh-link-date=2022-07-20T18%3A29%3A07Z)) so this makes for an easier update experience between React Native versions in the future and less code to maintain on your end. +- The CMake file created in your app is way smaller ([3 lines of code](https://github.com/facebook/react-native/blob/9923ac1b524ae959abdf50a28a3094198015f77e/packages/rn-tester/android/app/src/main/jni/CMakeLists.txt#L6-L11) versus [50+ for Android.mk files](https://github.com/facebook/react-native/blob/main/template/android/app/src/main/jni/Android.mk?rgh-link-date=2022-07-20T18%3A29%3A07Z)). This makes for an easier update experience between React Native versions in the future and less code to maintain on your end. - Codegen is now generating both `Android.mk` and `CMakeLists.txt`, so libraries should not worry about doing anything if they're using the default setup we provide for New Architecture libraries. - The Auto-linking mentioned above will work with both CMake and Android.mk files out of the box. - Despite apps being free to use either `Android.mk` or CMake files, the recommended solution in the future would be CMake files (due to better documentation, tooling and ecosystem around CMake). @@ -80,16 +80,16 @@ This change will benefit app and library users on the New Architecture as: As mentioned above, some of the more important improvements in this release are centered around the New Architecture experience. However, there have been other notable changes, including: -- Fix for Catalyst is live, set mac_catalyst_enabled to true in Podfile (see [upgrade-helper](https://react-native-community.github.io/upgrade-helper/?from=0.69.1&to=0.70.0-rc.0) diff for details). -- Bumping metro to 0.72.0 should enable the "new" react jsx transform: [reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html](https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html). -- Removing reactnativeutilsjni as it is built from the same sources as reactnativejni ([https://github.com/facebook/react-native/pull/34339](https://github.com/facebook/react-native/pull/34339)). +- Fix for Catalyst is live, set `mac_catalyst_enabled` to `true` in Podfile (see [upgrade-helper](https://react-native-community.github.io/upgrade-helper/?from=0.69.1&to=0.70.0-rc.0) diff for details). +- Bumping metro to 0.72.0 should enable the "new" react JSX transform: [reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html](https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html). +- Removing `reactnativeutilsjni` as it is built from the same sources as `reactnativejni` ([https://github.com/facebook/react-native/pull/34339](https://github.com/facebook/react-native/pull/34339)). ### Breaking changes There have also been a few breaking changes: - Removed jest/preprocessor from the react-native package ([0301cb285b](https://github.com/facebook/react-native/commit/0301cb285b2e85b48a397fe58d565196654d9754) by [@motiz88](https://github.com/motiz88)) -- Remove nonstandard Promise.prototype.done ([018d5cf985](https://github.com/facebook/react-native/commit/018d5cf985497273dd700b56168cf1cf64f498d5) by [@motiz88](https://github.com/motiz88)) +- Remove nonstandard `Promise.prototype.done` ([018d5cf985](https://github.com/facebook/react-native/commit/018d5cf985497273dd700b56168cf1cf64f498d5) by [@motiz88](https://github.com/motiz88)) Please also note that the version of Metro has been bumped to 0.72, which comes [with 5 breaking changes](https://github.com/facebook/metro/releases/tag/v0.72.0). From 8b94329f80bd378d5832cfc1a9d8e9451b48079b Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Mon, 5 Sep 2022 16:58:17 +0100 Subject: [PATCH 6/9] Update @titozzz Twitter handle --- website/blog/authors.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/blog/authors.yml b/website/blog/authors.yml index f5cf7f3fcd1..9f96647f23d 100644 --- a/website/blog/authors.yml +++ b/website/blog/authors.yml @@ -78,5 +78,5 @@ dmytrorykun: titozzz: name: Thibault Malbranche title: Lead Mobile Engineer at Brigad - url: https://github.com/titozzz + url: https://twitter.com/titozzz image_url: https://github.com/titozzz.png From dcd5d8e03066d6152bc560334d7d7834cfa0f89f Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Mon, 5 Sep 2022 16:59:59 +0100 Subject: [PATCH 7/9] Add example for javaPackageName --- website/blog/2022-09-05-version-070.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/website/blog/2022-09-05-version-070.md b/website/blog/2022-09-05-version-070.md index b08b915e4b6..18cf4a885fe 100644 --- a/website/blog/2022-09-05-version-070.md +++ b/website/blog/2022-09-05-version-070.md @@ -45,7 +45,10 @@ Now, you can define it directly in the package.json with: "codegenConfig": { "name": "CustomAnimationView", "type": "components", - "jsSrcsDir": "./src" + "jsSrcsDir": "./src", + "android": { + "javaPackageName": "com.custom.animation" + } } ``` From fb9ddc1e44e29f25494a5c26afb28b31c04e25bd Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Mon, 5 Sep 2022 18:19:21 +0100 Subject: [PATCH 8/9] Update commits count --- website/blog/2022-09-05-version-070.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/blog/2022-09-05-version-070.md b/website/blog/2022-09-05-version-070.md index 18cf4a885fe..aeec218ff0b 100644 --- a/website/blog/2022-09-05-version-070.md +++ b/website/blog/2022-09-05-version-070.md @@ -111,4 +111,4 @@ You can check out the full list of changes [in the changelog](https://github.com ### Acknowledgements -87 contributors with their 492 commits have helped to make this release possible - thanks everyone! We are also thankful to everyone else who gave their feedback to ensure this release would be as stable as possible. +88 contributors with their 493 commits have helped to make this release possible - thanks everyone! We are also thankful to everyone else who gave their feedback to ensure this release would be as stable as possible. From 570c692b1d0204d61918c76f67eb045194596fb0 Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Mon, 5 Sep 2022 18:24:54 +0100 Subject: [PATCH 9/9] Minor fixes to the wording --- website/blog/2022-09-05-version-070.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/blog/2022-09-05-version-070.md b/website/blog/2022-09-05-version-070.md index aeec218ff0b..5865cedc721 100644 --- a/website/blog/2022-09-05-version-070.md +++ b/website/blog/2022-09-05-version-070.md @@ -84,8 +84,8 @@ This change benefits both app and library users on the New Architecture as: As mentioned above, some of the more important improvements in this release are centered around the New Architecture experience. However, there have been other notable changes, including: - Fix for Catalyst is live, set `mac_catalyst_enabled` to `true` in Podfile (see [upgrade-helper](https://react-native-community.github.io/upgrade-helper/?from=0.69.1&to=0.70.0-rc.0) diff for details). -- Bumping metro to 0.72.0 should enable the "new" react JSX transform: [reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html](https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html). -- Removing `reactnativeutilsjni` as it is built from the same sources as `reactnativejni` ([https://github.com/facebook/react-native/pull/34339](https://github.com/facebook/react-native/pull/34339)). +- Bumping metro to 0.72.0 which will enable the new React JSX Transform: [reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html](https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html). +- Removing `reactnativeutilsjni` as it is built from the same sources as `reactnativejni` which results in ~220 KBs saved from every Android APK build. ([https://github.com/facebook/react-native/pull/34339](https://github.com/facebook/react-native/pull/34339)). ### Breaking changes @@ -102,7 +102,7 @@ And we upgraded some of our dependencies: - Bump RN CLI to v9.0.0 - Bump Android Gradle Plugin to 7.2.1 -- Bump Gradle to 7.4.2 +- Bump Gradle to 7.5.1 - Bump RCT-Folly to 2021-07-22 - Bump Metro to 0.72 - Bump SoLoader to 0.10.4