v0.79.0-rc.0
Breaking Changes📦 react-nativeView on GitHub →
⚠ 9 breaking⚡ 1 deprecations🔧 10 symbols
Summary
This release focuses on internal module refactoring, requiring '.default' for deep 'require' imports, and removing legacy debugging APIs like YellowBox in favor of LogBox.
⚠️ Breaking Changes
- Deep imports using 'require' for modules in Libraries/DevMenu, Libraries/StyleSheet, Libraries/Modal, Libraries/Network, Libraries/PermissionsAndroid, Libraries/PushNotificationIOS, Libraries/EventEmitter, Libraries/Image, Libraries/LayoutAnimation, Libraries/Linking, Libraries/Lists, Libraries/ReactNative, Libraries/Text, Libraries/Share, Libraries/Settings, Libraries/Components, Libraries/Inspector, and react-native/virtualized-lists now require appending '.default'.
- Deep imports using 'require' for specific Utilities (dismissKeyboard, GlobalPerformanceLogger, SceneTracker, deepFreezeAndThrowOnMutationInDev, defineLazyObjectProperty, DeviceInfo, FeatureDetection, Platform, infoLog, logError, mapWithSeparator, warnOnce, binaryToBase64, DevSettings, PolyfillFunctions, RCTLog, BackHandler, DevLoadingView, HMRClient, differ) now require appending '.default'.
- Removed deprecated 'unstable_enableLogBox' function as LogBox is now enabled by default.
- Removed 'com.facebook.react.modules.network.TLSSocketFactory' class from Android.
- Unitless lengths are no longer allowed in filters and box shadows; explicit units must be provided.
- Removed legacy 'Libraries/JSInspector' modules.
- Removed deprecated 'YellowBox' and 'console.ignoredYellowBox' APIs in favor of 'LogBox'.
- Moved 'XHRInterceptor' and 'Libraries/Inspector/' modules to 'src/private/', restricting public access.
- Removed incorrect hwb() color syntax support from normalize-color.
Migration Steps
- Update all CommonJS 'require' calls for internal React Native libraries and utilities to include '.default' (e.g., require('Libraries/Utilities/Platform').default).
- Replace 'unstable_enableLogBox' calls with default LogBox behavior.
- Replace 'YellowBox' or 'console.ignoredYellowBox' usage with 'LogBox'.
- Update CSS-like styles for filters and box shadows to include units (e.g., change 10 to '10px').
- Update build configurations to use 'REACT_NATIVE_DEBUGGER_ENABLED' instead of 'HERMES_ENABLE_DEBUGGER'.
🔧 Affected Symbols
unstable_enableLogBoxcom.facebook.react.modules.network.TLSSocketFactoryYellowBoxconsole.ignoredYellowBoxXHRInterceptorLibraries/Utilities/PlatformLibraries/Utilities/BackHandlerLibraries/DevMenuLibraries/StyleSheetvirtualized-lists⚡ Deprecations
- Deprecated 'HERMES_ENABLE_DEBUGGER' build-time flag in favor of 'REACT_NATIVE_DEBUGGER_ENABLED' and 'REACT_NATIVE_DEBUGGER_ENABLED_DEVONLY'.