Skip to content

Commit 3b9cf3a

Browse files
kelsetSimek
andauthored
blogpost for 0.68 (facebook#3041)
* add blogpost Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>
1 parent e950e37 commit 3b9cf3a

File tree

2 files changed

+84
-0
lines changed

2 files changed

+84
-0
lines changed
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
---
2+
title: Announcing React Native 0.68
3+
authors: [kelset, shikaSD]
4+
tags: [announcement, release]
5+
---
6+
7+
# Announcing 0.68
8+
9+
Hello everyone! Today we are announcing the 0.68.0 release of React Native, with opt-in to the New React Native Architecture, bug fixes and more.
10+
11+
### Sections
12+
13+
- [Highlights of 0.68](/blog/2022/03/30/version-068#highlights-of-068)
14+
- [Opting in into the New Architecture](/blog/2022/03/30/version-068#opting-in-into-the-new-architecture)
15+
- [Website updates](/blog/2022/03/30/version-068#website-updates)
16+
- [Interested in helping React Native stabilise new releases?](/blog/2022/03/30/version-068#interested-in-helping-react-native-stabilize-new-releases)
17+
18+
<!--truncate-->
19+
20+
## Highlights of 0.68
21+
22+
[Andrei Calazans](https://twitter.com/Andrei_Calazans) helped us selecting the most relevant changes that 0.68 brings along:
23+
24+
### Breaking changes and version bumps
25+
26+
This version brings along a few breaking changes:
27+
28+
- React Native has been updated to Node 16, the latest LTS. Since on CI we test for LTS and the previous LTS, this change means that users are now required to use a version of Node >= 14.
29+
- Android Gradle Plugin was updated to 7.0.1, enforcing JDK 11 for Android builds, so make sure to upgrade your configurations (we recommend you use the `temurin11` JDK flavor)
30+
- Removed `fallbackResource` from `RCTBundleURLProvider` API on iOS.
31+
32+
Tooling has also been updated - here are the main bumps:
33+
34+
- @react-native-community/cli to 7.0.3
35+
- Metro to 0.67
36+
- react-devtools-core dependency to 4.23.0
37+
- Flipper to 0.125.0
38+
- react-native-codegen to 0.0.9
39+
- Kotlin to 1.6.10
40+
- Soloader to 0.10.3
41+
- Gradle to 7.3
42+
- Android compile and target SDK to 31
43+
44+
Also, thanks to [this commit](https://github.com/facebook/react-native/commit/bd7caa64f5d6ee5ea9484e92c3629c9ce711f73c) by [Nicola Corti](https://github.com/cortinico) the Android Gradle Plugin will download the default version of NDK by itself, so you don’t have to specify and install it separately anymore.
45+
46+
### Other improvements
47+
48+
There are a lot of other changes and fixes landed in this release, but here’s a small selection that you might be interested in:
49+
50+
- [Gijs Weterings](https://github.com/GijsWeterings) [fixed Forwarding testID to RCTModalHostView](https://github.com/facebook/react-native/commit/5050e7eaa17cb417baf7c20eb5c4406cce6790a5) for easier E2E targeting of Modals.
51+
- [Liam Jones](https://github.com/liamjones) [fixed an issue](https://github.com/facebook/react-native/commit/9d2df5b8ae9) where calling `console.error` caused the RedBox to appear alongside the LogBox.
52+
- [Sam Kline](https://github.com/samkline) [fixed the empty blank screen](https://github.com/facebook/react-native/commit/c8d823b9bd9619dfa1f5851af003cc24ba2e8830) after a BundleDownloader failure in dev mode on Android.
53+
- [Jeffrey Hyer](https://github.com/JeffreyHyer) [fixed an issue](https://github.com/facebook/react-native/commit/9c5e177a79c) where the KeyboardAvoidingView didn't work as expected with the `onLayout` prop.
54+
55+
If you are interested in the full list of changes, you can read it in the changelog [at the link here](https://github.com/facebook/react-native/blob/main/CHANGELOG.md#0680).
56+
57+
### Acknowledgements
58+
59+
This release includes 614 commits by 68 contributors! Thank you all!
60+
61+
We wanted to also thank the release testers and supporters who helped us catch regressions before the stable 0.68.0 release: you are incredibly valuable to the success of this release!
62+
63+
If you, your app or your company is interested in joining the “Release Tester” program, you can [sign up here](https://forms.gle/fPuPE1MZRDGWNqpd6).
64+
65+
## Opting in into the New Architecture
66+
67+
As briefly mentioned above, React Native 0.68 is the first version with opt-in support for the Fabric Renderer and the TurboModule system. This marks a crucial milestone for the rollout of the New React Native Architecture. To help you get up to speed with the changes, we added [the Architecture section](/architecture/overview) to the website, where you can find several in-depth guides about internals of the new systems.
68+
69+
At the same time, we added the [migration guide](/docs/next/new-architecture-intro) to the documentation and launched [a working group](https://github.com/reactwg/react-native-new-architecture) dedicated to the New Architecture. You can find more information, including how to opt in, in [the previous blog post](/blog/2022/03/15/an-update-on-the-new-architecture-rollout).
70+
71+
Please note that the New Architecture still needs some fine tuning. Some of the third-party libraries that you depend on might not be migrated yet, and you may encounter issues that we haven’t discovered yet. If you do so, please report them to our [New Architecture Working Group](https://github.com/reactwg/react-native-new-architecture).
72+
73+
**About React 18:** React 18's new rendering engine is not supported by React Native 0.68, this will happen in a future version. This is because React 18 relies on the New Architecture to benefit from the new capabilities presented in [the React 18 announcement blog post](https://reactjs.org/blog/2022/03/29/react-v18.html). For more information, see the [React Conf keynote here](https://www.youtube.com/watch?v=FZ0cG47msEk&t=1530s).
74+
75+
## Website updates
76+
77+
Along with improvements to the main codebase, with the help of [Simek](https://github.com/Simek), [Megatron4537](https://github.com/Megatron4537) and [slorber](https://github.com/slorber) there have been quite a few improvements landing on the website too! In particular, you will now be able to learn how to contribute to React Native via the new section in the top toolbar.
78+
Moreover, the “Contributing” section and the new “Architecture” section are now unversioned — there is now only one copy of these sections, rather than one for each React Native version.

website/blog/authors.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,9 @@ cortinico:
4545
title: Software Engineer at Meta
4646
url: https://twitter.com/cortinico
4747
image_url: https://github.com/cortinico.png
48+
49+
shikaSD:
50+
name: Andrei Shikov
51+
title: Software Engineer at Meta
52+
url: https://twitter.com/shikasd_
53+
image_url: https://github.com/ShikaSD.png

0 commit comments

Comments
 (0)