Releases: facebook/react-native
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.
0.78.0-rc.4
Fixed
Android specific
- Fix execution of early InteropEvents (4ed2b35bf6 by @mdvacca)
iOS specific
- Restore "Paused in debugger" overlay icon (f30c46efbd by @robhogan)
- Avoid crashing the app when the InteropLayer can't find some methods in the native implementation (3bd3f101b9 by @cipolleschi)
- Properly handle null value in TurboModule Interop layer (ebfd7057af 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.75.5
Added
- Implement more missing methods on WithRuntimeDecorator (80f67ca03c by @neildhar)
Changed
- Bump hermes version (fcf621aba3 by @cipolleschi)
Android specific
- [0.75] Bump Kotlin to 1.9.25 to mitigate #49115 (25e76a2717 by @riteshshukla04)
- Bump Kotlin to 1.9.25 to mitigate #49115 (25e76a2717 by @cortinico)
iOS specific
- Pin Xcodeproj to < 1.26.0 (2922af2e7e by @cipolleschi)
- Pin concurrent-ruby to <= 1.3.4 (794bf34e60 by @cipolleschi)
Fixed
- fix: FormData filename in content-disposition (78ef1e2bc2 by @foyarash)
Android specific
- Set TextInput selection correctly when attached to window in Android (1656394bae by @QichenZhu)
iOS specific
- Fix the generation of .xcode.env.local (dbffbf72d7 by @cipolleschi)
- Fabric: Fixes animations strict weak ordering sorted check failed (ea0bc54115 by @zhongwuzw)
- Exclude dSYM from the archive (fdb2631b5e by @cipolleschi)
- Fix images not displayed when extension is implicit (b6ed0d351e 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.
EOF
0.76.7
Changed
iOS specific
- Pin 'concurrent-ruby' to a working version (198adb47af by @cipolleschi)
Fixed
- Fix
maxFontSizeMultiplier
prop onText
andTextInput
components in Fabric / New Architecture (ea49d4d1b01107a5ecbbbd4904f1d935e51d6b32 by @RickardZrinski) - Appearance: Fix
Appearance.setColorScheme(null)
not resetting color scheme value (7d63235086 by @sangonz193)
Android specific
- Add missing
invariant
dependency (ee8088b615 by @tido64) - Fix execution of early InteropEvents (4ed2b35bf6 by @mdvacca)
- Bump Kotlin to 1.9.25 to mitigate #49115 (f8857ba3b5 by @cortinico)
iOS specific
- runtime:
RCTSurfaceHostingProxyRootView
no longer has different behavior (whether it callsstart
on the provided surface) depending on which initializer is used. Callstart
yourself on the surface instead. (13b93cfdda by Nolan O'Brien) - Be less strict with method parsing of TurboModule Interop Layer
- Avoid crashing the app when the InteropLayer can't find some methods in the native implementation. (3bd3f101b9 by @cipolleschi)
- Fix applicationDidEnterBackground not being called (adaceba546 by @alextoudic)
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.0-rc.3
Added
iOS specific
- Add the
source
parameter to generate-codegen-artifacts to avoid generating files not needed by libraries. (98b8f17811 by @cipolleschi)
Fixed
- Add missing
invariant
dependency (ee8088b615 by @tido64) - Fix
maxFontSizeMultiplier
prop onText
andTextInput
components in Fabric / New Architecture (ea49d4d1b01107a5ecbbbd4904f1d935e51d6b32 by @RickardZrinski)
Android specific
- Pass the bundle URL protocol when setting up HMR client on Android (32fe244744 by @byCedric)
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.0-rc.2
Fixed
iOS specific
- Load images even when the extension is implicit (b9f418e9bc 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.74.7
React Native 0.74.x is now out of support. Please migrate to React Native 0.75.+
Fixed
Android specific
- Fix #41226 by suppressing path adjustment when not actually drawing a border (8501b6396b by @knappam)
- RGNP - Remove unnecessary dependency on
gradle-tooling-api-builders
- serviceOf failure (b6bdecd309 by @cortinico)
iOS specific
- Fix iOS crash occurring when navigating to a new app screen with a displaying modal (52888c0c1e by Zhi Zhou)
- Fix ruby for CI (1c80702e95 by @cipolleschi)
- Fixes animations strict weak ordering sorted check failed (60889e170c 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.