You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@react-native/codegen

Package Overview
Dependencies
Maintainers
2
Versions
757
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native/codegen - npm Package Versions

1345
76

0.82.0-nightly-20250711-263ccad3c

Diff
r
react-native-bot
published 0.82.0-nightly-20250711-263ccad3c •
r
react-native-bot
published 0.82.0-nightly-20250710-586f5ba89 •
r
react-native-bot
published 0.78.3 •

Changelog

Source

v0.78.3

See CHANGELOG-0.7x

r
react-native-bot
published 0.81.0-nightly-20250709-6892dde36 •
r
react-native-bot
published 0.81.0-rc.0 •

Changelog

Source

v0.81.0-rc.0

Breaking

  • APIs: All react-native/Libraries/BugReporting APIs have been removed (9d4d8dcb02 by @huntie)
  • APIs: Add public JS API breaking change detection under yarn diff-api-snapshot script. (6b40f35032 by @coado)
  • APIs: Community CLI users: user-defined resolver.resolveRequest and serializer.getModulesRunBeforeMainModule Metro config now takes precedence over CLI defaults (fe2bcbf4ba by @robhogan)
  • Error Handling: Improve messaging and add error stack trace for uncaught throws. (5ba0e1f97a by @vzaidman)
  • Flow: The react-native package no longer ships with the flow directory (38acb4c074 by @huntie)
  • Node: Minimum Node version is now bumped to Node.js 22.14.0 (df39eadc03 by @huntie)
  • View: View no longer sets any default accessibility props, which should not result in visible changes in behaviour but may affect snapshot tests. (039a333df5 by @javache)
  • View: Upgrade View component to React 19. (eedd60b9e6 by @EvanBacon)

Android specific

  • APIs: Cleanup and internalize FpsDebugFrameCallback (cf6569bc18 by @cortinico)
  • CMake: Correctly propagate RN_SERIALIZABLE_STATE to 3rd party CMake targets. Users with custom CMake and C++ code should update to use target_compile_reactnative_options inside their CMakeLists.txt files.(c059ae1b77 by @cortinico)
  • FabricUIManager: Remove FabricUIManager.measure overload which accepts attachment positions (2ba86caf18 by @NickGerleman)
  • Kotlin: Migrate ViewManagerInterfaces to kotlin. Some types in code generated ViewManagerInterfaces might differ. e.g. this will start enforcing nullability in parameters of viewManagerInterface methods (e.g. String commands parameters are not nullable, view params are not nullable in any method, etc) (76ff1aa5c6 by @mdvacca)
  • Kotlin: Migrate com.facebook.react.ReactDelegate to Kotlin. Some users implementing this class in Kotlin could have breakages. (50ea5b4380 by @mateoguzmana)
  • Kotlin: Convert to Kotlin and internalize MountingManager (f33fdca876 by @cortinico)
  • textAlignVertical: Move textAlignVertical to paragraph attributes instead of text attributes (55fd8b26f8 by @joevilches)
  • TextLayoutManager: Make Java Side TextLayoutManager Internal (e82a677c79 by @NickGerleman)

iOS specific

  • RCTDisplayLink: Migrate RCTDisplayLink's API from RCTModuleData (70eeb9f541 by @RSNara)
  • SynchronouslyUpdateViewOnUIThread: SynchronouslyUpdateViewOnUIThread now accepts folly::dynamic instead of NSDictionary. Use https://github.com/facebook/react-native/blob/main/packages/react-native/ReactCommon/react/utils/platform/ios/react/utils/FollyConvert.h#L14 for conversion. (82279bd981 by @sammy-SC)
  • Xcode: Bump min Xcode to 16.1 (c27a8804a6 by @NickGerleman)

Added

  • APIs: Expose unstable_TextAncestorContext API (962a7dda44 by @huntie)
  • APIs: Expose additional *AnimationConfig types on the Animated namespace (11a1ad7a98 by @huntie)
  • APIs: InterpolationConfig is now exposed on the Animated namespace (b01a5f91fe by @huntie)
  • APIs: Expose ScrollViewImperativeMethods and ScrollViewScrollToOptions types to public API (f184b591cf by Antonio Pires)
  • APIs: Add --validate flag to build-types script for JS API snapshot validation. (f529fd6ba5 by @coado)
  • Bridging: Added support for bridging Class methods return types (e403b510d0 by @hoxyq)
  • Error Handling: Improve error messages when enum members are missing (12ced22f70 by Yannick Loriot)
  • Fantom: Add Fantom.getFabricUpdateProps for reading fabric update props scheduled via UIManager::updateShadowTree (cc442eb8c8 by @zeyap)
  • Flow: Add support for Flow opaque types in codegen for native modules (a15fc102e6 by @rubennorte)
  • HMR: Process HMR registerBundle calls from the same origin only (a9007ea586 by @jbroma)
  • IntersectionObserver: IntersectionObserver support for root with fixes for viewport offsets (c5b6716311 by @lunaleaps)
  • ReactNativeFeatureFlags: Allow Custom ReactNativeFeatureFlags for Shell 2.0 (bbc1e121c7 by Maddie Lord)
  • ScrollView: Added more Pending Decleration for ScrollView (a6908ad1a5 by @riteshshukla04)
  • ShadowNode: Added cloneMultiple to ShadowNode class. (1161fb4fcd by @bartlomiejbloniarz)
  • Typescript: Add pressRetentionOffset prop to be recognised by typescript in Text.d.ts (d94f4d8c9d by @iamAbhi-916)
  • URLSearchParams: Added size property to URLSearchParams implementation (9b1a8ffac4 by @louix)

Android specific

  • BaseViewManager: Adds support for onFocus / onBlur event dispatching logic to all native views that implement BaseViewManager (e960a28af7 by @Abbondanzo)
  • Edge To Edge: Add Android edge-to-edge opt-in support (09ef774ff6 by @zoontek)
  • RNGP: RNGP- Add support for exclusiveEnterpriseRepository to specify an internal Maven mirror. (6cb8dc37c7 by @cortinico)
  • RNTester: Added explicit build tool version to RNTester build.gradle to avoid automatic installation of Android SDK Build Tools. (35dba09724 by @mojavad)
  • ScrollView: Allow fadingEdgeLength to be set independently on the start and end of the ScrollView (a21a4b87c3 by Mark Verlingieri)
  • View: Support for onFocus and onBlur function calls in View components (af0a76cf5f by @Abbondanzo)

iOS specific

Changed

  • Animated: Animated now always flattens props.style, which fixes an error that results from props.style objects in which AnimatedNode instances are shadowed (i.e. flattened to not exist in the resulting props.style object). (da520848c9 by @yungsters)
  • Animated: Creates a feature flag that changes Animated to no longer produce invalid props.style if every AnimatedNode instance is shadowed via style flattening. (5c8c5388fc by @yungsters)
  • Animated: Enabled a feature flag that optimizes Animated to reduce memory usage. (2a13d20085 by @yungsters)
  • Error handling: Errors will no longer have the "js engine" suffix. (a293925280 by @yungsters)
  • Fibers: Reduces memory usage, by improving memory management of parent alternate fibers. (Previously, a parent fiber might retain memory associated with shadow nodes from a previous commit.) (0411c43b3a by @yungsters)
  • infoLog: Removed infoLog from react-native package (8a0cfec815 by @coado)
  • IntersectionObserver: Fixed IntersectionObserver#observe to avoid retaining memory for unmounted child nodes of observed views. (d945c5863a by @yungsters)
  • Jest: Improved default mocking for Jest unit tests. (1fd9508ecc by @yungsters)
  • LegacyArchitecture: Raise loglevel for assertion of LegacyArchitecture classes (38a4b62211 by @mdvacca)
  • LegacyArchitecture: Raise logLevel of LegacyArchitecture classes when minimizing of legacy architecture is enabled (0d1cde7f36 by @mdvacca)
  • Metro: Bump Metro to ^0.82.5 (083644647e by @robhogan)
  • React DevTools: Bumped React DevTools to 6.1.5 (c302902b1d by @hoxyq)
  • RuntimeExecutor: RuntimeExecutor: Remove noexcept from sync ui thread utils (7ef278af50 by @RSNara)
  • Typescript: Bump types/react to 19.1 (3ae9328571 by @gabrieldonadel)

Android specific

iOS specific

Deprecated

  • hasTVPreferredFocus: Deprecate hasTVPreferredFocus (cfb6c968dd by @Abbondanzo)
  • SafeAreaView: Deprecate SafeAreaView due to its iOS-only support and incompatibility with Android 15 edge-to-edge behavior; recommend using react-native-safe-area-context instead. (73133a31d5 by @kikoso)
  • ShadowNode: ShadowNode::Shared is now deprecated. Use std::shared_ptr<const ShadowNode> instead. (0e175ce5b6 by @sammy-SC)
  • ShadowNode: Deprecate type aliases ShadowNode::Unshared and ShadowNode::Weak in favour of std::shared_ptr<ShadowNode> and std::weak_ptr<ShadowNode> (12fb101e30 by @sammy-SC)

iOS specific

  • RCTFollyConvert: RCTFollyConvert.h is deprecated please use /ReactCommon/react/utils/platform/ios/react/utils/FollyConvert.h instead (685a60e6b4 by @sammy-SC)

Removed

  • Yoga: Remove YogaLayoutableShadowNode::cleanLayout() and Fix ParagraphShadowNode Font Size Invalidation Logic (7979c7ce06 by @NickGerleman)

Android specific

  • APIs: Internalize NetworkingModule's UriHandler, RequestBodyHandler, and ResponseHandler APIs (987e3f8c00 by @huntie)
  • DeveloperSettings: Remove deprecated isStartSamplingProfilerOnInit from DeveloperSettings (ccb9edc717 by @cortinico)
  • JSC: Remove 1st party JSC support (8174d02811 by @cortinico)
  • JSEngineResolutionAlgorithm: Remove and cleanup JSEngineResolutionAlgorithm (0954c1db45 by @cortinico)

iOS specific

Fixed

  • APIs: Renamed argument names in the onContentSizeChange callback's type definition (0386b9bd51 by @pchalupa)
  • BindingsInstallerHolder: Fixed deprecation message for BindingsInstallerHolder (4a8fda83e3 by @tomekzaw)
  • C++: Add default: case to avoid warnings/errors for targets that compile with -Wswitch-enum and -Wswitch-default enabled (22b8b53c77 by @NSProgrammer)
  • C++: Add default: case to avoid warnings/errors for targets that compile with -Wswitch-enum and -Wswitch-default enabled (9079b53c6f by @NSProgrammer)
  • C++: Fix clang tidy for react-native (3e49d17f58 by @RSNara)
  • Color APIs: Fix the serialization of the alpha channel in the rgba() color string format. (1cc12ce7fd by @piaskowyk)
  • Color APIs: Fix incorrect flattening / non-rendering of views with backgroundColor set to rgba(255, 255, 255, 127/256) (b1e8729f4d by @rubennorte)
  • Fantom: Support viewport offsets for Fantom root and fix getBoundingClientRect to respect viewport offsets (b5c62f52d1 by @lunaleaps)
  • IntersectionObserver: Fix potential leak inside IntersectionObserver (a55f430daa by @RSNara)
  • LogBox: Remove LogBox patch, de-duplicating errors (e0797d0e03 by @rickhanlonii)
  • ScrollView: Expose ScrollView.getNativeScrollRef on the type definition to allow accessing the underlying HostInstance. (4b91b63094 by @zbauman3)
  • Typescript: Add ImageSource type to TypeScript (42ca46b95c by @okwasniewski)
  • Typescript: Devtools TS Types (8f189fce03 by @krystofwoldrich)
  • Yoga: Fix possible invalid measurements with width or height is zero pixels (5cc4d0a086 by @NickGerleman)

Android specific

iOS specific

  • Gradient: Gradient interpolation for transparent colors (097d482446 by @intergalacticspacehighway)
  • Prebuild: Fixed wrong path in prebuild hermes check (be11f2ee77 by @chrfalch)
  • Prebuild: Fixed resolving build type when downloading hermes artifacts (9371e20192 by @chrfalch)
  • Package.swift: Add missing React-RCTSettings to Package.swift (e40c1d265a by @chrfalch)
  • Package.swift: Fixed defines in Package.swift (e2f6ce4ddf by @chrfalch)
  • RCTImage: Allow for consuming RCTImage in Swift codebase by enabling "Defines Module" option (1d80586730 by @kkafar)
  • RCTImageComponentView: Fix RCTImageComponentView image loading after source props change with no layout invalidation (cd5d74518b by Nick Lefever)
  • RCTScreenSize: Make RCTScreenSize take horizontal orientation into account (50ce8c77a7 by @okwasniewski)
  • TextInput: Fixed blank space at the bottom of multiline TextInput on iOS (2da4a6059a by @tomekzaw)
  • Turbo Modules: Turbo Modules- Fixes dictionary stripped out when value is null (4a4fd1cb8b by @zhongwuzw)
r
react-native-bot
published 0.81.0-nightly-20250708-5ec8e6058 •
r
react-native-bot
published 0.81.0-nightly-20250707-1c51d6684 •
r
react-native-bot
published 0.81.0-nightly-20250707-255977a7b •
r
react-native-bot
published 0.81.0-nightly-20250706-987e3f8c0 •
r
react-native-bot
published 0.81.0-nightly-20250705-dcd430721 •