Releases: facebook/react-native
0.76.8
v0.76.8
Fixed
- FormData: Remove non compliant
filename*
attribute in a FormDatacontent-disposition
header (9e846b4d11 by @foyarash) - DevX: Disconnections of DevTools when the network is under significant strain. (08c04147ba by @vzaidman)
- JS: Fix
react-native-community/cli
not being found in pnpm setups (9ba96ad79d6 by @tido64) - JS: Fix
react-native-community/cli-platform-*
packages not being found in monorepos (ffe7bd1471 by @tido64)
Android specific
- popup-menu-android: Fix react-native/popup-menu-android not building for 3rd party developers (ac637ff44 by @cortinico)
- DevTools: Pass the bundle URL protocol when setting up HMR client on Android (68055f2d8a by @byCedric)
- CLI: Fix registering of
start
andbundle
commands with community CLI and isolated node_modules. (b9c4095e40 by @robhogan)
iOS specific
- layout: Layout direction changes are now honored on bundle reload. (23b888ff2d by @chrsmys)
- TextInput: Fixes TextInput crashes when any text is entered while running as iOS app on apple silicon mac (e2b081e66f by @zhongwuzw)
- Runtime: Convert to JSException only NSException from sync methods (8eec35f134 by @cipolleschi)
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.
v0.77.2
Added
iOS specific
- Codegen: Add the
source
parameter to generate-codegen-artifacts to avoid generating files not needed by libraries. (98b8f17811 by @cipolleschi)
Fixed
- DevTools: Fix disconnections of DevTools when the network is under significant strain. (b0974135bf by @vzaidman)
- CLI: Fix registering of
start
andbundle
commands with community CLI and isolated node_modules. (1f002f9999 by @robhogan) - Metro: Bump minimum Metro to 0.81.3, fix "_interopRequireDefault is not a function" with enablePackageExports (b335436113 by @robhogan)
Android specific
- Fabric: Avoid NPE when touch event is triggered before SurfaceManager is initiated (b8095f4692 by @CHOIMINSEOK)
- Image: Fix defaultSource runtime error (1c51b77868 by @fbp93)
iOS specific
- Interop Layer: Properly pass
nil
for nullable parameters instead ofNSNull
for legacy modules (619d5dfbb2 by @cipolleschi) - TextInput: Fix crashes when any text is entered while running as iOS app on apple silicon mac (8d7aca30e7 by @zhongwuzw)
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.
0.79.0-rc.3
Changed
Android specific
- Gradle: Better compatibility with Kotlin 2.1.x (a0528d834c by @cortinico)
Fixed
- Codegen: Fix codegen to avoid the creation of
<appName>,
folders (9498b71438 by @cipolleschi)
Android specific
- Runtime: Marked acquireWakeLockNow as static (2a58201322 by @mstrokin)
iOS specific
-
CocoaPods: Make sure 3p libraries depends on React-renderercss to work with use_frameworks (cc12caa0a9 by @cipolleschi)
-
Runtime: Convert to JSException only NSException from sync methods (9805a4f by @cipolleschi)
-
Runtime: Handle null params in the Interop TM layer (6314925 by @cipolleschi)
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.
0.78.1
resolver.unstable_enablePackageExports
and the defaults from @react-native/metro-config
. It will error with a redbox "interopRequireDefault is not a function". Set resolver.unstable_conditionNames = ['react-native']
to mitigate. It will be fixed in 0.78.2
Fixed
- Deps: community-cli-plugin: resolve cli-server-api via peer dependency on cli (9ffbeadf8a by @robhogan)
- DevTools: Fix disconnections of DevTools when the network is under significant strain (9e47ed9a20 by @vzaidman)
Android specific
- Image: Fix Android Image defaultSource runtime error (665212e22c by @mateoguzmana)
- style: Fix elevation with border-radius set (#48982) (68dc582305 by @polovi)
iOS specific
- Initialization: Call
extraModulesForBridge
callback in the New Architecture. (97adbd897f by @Bruno125) - Initialization: Added custom load js block in bridge mode (bdc83cb129 by @zhongwuzw)
- Interop Layer: Properly pass
nil
for nullable parameters instead ofNSNull
for legacy modules (619d5dfbb2 by @cipolleschi) - TextInput: Fixes TextInput crashes when any text is entered while running as iOS app on apple silicon mac (282cdc9fb4 by @zhongwuzw)
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.
0.79.0-rc.2
Changed
Fixed
iOS specific
- Codegen: Enable use of multiple
RCTAppDependencyProvider
instances (0cc1ac18cf by @vonovak) - Runtime: Call RCTInitializeUIKitProxies before bridge create (a51fa6c002 by @zhongwuzw)
- TextInput: Fixes TextInput crashes when any text is entered while running as iOS app on apple silicon mac (8d7aca30e7 by @zhongwuzw)
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.
0.79.0-rc.1
Changed
- Update Metro to ^0.82.0 (8421b8a872 by @robhogan)
Fixed
iOS specific
- Fixed: extraModulesForBridge callback not called when New Architecture enabled (c0a5c2c3cb by Bruno Aybar)
- Enable back the opt-out from the New Architecture (9abdd619da by @cipolleschi)
- Add missing loadFromSource method in the DefaultRNFactoryDelegate (7739615e0d by @cipolleschi)
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.
0.79.0-rc.0
Breaking
- Deprecated usage of
HERMES_ENABLE_DEBUGGER
build-time flag for enabling React Native debugger in favour ofREACT_NATIVE_DEBUGGER_ENABLED
andREACT_NATIVE_DEBUGGER_ENABLED_DEVONLY
. (5fcb69e8b7 by @hoxyq) - Deep imports to modules inside
Libraries/DevMenu
usingrequire
may need to be appended with.default
(ce84922236 by @j-piasecki) - Remove deprecated
unstable_enableLogBox
function. LogBox is enabled by default. (7368265107 by @huntie) - Remove com.facebook.react.modules.network.TLSSocketFactory class (e065411c91 by @mateoguzmana)
- Deep imports to
Utilities/dismissKeyboard.js
,Utilities/GlobalPerformanceLogger.js
orUtilities/SceneTracker.js
withrequire
syntax need to be appended with '.default'. (fc6ca26d3f by @iwoplaza) - Deep imports to
Utilities/deepFreezeAndThrowOnMutationInDev
,Utilities/defineLazyObjectProperty
,Utilities/DeviceInfo
orUtilities/FeatureDetection
withrequire
syntax may need to be appended with '.default'. (028c0b36f6 by @iwoplaza) - Deep imports to
Libraries/Utilities/Platform
withrequire
syntax needs to be appended with '.default'. (d98116aa44 by @iwoplaza) - Deep imports to
Utilities/infoLog
,Utilities/logError
,Utilities/mapWithSeparator
orUtilities/warnOnce
withrequire
syntax need to be appended with '.default'. (7aef81b984 by @iwoplaza) - Deep imports to
Utilities/binaryToBase64
,Utilities/DevSettings
,Utilities/PolyfillFunctions
orUtilities/RCTLog
withrequire
syntax need to be appended with '.default'. (152587cda0 by @iwoplaza) - Deep imports to
Libraries/Utilities/BackHandler
,Utilities/DevLoadingView.js
orUtilities/HMRClient*.js
withrequire
syntax needs to be appended with '.default'. (827a847791 by @iwoplaza) - Deep imports to modules inside
Libraries/StyleSheet
usingrequire
may need to be appended with.default
(4f20362b07 by @j-piasecki) - Deep imports to
Libraries/Utilities/differ/...
withrequire
syntax need to be appended with '.default'. (2b30aa5cc8 by @iwoplaza) - Deep imports into
react-native/virtualized-lists
with require syntax may need to be appended with.default
(1cf4c84ba0 by @j-piasecki) - Deep imports to modules inside
Libraries/Modal
andLibraries/Network
withrequire
syntax may need to be appended with '.default'. (28945c68da by @iwoplaza) - Deep imports to modules inside
Libraries/PermissionsAndroid
andLibraries/PushNotificationIOS
withrequire
syntax has to be appended with '.default'. (e74246bd66 by @iwoplaza) - Disallow invalid unitless lengths in filters (b34e63539d by @NickGerleman)
- Remove legacy Libraries/JSInspector modules (9ba4dd81db by @huntie)
- Deep imports to modules inside
Libraries/EventEmitter
andLibraries/Image/*.js
withrequire
syntax need to be appended with '.default'. (8783196ee5 by @iwoplaza) - Deep imports to modules inside
Libraries/LayoutAnimation
andLibraries/Linking
withrequire
syntax need to be appended with '.default'. (4d6785bdb5 by @iwoplaza) - Remove deprecated
YellowBox
andconsole.ignoredYellowBox
APIs. UseLogBox
. (45a2d9c5a8 by @huntie) - Move
XHRInterceptor
API tosrc/private/
(389779c348 by @huntie) - Move
Libraries/Inspector/
modules tosrc/private/
(0bde08fe67 by @huntie) - Deep imports to modules inside
Libraries/Lists
withrequire
syntax may need to be appended with '.default'. (e767dc3458 by @iwoplaza) - Disallow invalid unitless lengths in box shadows (8e2de303e3 by @NickGerleman)
- Deep imports to modules inside
Libraries/ReactNative
withrequire
syntax need to be appended with '.default'. (c93bd436a5 by @iwoplaza) - Files inside
Libraries/Text
,Libraries/Share
andLibraries/Settings
useexport
syntax, which requires the addition of.default
when imported with the CJSrequire
syntax. (156ee5bee7 by @iwoplaza) - Files inside
Libraries/Components
useexport
syntax, which requires the addition of.default
when imported with the CJSrequire
syntax. (aac312da8e by @iwoplaza) - Files inside
Libraries/Inspector
useexport
syntax, which requires the addition of.default
when imported with the CJSrequire
syntax. (48d900b703 by @iwoplaza) - Remove some web debugging remnants (9aae84a688 by @NickGerleman)
- Remove incorrect hwb() syntax support from normalize-color (676359efd9 by @NickGerleman)
- Files inside
Libraries/Interaction
useexport
syntax, which requires the addition of.default
when imported with the CJSrequire
syntax. (bdc23fa2b4 by @iwoplaza) - Files inside
Libraries/Utilities
useexport
syntax, which requires the addition of.default
when imported with the CJSrequire
syntax. (52ffda7e55 by @iwoplaza) - Files inside
Libraries/Text
,Libraries/Share
andLibraries/Settings
useexport
syntax, which requires the addition of.default
when imported with the CJSrequire
syntax. (1be7e1a95f by @iwoplaza) Libraries/Core/ExceptionsManager
now exports a defaultExceptionsManager
object, andSyntheticError
as a secondary export. (e5818d92a8 by @iwoplaza)- Removed a long-running loop causing the app to lag while attempting a connection to Metro (9b977def6c by @EdmondChuiHW)
- Removed
Libraries/Animated/AnimatedWeb.js
file. (ecae8a2908 by @iwoplaza) - Files inside
Libraries/Components
useexport
syntax, which requires the addition of.default
when imported with the CJSrequire
syntax. (da695f3a20 by [@iwopla...
0.78.0
Breaking
- Codegen: Separate component array types and command array types (825492b199 by @elicwhite)
- React Native devTools: The
FuseboxClient.setClientMetadata
CDP method is removed. Instead, useReactNativeApplication.enable
. (1a9780f0e3 by @huntie)
Android specific
- APIs: Changed visibility of
FrescoBasedReactTextInlineImageViewManager
to internal (d5f33c19cb by @alanleedev) - APIs: Migrating pointerEvents API breaks compatibility for kotlin usages of this api as a val (45e4a3afce by @mdvacca)
- APIs: Convert
RootView
to Kotlin (21c9491926 by @fabriziocucci) - APIs: Delete unused abstract class
GuardedResultAsyncTask
(67bff8734f by @mdvacca) - APIs: Delete deprecated class
FabricViewStateManager
(b25b65ba19 by @mdvacca) - APIs: Removed
ComponentNameResolver
from public API (a4849cb3d6 by @mdvacca)
iOS specific
- Image: Change Image load event size info from logical size to pixel (09995fc874 by @zhongwuzw)
Added
- C++: Added
RawValue(Runtime*, jsi::Value&)
constructor to make aRawValue
from ajsi::Value
. (03d2186ace by @hannojg) - Codegen: Include cxx modules in codegen schema (cf5ab03d43 by @elicwhite)
- Deps: Add
jest-diff v29.7.0
to devDependencies (b27bd00a38 by @andrewdacenko) - Logging: Add support for the second parameter of
console.table
to specify a list of columns to print in the table. (fd0894b1c7 by @rubennorte) - Logging: Add "jsEngine: hermes" to JS runtime Error prototype (85bdd75828 by Maddie Lord)
- Metro: Add opt in for legacy Metro log streaming via
--client-logs
flag (86db4fa90b by @huntie) - Text: Added
pointerEvents
toTextProps
type. (3efbe33ce0 by @hyochan)
Android specific
- ActivityIndicator: setting
resource-id
from thetestID
prop (87b1bad45e by @mateoguzmana) - Codegen: Fixing schema types for component command params of Arrays (25c673e357 by @elicwhite)
- Gradle: Make the addition of JitPack repository configurable (a98528e609 by @cortinico)
- Logging: SoftException categories (c832f94cf7 by Thomas Nardone)
- Logging: Add logging in ReactInstanceManager.onHostPause when activity is incorrectly null (c2fd35a442 by Maddie Lord)
- Runtime: Added
getState
method forStateWrapperImpl
(ed36e896ac by @hannojg)
iOS specific
- Codegen: Add the
source
parameter to generate-codegen-artifacts to avoid generating files not needed by libraries. (98b8f17811 by @cipolleschi) - Initialization: Implement ReactNativeFactory (081be01a5d by @okwasniewski)
- Text: Support system font families (system-ui, ui-sans-serif, ui-serif, ui-monospace, and ui-rounded) on iOS (1763321c89 by @cxa)
- TextInput: Integrate a new property -
disableKeyboardShortcuts
. It can disable the keyboard shortcuts on iPads. (0154372b93 by @rezkiy37)
Changed
- Deps: Bump Hermes (0c8e15e8bb by @cipolleschi)
- Flow: Improved types in
BoxInspector
and refactored a code (f832c450a5 by @coado) - Flow: Improved types in StyleInspector and refactored a code (49e5c58c59 by @coado)
- Flow: Improved types in ElementBox and refactored a code (2959d49e8d by @coado)
- Flow: Improve types on BorderBox (48a7840919 by @coado)
- Flow: Improve types on DrawerLayoutAndroid (b5155fba89 by @huntie)
- Logging: Improved formatting of values logged via
console.table
(including Markdown format). (7154c62afb by @rubennorte) - Runtime: Mark
intersectionRect
required inNativeIntersectionObserverEntry
to reflect native logic. (8681fc2ab2 by @lunaleaps) - Runtime: (9aa21b5e87 by @lunaleaps)
- TypeScript: Upgrading
typescript-config
module version toesnext
(5370347f54 by @mateoguzmana) - VirtualizedList: Fix item disappearing with scroll in VirtualizedList (df7b6ae092 by @Tom910)
- Yoga: Update YGNodeStyleGetGap to return YGValue (331d99a941 by @heoblitz)
Android specific
- APIs: Introduce new public API
ViewManagerInterface
(40a0cdbc99 by @mdvacca) - Deps: Bumped Android Gradle Plugin (AGP) to 8.8.0 (4c7c836ebf by @cortinico)
- Deps: Bump Gradle to 8.12 (5e6478954c by @cortinico)
- Deps: Update Fresco to 3.6.0 (819b5c2c8d by @Abbondanzo)
- Deps: Migrate jsc-android to mavenCentral (e42a3a6b84 by @Kudo)
- Image: Replaced custom XML decoder with Fresco's built-in decoder (6feb90bb29 by @Abbondanzo)
- Kotlin: Migrate
ComponentNameResolver
to kotlin (385b9f4265 by [@mdvacca](https://git...
0.78.0-rc.5
🥇 GOLDEN RC 🥇
Stable release coming up next week.
Added
- Add opt in for legacy Metro log streaming via
--client-logs
flag (86db4fa90b by @huntie)
Fixed
iOS specific
- Allow multiple RN instances to run at the same time (444c7d4eff by @cipolleschi)
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.
0.77.1
Fixed
- Dev-Middleware: Add missing
invariant
dependency (877e82c1a9 by @tido64) - style: Respect
maxFontSizeMultiplier
prop onText
andTextInput
components in New Architecture (8baa858412 by RickardZrinski)
Android specific
- layout: Fix elevation prop on android has incorrect border-radius (55d5c44976 by @NickGerleman)
- Fabric: Fix execution of early InteropEvents (d8af0ae3f2 by mdvacca)
iOS specific
- Image: Load images even when the extension is implicit (bc35afefd5 by @cipolleschi)
- Interop Layer: Avoid crashing the app when the InteropLayer can't find some methods in the native implementation. (83b986d370 by @cipolleschi)
- Interop Layer: Properly handle
null
values coming from NativeModules. (475f797a51 by sammy-SC)
Added
- DevX: Add opt in for legacy Metro log streaming via
--client-logs
flag (969eb3f007 by huntie)
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.