Skip to content

Latest commit

 

History

History
1884 lines (1515 loc) · 276 KB

CHANGELOG.md

File metadata and controls

1884 lines (1515 loc) · 276 KB

Changelog

This file contains all changelogs for latest releases, from 0.70.0 onward. Please check out the other CHANGELOG-*.md files for previous versions.

v0.73.0-rc.0 / v0.73.0-rc.1

Breaking

Android specific

  • Fix: role="searchbox" should assign "SearchField" trait on iOS (2749fbca9a by @mdjastrzebski)
  • Renamed FabricMountItem.* files to MountItem.* to better match the name of the struct. (49f1237526)
  • Deleting warnOnLegacyNativeModuleSystemUse (9859fbc2ec by @philIip)
  • Do not enable excludeYogaFromRawProps feature flag, if you need to pass layout props to Java view managers when using new architecture (88e19c0ce6 by @zeyap)
  • Default to ignoring cached Metro bundle when offline (2d6106055b by @motiz88)
  • W3CPointerEvents: change click event from direct to bubbling (61eb9b4453)
  • Fix ReactTextView setPadding applying logic error (d8ced6f895 by @jcdhlzq)
  • Add view getter on RCTRootView / `RCTFabricSurfaceHostingProxyRootView (33e0521788 by @zoontek)

iOS specific

Added

Android specific

iOS specific

Changed

Android specific

iOS specific

  • Remove Flipper actions in Dev Menu, add new Open Debugger action (5bfc507655 by @huntie)
  • Moved the min iOS version to 13.4 (610b14e4f3 by @cipolleschi)
  • TurboModules are now exposed to JS as the prototype of a plain JS object, so methods can be cached (20dba39dab by @javache)
  • Restored cancelable option in Pressability configuration to not block native responder, and instead introduced a new optional blockNativeResponder boolean option to accomplish the same thing. (30e2345b26 by @yungsters)
  • Scroll ScrollView text fields into view with automaticallyAdjustsScrollIndicatorInsets (9ca16605e0 by @adamaveray)
  • Remove Xcode 15 _LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION workaround for boost (b9f0bdd12d by @Kudo)
  • Updated comment in RCTBundleURLProvider.h to instance correct jsBundleURLForBundleRoot:fallbackExtension method. (d208dc422c by @JulioCVaz)
  • Set the new arch flag based on the React Native version. (a8d268593a by @cipolleschi)
  • Add RCTPlatformName to RCTConstants.h (046ae12a6d by @Saadnajmi)
  • Use the runtime scheduler in the old Architecture (2692f206a6 by @cipolleschi)
  • Set DEFINES_MODULE xcconfig in React-RCTAppDelegate to generate a module map for this pod (7c79e3107f by @tsapeta)
  • Move .m to .mm to make obj-c and C++ headers compatible (42d67452eb)
  • Remove deprecated uses of UIActivityIndicatorViewStyle (62e9faefd5 by @Saadnajmi)
  • Fix setRuntimeConfigProvider called multiple times error (637ffb175d)
  • Set initial AppState status to "inactive" instead of "unknown" (54a5ff9745 by @louiszawadzki)
  • Return animated values to JS for natively driven animations (b0485bed09 by @genkikondo)
  • Disabled bitcode for Hermes prebuilts (de6bfec82a by @cipolleschi)
  • Make RNTester use RCTAppDelegate (680cbe757b by @cipolleschi)
  • Changed AppDelegate template to avoid retaining TurboModuleManager. (ec1ab73674 by @javache)
  • Migrate RNTester to Bridgeless (d3c28d28a9)
  • Re-organise BridgelessApple files to keep proper header file include structure (736dd5a3c0)

Deprecated

Android specific

iOS specific

  • Deprecate get_default_flags in Ruby scripts (f60b9f695e by @cipolleschi)
  • Use -[RCTTurboModuleManager installJSBindings:] instead of -[RCTTurboModuleManager installJSBindingWithRuntimeExecutor:] (7fb9e4f46c by @javache)

Removed

Android specific

iOS specific

Fixed

Android specific

iOS specific

v0.72.5

Changed

Fixed

Android specific

iOS specific

v0.72.4

Added

Android specific

  • Native part of fixing ANR when having an inverted FlatList on android API 33+ (6d206a3f54 by @hannojg)
  • For targeting SDK 34 - Added RECEIVER_EXPORTED/RECEIVER_NOT_EXPORTED flag support in DevSupportManagerBase (177d97d8ea by @apuruni)

Changed

Fixed

Android specific

v0.72.3

Fixed

iOS specific

v0.72.2

Changed

Android specific

iOS specific

Fixed

  • global.performance in undefined when starting metro from Expo CLI (0ccbd65581 by @Kudo)
  • Re-enabled debugging for debug builds (41477c898c by Matt Blagden)
  • Add global hook to assert that base Metro config is called (29f2602ff9 by @huntie)

Android specific

iOS specific

  • Fix build error when there are multiple EXTRA_COMPILER_ARGS (28f4ebab8a by @fergusean)
  • Build failure with pnpm and use_frameworks! due to incorrect header paths (58adc5e4b9 by evelant)
  • Fix onChangeText not firing when clearing the value of TextInput with multiline=true on iOS (0c9c57a9f7 by @kkoudev)
  • Fix pod install for libraries using Swift code when the new architecture is enabled (a4a0655496 by @louiszawadzki)

v0.72.1

Added

iOS specific

Changed

  • react-native/metro-config now includes all base config values from metro-config (bbcedd385b by @huntie)
  • Bump CLI to 11.3.3 (da84901f78 by @kelset)
  • Bumped @react-native/metro-config to 0.72.7, @react-native/gradle-plugin to 0.72.11, @react-native/virtualized-lists to 0.72.6 (95db9f98f2 by @kelset)

Fixed

  • react-native/virtualized-lists does not need react-test-renderer at runtime (7a2a3278d0 by @tido64)

Android specific

iOS specific

v0.72.0

Breaking

iOS specific

  • Generates RNCore components inside the ReactCommon folder and create a new pod for platform-specific ImageManager classes (5d175c6775 by @cipolleschi)
  • Moved the RCTAppSetupUtils to the AppDelegate library to break a dependency cycle (36a64dc2bd by @cipolleschi)
  • Split the ReactCommon/react/nativemodule/core/platform/ios and ReactCommon/react/nativemodule/samples in two separate pods to break circular dependencies. (21d530208f by @cipolleschi)

Added

  • Improve handling of invalid DimensionValue usage (02e29abead by @NickGerleman)
  • Add new JS performance API to support getting RN app startup timings (c1023c73b0)
  • Add performance memory API with native memory Info (70fb2dce45)
  • Added Web-compatible DOMRect and DOMRectReadOnly classes to the global scope. (673c7617bc by @rubennorte)
  • Add onStartReached and onStartReachedThreshold to VirtualizedList (7683713264 by @janicduplessis)
  • Added setColorScheme to Appearance module (c18566ffdb, (0a4dcb0309 by @birkir)
  • Add logical border block color properties (597a1ff60b by @gabrieldonadel)
  • Add logical border-radius implementation (4ae4984094 by @gabrieldonadel)
  • Added CSS logical properties. (3681df2878 by @necolas)
  • Concurrent rendering safe implementation of Animated (5cdf3cf726, (5e863fc42c by @sammy-SC)
  • Create explicit error message for TypeScript functions used as props in Codegen components, redirecting devs to the supported function types BubblingEventHandler and DirectEventHandler. (dc2cbed07c by @gtomitsuka)
  • Generate enum types that would be allowed to be used as well as string/number in c++ turbo modules generators (ceb1d0dea6 by @vzaidman)
  • Add enum example to Android/iOS rn-tester TurboModule (7c82a3fa11 by @christophpurrer)
  • Allow the use of "Partial" in Turbo Module specs. (97e707d897 by @vzaidman)
  • Added newline to UTFSequence (9cf35bfcc4)
  • Added "coverage" folder generated from jest --coverage to .gitignore (7324c22ff9 by @Adnan-Bacic)
  • Add support for getting/setting reload-and-profile-related settings in iOS + Android (96d6680e00)
  • For supporting Dev Loading View across platforms, adding the DevLoadingViewController without an activity/context. (662b51fad2)
  • Pass DevTools Settings Manager to connectToDevTools (a9bed8e75d)
  • React-native-code-gen Add Union Type support for Java/ObjC TurboModules (2eccd59d7c by @christophpurrer)
  • Making Dev Loading View cross platform by abstracting out the activity/context logic from the controller in a polymorph class. (1a4fa92b25)
  • Added CSS logical properties by mapping layout props. (cf3747957a by @mayank-96)
  • Add, but don't use, DevTools Settings Manager. (6152763398)

Android specific

  • Adding pager, scrollview, viewgroup, webview, drawer accessibility roles (55c0df43b9 by @fabriziobertoglio1987)
  • Add TYPE_VIEW_HOVER_ENTER to AccessibilityNodeInfo sendAccessibilityEvent (a0adf57e50 by @fabriziobertoglio1987)
  • Add maintainVisibleContentPosition support on Android (c19548728c by @janicduplessis)
  • For supporting Dev Loading View across multiple platforms, changing the Loading View of Android to rely on the native implementation instead of Toast while keeping backwards comptability. (9f6b532bdb)
  • For supporting Dev Loading View across multiple platforms, adding native implementation for showMessage() & hide() of Dev Loading Module (4923a0997b)
  • For supporting Dev Loading View across multiple platforms, altering the javascript implementation of Loading view of android to also rely on native implementation as iOS instead of Toast, thereby unifying both platforms (068a20842d)
  • Added possibility to mark Fresco image pipeline as already initialized (605a52fe3e by @oprisnik)
  • Support generating getName in react-native-codegen for Java TurboModules (90538909f9 by @javache)
  • Override default Talkback automatic content grouping and generate a custom contentDescription (759056b499 by @fabriziobertoglio1987)
  • Enable AnimatedInterpolation to interpolate arbitrary color types. (e7dbfb2dbd by @javache)
  • Added getter for line height in CustomLineHeightSpan (2d2f9da80b)
  • Add POST_NOTIFICATIONS permission to AndroidManifest of RNTester (c84cc4b46c by @makovkastar)

iOS specific

Changed

Android specific

iOS specific

Deprecated

iOS specific

  • Deprecate the ReactCommon/react/renderer/graphics/conversions.h in favor of ReactCommon/react/core/graphicsConversions.h (d72697ca95 by @cipolleschi)

Removed

Android specific

iOS specific

Fixed

Android specific

iOS specific

Security

iOS specific

v0.71.13

Added

Android specific

  • For targeting SDK 34 - Added RECEIVER_EXPORTED/RECEIVER_NOT_EXPORTED flag support in DevSupportManagerBase (177d97d8ea by @apuruni)

iOS specific

Fixed

  • Fix: mount devtools overlay only if react devtools are connected (b3c7a5d4cc by @hoxyq)

iOS specific

  • Fix onChangeText not firing when clearing the value of TextInput with multiline=true on iOS (0c9c57a9f7 by @kkoudev)

v0.71.12

Fixed

Android specific

iOS specific

v0.71.11

Changed

iOS specific

Fixed

Android specific

  • Fixed crash occurring in certain native views when handling keyboard events. (f7e35d4ef7 by @aleqsio)
  • Prevent crash on OnePlus/Oppo devices in runAnimationStep (f2c05142 by @hsource)
  • Revert "fix: border width top/bottom not matching the border radius" to fix border styling issues (fd8a19d by @kelset)

iOS specific

  • Make 0.71 compatible with Xcode 15 (thanks to @AlexanderEggers for the commit in main) (5bd1a4256e by @kelset)

v0.71.10

Fixed

Android specific

v0.71.9

Fixed

v0.71.8

Fixed

Android specific

iOS specific

v0.71.7

Fixed

iOS specific

Android specific

v0.71.6

Fixed

iOS specific

v0.71.5

Changed

  • Bump CLI to 10.2.2 and Metro to 0.73.9 (4c3bc24893 by @kelset), contains:
    • CLI fix: correctly list ios devices and simulators (relevant PR)
    • Metro fix: fix watching contents of new directories in NodeWatcher (ab86982 by @robhogan)

Android specific

iOS specific

Fixed

Android specific

iOS specific

v0.71.4

Changed

  • Make FlatList permissive of ArrayLike data (c03de97fb4 by @NickGerleman)
  • Bumping RNGP to ^0.71.16 (3df4a79c3d by @kelset)
  • Update CLI to 10.2.0, Metro to 0.73.8 (20a6fbd373 by @robhogan) - contains:
    • fix: Source maps may have invalid entries when using Terser minification. ((metro/#928)[facebook/metro#928])
    • fix: Mitigate potential source map mismatches with concurrent transformations due to terser#1341. ((metro/#929)[facebook/metro#929])
  • Bump Hermes Version (291cc0af10) - contains:
    • use ConsecutiveStringStorage to dedup serialized literals (62d58e)
    • Remove register stack size override in hermes.cpp (6146eb)
    • fix: specify currency in locale identifier when formatting currency plural (21f15c)
    • Increase default max stack size (ee2588)
    • Refactor HBC test helper (31fdcf)

Android specific

Fixed

Android specific

v0.71.3

Changed

Fixed

  • (codegen) Add missing C++ include for prop conversion of complex array type (92fc32aa by @rshest)

Android specific

iOS specific

v0.71.2

Added

Changed

  • Bump react-native-gradle-plugin to ^0.71.14 in core, @react-native-community/eslint-config to ^3.2.0 in starting template (785bc8d97b by @kelset)

Fixed

Android specific

iOS specific

v0.71.1

Added

Android specific

iOS specific

Changed

Fixed

  • Fix(cli,metro,babel): bump cli and metro and babel to fix Windows+Metro issue (df7c92ff4c by @kelset)

Android specific

iOS specific

  • Exclude react-native-flipper when NO_FLIPPER=1 to prevent iOS build fail (f47b5b8b5d by @retyui)
  • Fix RCTAlertController not showing when using SceneDelegate on iOS 13.0+. (0c53420a7a)
  • Handle Null Exception to Validate input in RCTAlertController and in RCTDevLoadingView (79e603c5ab by @admirsaheta)
  • Fixed the potential race condition when dismissing and presentating modal (e948c79bda by @wood1986)
  • Fix build errors when inheriting RCTAppDelegate in Swift modules (5eb25d2186 by @Kudo)
  • OnSelectionChange() is fired before onChange() on multiline TextInput (64475aeb3b by @s77rt)
  • Build: remove deprecated File.exists() method from Hermes podspec. (38e5fa6a96 by @kelset)

v0.71.0

Read the announcement blogpost here.

⚠️ Git Bash users on Windows might experience "Unable to resolve" red boxes, because of an issue with Metro (silently fails without discovering any files). It will be fixed in 0.71.1 next week, in the meantime you can set resolver.useWatchman: false in metro.config.js.

Breaking Changes

  • Changes to Console Logging: LogBox.ignoreLog no longer filters console logs. This means you will start seeing logs in the console that you have silenced in LogBox. See this comment for more details.
  • Removed AsyncStorage and MaskedViewIOS: These components have been deprecated since version 0.59, so it’s time we remove them entirely. For alternatives, please check React Native Directory for community packages that cover those use cases.
  • JSCRuntime moved to react-jsc: react-jsi is now split into react-jsc and react-jsi. If you use JSCRuntime, you will need to add react-jsc as a dependency (facebook/react-native@6b129d8).

Added

Android specific

iOS specific

Changed

Android specific

iOS specific

Removed

Android specific

iOS specific

Fixed

Android specific

iOS specific

Security

v0.70.13

Fixed

v0.70.12

Fixed

iOS specific

v0.70.11

Changed

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