React Native v0.70 released

React Native 0.70 introduces Hermes as the default JavaScript engine on both Android and iOS. It includes updates to Metro, CLI, and Gradle plugin versions. Key changes include improved TypeScript support, new accessibility features, and various bug fixes across Android and iOS platforms. The release also removes some deprecated APIs and improves build processes and error handling.


v0.70 on GitHub (npm)


Release blog post


Changelog


v0.70.15

Changed

Fixed

iOS specific

v0.70.14

Changed

Fixed

iOS specific

v0.70.13

Fixed

v0.70.12

Fixed

iOS specific

v0.70.11

Changed

  • Bump CLI to 9.3.3 and Metro do 0.72.4 (2a9d71dc34 by @kelset) to address https://github.com/facebook/react-native/issues/36794

v0.70.10

Fixed

Android specific

iOS specific

  • USE_HERMES envvar check fixed in react-native-xcode.sh. (61106ac680) by @kidroca)
  • USE_HERMES envvar check fixed in react-native-xcode.sh. Now source maps are generated by default. (8ad63714) by @dmytrorykun)
  • USE_HERMES envvar check fixed in react-native-xcode.sh. (4108b3) by @dmytrorykun)
  • When source maps are enabled, clean up temporary files from the build directory. Reduces bundle size by at least 1MB. (bad3949) by @dmytrorykun)
  • Make 0.70 compatible with Xcode 15 (thanks to @AlexanderEggers for the commit in main) (c5e549e694)

v0.70.9

Changed

  • Update Hermes to hermes-2023-04-13-RNv0.70.8-c9b539bf3d7bfa4143ff1a5751886c7b2dd728a2 (7b1441730b), contains:
    • Remove register stack size override in hermes.cpp (03f2df)
    • Increase default max stack size (1b759f4)

Fixed

Android specific

iOS specific

v0.70.8

Changed

iOS specific

Fixed

iOS specific

v0.70.7

Fixed

Android specific

iOS Specific

  • Fix the potential race condition when dismissing and presenting modal (279fb52e03 by @wood1986)

Added

Android Specific

v0.70.6

Fixed

  • Fixed regression: @jest/create-cache-key-function dependency was inadvertedly bumped to 29.x. We are bringing it back to 27.0.1. (fb0e88beb9 by @kelset)

Changed

iOS specific

v0.70.5

Fixed

v0.70.4

Changed

Fixed

iOS specific

v0.70.3

Fixed

  • Stop styles from being reset when detaching Animated.Values in old renderer (2f58e52006 by @javache)
  • Revert "Fix TextInput dropping text when used as uncontrolled component with defaultValue" to fix TextInputs not being settable to undefined programmatically (e2645a5) by Garrett Forbes Monroe

Android specific

iOS specific

  • Add xcode 14 workaround (turn off signing resource bundles) for React-Core (967de03f30 by @kelset)

v0.70.2

Added

iOS specific

Changed

Fixed

Android specific

  • Fix port as -1 if dev server without specifying port on Android (3d7e1380b4 by @Kudo)

v0.70.1

Added

Changed

Fixed

Android specific

iOS specific

0.70.0

Breaking

Added

Android specific

iOS specific

Changed

Android specific

iOS specific

Removed

iOS specific

Fixed

Android specific

  • Fixed HorizontalScrollView API scrollToEnd causing NPE in side-effects. (e5ba6ab7b4 by @ryancat)
  • Fix InputAccessoryView crash on Android (afa5df1764 by @hduprat)
  • Bring back non-rootview touch handling based on reactTag (8b837268b4 by @fkgozali)
  • Make Text not focusable by default (8ced165e53 by @kacieb)
  • Revert PR 33924 because of issues with TextInputs with numeric keyboard types not respecting the secureTextEntry prop (edb27e3aa1 by @charlesbdudley)
  • Fix edge case when we enqueue a pending event to views on stopped surface (ea7c9f2ad9 by @ryancat)
  • Fix a bug where the keyboard, once set as email, won't change back to default. (ec307e0167 by @larkox)
  • NPE in ReactEditText.setInputType when React Native is used with some versions of a AppCompat 1.4.x. (and possibly others) (92ebb298e2)
  • Fix NPE on ReactEditText due to null mFabricViewStateManager (ba6bf5a3ce by @cortinico)
  • Scroll views would still receive scroll events when nested in a view with pointer-events: "none" (fced96bf52 by @javache)
  • Fixed an edge case that event dispatching is failed after pre-allocation of a view and before the view is mounted. (a093fe5f2f by @ryancat)
  • Avoid crash by handling missing views in dispatchViewManagerCommand (ee1a191cb1 by @hsource)
  • Pass react build dir to cmake (6ab7a99518 by @janicduplessis)
  • Fix missing space in ReactPropertyException message (24560b6718 by @markv)
  • Fix import path breakage (2e1e62f2bf by @aniketmathur)
  • When onEndReachedThreshold is set to 0 onEndReached function on VirtualizedList properly fires once the user scrolls to the bottom of the list. (b869680c11)
  • Fix rendering of transparent borders in RN Android (a9659ce86d by @mdvacca)
  • Exception with Cannot load WebView message will initialising WebView (along with existing checks) (9e0d8696cc by @rachitmishra)
  • Fix accessibilityState overwriting view's disabled state on Android (f35d18caa3 by @okwasniewski)
  • Make sure *.ts files are considered for task avoidance in the Gradle Plugin (1a9fb6cb68 by @cortinico)
  • Fix missing import on New Architecture build script in template (a22f30d2ce by @cortinico)

iOS specific

Security