Packages

@react-native/babel-preset

0.88.1 · 27 Oct 2026MIT17.9M / weekRepositoryHomepagenpmAtom feed

Your version

0.79.0

8 Apr 2025Where it was published

0.88.1 is the newest release of 0.79.x.

In short

25 breaking5 deprecated36 new56 fixed64 changed1 internal

  • Breaking

    APIs: Libraries/Core/ExceptionsManager now exports a default ExceptionsManager object, and SyntheticError as a secondary export. (e5818d92a8

  • Breaking

    APIs: Move Libraries/Inspector/ modules to src/private/ (0bde08fe67

  • Breaking

    APIs: Move XHRInterceptor API to src/private/ (389779c348

  • Breaking

    APIs: Removed Libraries/Animated/AnimatedWeb.js file. (ecae8a2908

  • Breaking

    DevX: Remove deprecated unstable_enableLogBox function. LogBox is enabled by default. (7368265107

  • Breaking

    DevX: Remove deprecated YellowBox and console.ignoredYellowBox APIs. Use LogBox. (45a2d9c5a8

  • Breaking

    DevX: Remove legacy Libraries/JSInspector modules (9ba4dd81db

  • Breaking

    DevX: Remove some web debugging remnants (9aae84a688

Release note

Added

  • Codegen: Allow UnsafeMixed as Array value in codegen (abd7259de4

  • DevX: Add inspector proxy events for debugger heartbeat (sampled) and abandoned connections (84f3cf95ea

  • DevX: Add inspector proxy info logs in regards to CDP connection to device and DevTools (29419ce8f0

  • Flow: Added explicit type for _lastNativeRefreshing and changed React import syntax in RefreshControl (a24f9ef825

  • Flow: Added explicit type for _memoizedRenderer and changed React and View import in FlatList (b634fa1edb

  • Flow: Added explicit type for argument in _captureRef in SectionList (e31ff4212b

  • Flow: Added explicit type for Symbol.iterator in URLSearchParams (89af3e804f

  • Flow: Added explicit type to supported commands in TextInputNativeCommands (1126bbb149

  • Flow: Added type for exported object in AssetRegistry (44d84f2af6

  • Flow: Added types in TouchHistoryMath (b9df812b67

  • Infra: Open Sourcing React Native's Compatibility Check (60e3921f9c

  • Layout: Linear gradient color transition hint syntax and px unit support. (cc89ddd50b

  • Layout: Support stylistic sets for fontVariant (c09b71b990

  • LogBox: Add full owner stack support to React Native (967ef32154

  • LogBox: Add owner stack code frames to LogBox (0affa544c3

  • Metro: Add opt in for legacy Metro log streaming via --client-logs flag (0d66c524cf

  • TextInput: Adds the escape key to the key press event handler payload. (e566c1ec06

Android specific

  • Gradle: Add support for Gradle Configuration caching (e41887e62f

  • Initialization: On DefaultNewArchitectureEntryPoint class add property to specify the desired release level for an application (19c18eb995

  • Initialization: Set ReactSurface and ReactRootView to ReactDelegate when created via ReactNavigationActivityDelegate (a302fbcaaf by Maddie Lord)

iOS specific

  • Initialization: Encapsulate device info listeners (7dc85d0e97

  • JSC: Inform users about JSC being moved to a different repo (13177b3025

  • JSC: Js runtime C API for Swift (a6607c07cd

  • Runtime: Added custom load js block in bridge mode (1e9ac296a5

  • Runtime: Missing nonnull annotations for RCTArchConfiguratorProtocol, RCTUIConfiguratorProtocol.h (0141a44026

  • TextInput: Add support for numberOfLines prop on TextInput (dcaa33e6d9

Breaking

  • Breaking

    APIs: Deep imports to modules inside React Native libraries with require syntax will now require to append an explicit .default. Here the list of affected modules:

    • Libraries/Alert and Libraries/ActionSheetIOS (c89c5d7e3d

    • Libraries/BatchedBridge and Libraries/AppState (135277ace1

    • Libraries/Blob (9a70bc0418

    • Libraries/BugReporting, Libraries/vendor, Libraries/Vibration and Libraries/YellowBox (09700327f7

    • Libraries/Components (9eeef22a67

    • Libraries/Components (aac312da8e

    • Libraries/Components (ce412746b1

    • Libraries/Components (da695f3a20

    • Libraries/DevMenu (ce84922236

    • Libraries/EventEmitter and Libraries/Image/*.js (8783196ee5

    • Libraries/Interaction (bdc23fa2b4

    • Libraries/LayoutAnimation and Libraries/Linking (4d6785bdb5

    • Libraries/Lists (e767dc3458

    • Libraries/Modal and Libraries/Network (28945c68da

    • Libraries/PermissionsAndroid and Libraries/PushNotificationIOS (e74246bd66

    • Libraries/ReactNative (c93bd436a5

    • Libraries/StyleSheet (4f20362b07

    • Libraries/Text, Libraries/Share and Libraries/Settings (156ee5bee7

    • Libraries/Text, Libraries/Share and Libraries/Settings (1be7e1a95f

    • Libraries/Utilities/BackHandler, Utilities/DevLoadingView.js and Utilities/HMRClient*.js (827a847791

    • Libraries/Utilities/differ/... (2b30aa5cc8

    • Libraries/Utilities/Platform (d98116aa44

    • Libraries/Utilities (52ffda7e55

    • Libraries/WebSocket (7df73eebdc

    • react-native/virtualized-lists (1cf4c84ba0

    • StyleSheet/ (e4d969a4ab

    • Utilities/binaryToBase64, Utilities/DevSettings, Utilities/PolyfillFunctions and Utilities/RCTLog (152587cda0

    • Utilities/deepFreezeAndThrowOnMutationInDev, Utilities/defineLazyObjectProperty, Utilities/DeviceInfo and Utilities/FeatureDetection (028c0b36f6

    • Utilities/dismissKeyboard.js, Utilities/GlobalPerformanceLogger.js and Utilities/SceneTracker.js (fc6ca26d3f

    • Utilities/infoLog, Utilities/logError, Utilities/mapWithSeparator and Utilities/warnOnce (7aef81b984
      (48d900b703

  • Breaking

    APIs: Libraries/Core/ExceptionsManager now exports a default ExceptionsManager object, and SyntheticError as a secondary export. (e5818d92a8

  • Breaking

    APIs: Move Libraries/Inspector/ modules to src/private/ (0bde08fe67

  • Breaking

    APIs: Move XHRInterceptor API to src/private/ (389779c348

  • Breaking

    APIs: Removed Libraries/Animated/AnimatedWeb.js file. (ecae8a2908

  • Breaking

    DevX: Remove deprecated unstable_enableLogBox function. LogBox is enabled by default. (7368265107

  • Breaking

    DevX: Remove deprecated YellowBox and console.ignoredYellowBox APIs. Use LogBox. (45a2d9c5a8

  • Breaking

    DevX: Remove legacy Libraries/JSInspector modules (9ba4dd81db

  • Breaking

    DevX: Remove some web debugging remnants (9aae84a688

  • Breaking

    Libs: Remove incorrect hwb() syntax support from normalize-color (676359efd9

  • Breaking

    StyleSheet: Disallow invalid unitless lengths in box shadows (8e2de303e3

  • Breaking

    StyleSheet: Disallow invalid unitless lengths in filters (b34e63539d

Android specific

  • Breaking

    APIs: Make ResponseUtil internal (360cbf7433

  • Breaking

    APIs: Removed RuntimeConfig class for Hermes which was unused. (08ddc11269

  • Breaking

    APIs: Reduce visibility of FabricUIManager.setBinding() method, unused outside of react native (2a9a13d567

  • Breaking

    APIs: Remove TLSSocketFactory class (e065411c91

  • Breaking

    API: RuntimeExecutor and RuntimeScheduler constructors are now private, MapBufferSoLoader was removed as no longer required. (6c8ace9b05

  • Breaking

    API: Remove DevSupportManagerFactory.launchJSDevtools API (514ec4192f

  • Breaking

    API: Stable API - Make AnimatedNodeWithUpdateableConfig internal as it was not used in OSS (54e0b69e7e

Changed

  • Animated: Introduced a feature flag to test an optimization in Animated to reduce memory usage. (fb8a6a5bb0

  • Animated: The AnimatedNode graph will not occur during the insertion effect phase, which means animations can now be reliably started during layout effects. (e0c0476553

  • Animated: When an Animated component is updated or unmounted, AnimatedNode instances will now detach in a microtask instead of synchronously in the commit phase of React. This will cause the completion callback of finished animations to execute after the commit phase instead of during it. (50b75a74d1

  • Codegen: Replace jscodeshift with @babel/core (8f19201

  • Deps: Bump Node 18 -> 20 to build React Native in OSS (1fd3806ee9

  • Deps: Upgrade React DevTools to 6.1.0. (07860545f5

  • Deps: Upgrade React DevTools to 6.1.1. (5c88633035

  • DevX: Debugger.scriptParsed now includes the field sourceMapURL as a (rewritten) remote url as opposed to base64 data url (ff2e40371e

  • DevX: Removed a long-running loop causing the app to lag while attempting a connection to Metro (9b977def6c

  • FeatureFlags: Re-enable enableFixForViewCommandRace feature flag (ae59702f8e

  • Flow: Improved eventInitDict type in WebSocketEvent class (fa2fac1372

  • Flow: Improved Props type in UnimplementedView (b200c7cb2f

  • Flow: Improved types for exported Types and Properties in LayoutAnimation (3c02738ec4

  • Flow: Improved types in AnimatedWeb (647ca90a30

  • Flow: Improved types in ScrollView (1be2ba4597

  • Flow: Improved types in StatusBar by adding StackProps (48cafc0b69

  • Flow: Improved types in TextAncestor (df9d43f02b

  • Flow: Improved types in WebSockertInterceptor callbacks (d2adb976ab

  • Flow: Refactored Libraries/Components/StaticRenderer syntax (0e6cb590ec

  • Flow: Replaced $FlowFixMe in CodegenTypes with Object type (812c3b33cd

  • Flow: Replaced $FlowFixMe in InteractionManager to Function type (cd7a30ce48

  • Flow: Replaced $FlowFixMe in NativeModules with any type (286a360d9b

  • Flow: Replaced $FlowFixMe in RCTDeviceEventEmitter with any (8df6cfa56b

  • Flow: Replaced $FlowFixMe with PressEvent in ScrollViewNativeComponentType (8befab1760

  • Metro: Update Metro to ^0.82.0 (8421b8a872

  • TypeScript: Improve TypeScript types for global objects (094c5be42e

  • Breaking

    TypeScript: Increase minimum typescript version in index.d.ts (721f85adf7

  • TypeScript: Move view flattening props to cross platform type interface (ecad90ad8b

Android specific

  • Deps: Bump AGP to 8.8.2 (2062defb2d

  • Deps: Gradle to 8.13 (b95424d159

  • Deps: Update androidx app compat to 1.7.0 (b0fd9c1556

  • Gradle: Better compatibility with Kotlin 2.1.x (a0528d834c

  • Gradle: Add option to disable bundle compression to improve startup time (778382ad3d

  • Initialization: Allow passing custom JSRuntimeFactory to DefaultReactHost (cdc166709d

  • JSC: Add a build time JSC lean core warning (90e27c2b4f

  • JSC: Exclude jsctooling when useThirdPartyJSC gradle property is true (66032f22b8

  • Runtime: Feature flags for recycling View, Text components separately (ca5ce205f7 by Thomas Nardone)

  • Runtime: Introduces BuildConfig.UNSTABLE_ENABLE_MINIFY_LEGACY_ARCHITECTURE to determine if the new architecture is fully enabled into an Android app (b45a3e5cd8

iOS specific

  • CocoaPods: Fix Gemfile versions (2527d29a96

  • CocoaPods: Generate the ReactCodegen.podspec as part of codegen instead of as part of pod install. (dab9b3b440

  • Cocoapods: Ignore deprecation warning when calling pod install through core-cli-utils (4141560afc

  • CocoaPods: Invoke Codegen as part of the Core-cli-utils package (cc1e8d1523

  • CocoaPods: Stop running codegen when running pod install (f15094ef88

  • JSC: Decouple JSC when USE_THIRD_PARTY_JSC=1 (176bed79b4

  • NativeModules: Properly handle null values coming from NativeModules. (d4236791e2

  • Text: Moved workaround for multiline text measurement with maximumNumberOfLines earlier in the pipeline (167a1a30da

Deprecated

  • Deprecated

    DevX: Deprecated usage of HERMES_ENABLE_DEBUGGER build-time flag for enabling React Native debugger in favour of REACT_NATIVE_DEBUGGER_ENABLED and REACT_NATIVE_DEBUGGER_ENABLED_DEVONLY. (5fcb69e8b7

iOS specific

  • Deprecated

    CocoaPods: Deprecate calling pod install directly (e3def00d7a

  • Deprecated

    Initialization: Deprecate RCTAppDelegate (74de9526ab

Android specific

  • Deprecated

    Layout: ViewManagerPropertyUpdater.updateProps is deprecated, use the related ViewManager APIs instead (a18bc58645

  • Deprecated

    Layout: Deprecated ViewManagerDelegate#setProperty and ViewManagerDelegate#receiveCommand (5a290c4cab

Fixed

  • C++: Add default case to displayModeToInt() function (8c06f57860

  • C++: Add explicit casts for pointerIds for PointerEvents in NativeDOM (94ea10c693

  • Codegen: Fix codegen to avoid the creation of <appName>, folders (9498b71438

  • DevX: Always patch React DevTools first so StrictMode dim chars are excluded from logs/logbox. (e015d1b19a

  • DevX: Disconnections of DevTools when the network is under significant strain. (b0974135bf

  • DevX: FindNodeAtPoint now considers overflow area of the parent node (d8bc7c68c0

  • JS: Fix react-native-community/cli-platform-* packages not being found in monorepos (7926d656b3

  • JS: Fix react-native-community/cli not being found in pnpm setups (a672a4d007

  • JS: Fix registering of start and bundle commands with community CLI and isolated node_modules. (cdaa1aa9aa

Android specific

  • Codegen: Improve input files for codegen gradle task (e9e0d8c2f7

  • Image: Fix Image defaultSource runtime error (1c51b77868

  • JS: GetAndroidResourceFolderName() should return raw folder for svg file (3a4798cc30

  • Layout: Elevation prop on android has incorrect border-radius (f7d78f81cc

  • Layout: Fix inset boxShadow when blur < spread (a3b29e1441

  • Layout: Fix issue where boxShadow crashes with small blur radius (103f8b3885

  • Layout: Fixed anti-aliasing not showing on older Android versions (6c6e0a9085

  • Layout: Make setLayoutAnimationEnabledExperimental a no-op in Bridgeless (44da5d2ee0

  • Libs: Fix react-native/popup-menu-android not building for 3rd party developers (e96396bd18

  • Modal: Fixed crash with Modal when trying to call syncSystemBarsVisibility() (141fb23bba

  • Modal: Sync Modal system bars visibility with current activity (7016225062

  • Runtime: Marked acquireWakeLockNow as static (2a58201322

  • Runtime: Make DefaultReactNativeHost.clear() also invalidate DefaultReactHost (07769d4d7e

  • Runtime: Pass the bundle URL protocol when setting up HMR client on Android (ba894c908a

  • ScrollView: Scroll view throttle no longer impacts events other than onScroll (bc810e5115

  • Text: Allow text links to be navigable via keyboard by default (98b0991128

  • Text: Fix text link accessibility on state update removal (c9e6567881

  • TextInput: Avoid ConcurrentModificationException when iterating over mListeners TextWatcher array (243aecc095

  • TextInput: TextInputs can now receive focus via external keyboard (3420eb87b0

iOS specific

  • C++: Update deprecated enums in RCTTextPrimitivesConversions.h (4121d24454

  • CocoaPods: JSRuntimeFactoryCAPI.h build error for use_frameworks build (7786805337

  • CocoaPods: Make sure 3p libraries depends on React-renderercss to work with use_frameworks (cc12caa0a9

  • CocoaPods: Compatibility with Ruby 3.4.0 (b1735bc593

  • CocoaPods: Fix wrong cocoapods script on new_architecture.rb (541e655832

  • Codegen: Enable use of multiple RCTAppDependencyProvider instances (0cc1ac18cf

  • DeviceInfo: Data race related to read/write of RCTDeviceInfo._invalidated. (2a18d83521

  • DevX: Issue where performance monitor would be hidden under newly presented views. (e7556e921c

  • DevX: Remove private symbols for non-simulator and non-catalyst builds. (9350d6f2f5

  • Infra: Workaround for a iOS build app running on Apple Silicon Mac(in Xcode Destination: "Mac(Designed for iPad)") TextInput crash due to serialization attempt of WeakEventEmitter (0511e2e49a

  • Initialization Make React Native work without AppDelegate window property (ae7bbe06c9

  • JSC: Return nullptr when USE_THIRD_PARTY_JSC is set to true (515ff1e626

  • Layout: Fix cases where background color, filter, and background image were sized incorrectly if there was a scaling transform (acaf94dc21

  • Layout: Fix cases where background color, filter, and background image were sized incorrectly if there was a scaling transform (f835b824f4

  • Layout: Improve detached keyboard detection, support Stage Manager on iOS (c499ae1192

  • Layout: Layout direction changes are now honored on bundle reload. (36f29beac4

  • Layout: Suppressed iOS 13 deprecation warnings in RCTStatusBarManager (fffd6d75b4 by Ingrid Wang)

  • Native Module: Add guard for custom module provider lookup in TMManager (d0a101fbea

  • PullToRefresh: Fix new arch recycled RefreshControl was missing its title (e3d607fc2e

  • Runtime: Convert to JSException only NSException from sync methods (9805a4f

  • Runtime: Handle null params in the Interop TM layer (6314925

  • Runtime: Call RCTInitializeUIKitProxies before bridge create (a51fa6c002

  • Runtime: Fixed: extraModulesForBridge callback not called when New Architecture enabled (c0a5c2c3cb by Bruno Aybar)

  • Runtime: Enable back the opt-out from the New Architecture (9abdd619da

  • Runtime: Add missing loadFromSource method in the DefaultRNFactoryDelegate (7739615e0d

  • Runtime: App crash caused by the [RCTFileRequestHanlder invalidate] method (789ed7d5ad

  • Runtime: Bridge: Fixes HostTarget use after free when deallocated bridge (3e2e8ec757

  • TextInput: Fixes TextInput crashes when any text is entered while running as iOS app on apple silicon mac (8d7aca30e7

  • Text: Fixed onPress for Text with nested View. (6b2c40c64f

  • TextInput: Fix selection makes TextInput clear its content when using children (e3b176a598 by Olivier Bouillet)

  • TextInput: Fixed TextInput's onContentSizeChange event being dispatched multiple times with the same size (2bb65717b7

  • TextInput: Implement dataDetectorTypes in the same way as the old architecture (2ae45ec3ce

Removed

  • Breaking

    C++: Removed RawProps::operator= (e4d1cf8ce9

  • Breaking

    JS: Removed context from addEventListener arguments in Linking (1536a7f196

iOS specific

  • Breaking

    JSC: Clean up RCTBridgeDelegate to remove shouldBridgeUseCustomJSC method (c8f1506f13

  • Breaking

    Layout: Remove no longer needed UISceneDelegate (a033cf9d5e


Hermes dSYMS:


You can file issues or pick requests against this release here.


To help you upgrade to this version, you can use the Upgrade Helper ⚛️.


View the whole changelog in the CHANGELOG.md file.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.