facebook/react-native
facebook/react-native
Activity
Last release
Open issues
Open PRs
License
release notes
release notes
A framework for building native applications using React
release notes
Published 11/26/2024
Pre-ReleasePre-releaseserverBaseUrl relative to the middleware host. (acf384a72e by @robhogan)position of sticky headers on ScrollView will now be taken into account (cbab004eb9 by @joevilches)com.facebook.react.views.progressbar internal (46526fc2fe by @cortinico)ClipboardModule internal (10f6d5adb5 by @cortinico)com.facebook.react.views.safeareaview internal (39dfbadd5d by @cortinico)DevLoadingModule internal (8c50bf0beb by @cortinico)NotThreadSafeViewHierarchyUpdateDebugListener (287e200332 by @cortinico)AccessibilityInfoModule internal (7168a9d1a2 by @cortinico)CGColorRef with UIColor to avoid manual memory management (b70709dbc2 by @Saadnajmi)RCTHermesInstance constructor breaking change (aec6666bfa by @tido64)rn_rootThreshold in Intersection Observer (a77d8d9d50 by @lunaleaps)resizeMode and objectFit support for 'none'. (d8cfd98070 by @mateoguzmana)React.AbstractComponent in React codebase (6205aad81e by @SamChou19815)display: contents (e7a3f479fe by @j-piasecki)announceForAccessibilityWithOptions function mock in the packages/react-native/jest/setup.js file. (4ae999b90b by @ChrisMattew)NativeAnimatedModule (fd355308fa by @yungsters)HostInstance type to represent the instance of a HostComponent<T>. (e24f9917c2 by @yungsters)DevMenu from react-native (e12c0d9551 by @frankcalise)experimental prefix and fully released mixBlendMode prop (d2c48f3b1a by @jorge-cab)Animated to improve product performance (dc84d00db6 by @yungsters)Animated (f3f652daab by @yungsters)force-cache caching control option (a0be88fd72 by @mateoguzmana)Image cache control for Android (e5dd7d68bf by @mateoguzmana)resizeMethod options when applied to a large image (768a1d8664 by @Abbondanzo)resizeMethod, none, which disables downsampling for an image (6202319ed5 by @Abbondanzo)isHighTextContrastEnabled() to AccessibilityInfo to read ACCESSIBILITY_HIGH_TEXT_CONTRAST_ENABLED setting value (d4ea147b41 by Ariel Lin)outline-width, outline-color, outline-style & outline-offset (17faac4170 by @jorge-cab)unloadApp methods for unmounting surfaces without destroying ReactHost (38593c440e by @rozele)only-if-cached cache control option (dc9db01665 by @mateoguzmana)inputAccessoryViewButtonLabel prop (32931466ed by @mateoguzmana)RCTAppDependencyProvider to the RCTAppDelegate (95fc906930 by @cipolleschi)disabledButtonTintColor prop to ActionSheetIOS (089c87e22e by @henninghall)CallInvoker to BindingsInstaller (87bae7f734 by @mrousavy)isDarkerSystemColorsEnabled() to AccessibilityInfo to read "Increase Contrast" setting value (af3bee6511 by Ariel Lin)systemCyan and systemMint colors on iOS (4caf548a9f by @EvanBacon)outline-width, outline-color, outline-style & outline-offset (1288e38423 by @jorge-cab)AnimatedNode graph will not occur during the insertion effect phase, which means animations can now be reliably started during layout effects. (316170ce8d by @yungsters)appendFragment and prependFragment take an rval instead of a const ref; append/prependAttributedString have been removed (2c31fe99e1 by @javache)animation.start(<callback>) will be scheduled for execution in a microtask. Previously, there were certain scenarios in which the callback could be synchronously executed by start. (090501d26d by @yungsters)Animated components. (f0ffcd4f5d by @yungsters)useMergeRefs and components using it (e.g. Pressable) now support ref cleanup functions. (01e210fd28 by @yungsters)useNativeDriver and AnimatedValue configurations will now synchronously fail. Previously, spring and timing animations with non-zero delays would throw the error asynchronously. (fd8cf19625 by @yungsters)Animation superclass no longer exposes __onEnd as a property. Subclasses must instead invoke super.start(…) in their start() implementation. (b3fe06b268 by @yungsters)HostInstance (which changing nominal types). (177697f539 by @yungsters)toJSON(). (7bd4a54968 by @yungsters)toJSON(). (fe6228512e by @yungsters)style to the original prop value if it contains no AnimatedNode instances. Previously, it would resolve to a flattened style object. (ca234ba10e by @yungsters)outline props on Android to stay consistent with iOS (7ab0002799 by @jorge-cab)prefetchImageWithMetadata's queryRootName nullable in the spec (4dd60acb7d by @TheRogue76)RCTSurfaceHostingProxyRootView no longer has different behavior (whether it calls start on the provided surface) depending on which initializer is used. Call start yourself on the surface instead. (13b93cfdda by Nolan O'Brien)newArchEnabled flag in RCTAppDelegate and RCTRootViewFactory (7e1674fc59 by @okwasniewski)RCTUIGraphicsImageRenderer to RCTMakeUIGraphicsImageRenderer (6a09fc09af by @Saadnajmi)BackHandler.removeEventListener (44d619414c by @retyui)refs property from NativeMethods TypeScript definition. (223e98cc4b by @yungsters)display: contents is used (aa53bde21b by @j-piasecki)flow, where extended JS syntax remains unsupported. (3de9892353 by @huntie)Appearance.setColorScheme(null) not resetting color scheme value (7d63235086 by @sangonz193)useNativeProps (4c3112c8d8 by @cipolleschi)display: contents not being cleaned in some cases (a88ddcecc9 by @j-piasecki)PerformanceEntryReporter::reportMark and PerformanceEntryReporter::reportMeasaure now return created performance entries. (32f7b3b4e0 by @robik)create to customize property lookup (5b5e150eaf by @javache)jscodeshift@17.0.0 to resolve outdated dependencies (39c98fb8f8 by @byCedric)textAlign is set to justify (08e8f6adfd by @coado)maintainVisibleContentPosition in virtualized lists (6c19996e10 by @fabriziocucci)onDropViewInstance cleanup was not being handled after ReactRootView.unmountReactApplication (0449630612 by @rozele)ANTI_ALIAS_FLAG when resetting Text Paint (276e3a7df7 by @NickGerleman)setAndroidLayoutDirection by default (6cf0cfb5a4 by @NickGerleman)r & d not working from Metro sometimes (9a60038a40 by @EdmondChuiHW)onMomentumScrollBegin event not firing on command-driven scroll events (5b609cca09 by @Abbondanzo)attempt to insert nil object from objects (bebd6531b5 by @RodolfoGS)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.
release notes
Published 11/26/2024
Pre-ReleasePre-releaseserverBaseUrl relative to the middleware host. (acf384a72e by @robhogan)position of sticky headers on ScrollView will now be taken into account (cbab004eb9 by @joevilches)com.facebook.react.views.progressbar internal (46526fc2fe by @cortinico)ClipboardModule internal (10f6d5adb5 by @cortinico)com.facebook.react.views.safeareaview internal (39dfbadd5d by @cortinico)DevLoadingModule internal (8c50bf0beb by @cortinico)NotThreadSafeViewHierarchyUpdateDebugListener (287e200332 by @cortinico)AccessibilityInfoModule internal (7168a9d1a2 by @cortinico)CGColorRef with UIColor to avoid manual memory management (b70709dbc2 by @Saadnajmi)RCTHermesInstance constructor breaking change (aec6666bfa by @tido64)rn_rootThreshold in Intersection Observer (a77d8d9d50 by @lunaleaps)resizeMode and objectFit support for 'none'. (d8cfd98070 by @mateoguzmana)React.AbstractComponent in React codebase (6205aad81e by @SamChou19815)display: contents (e7a3f479fe by @j-piasecki)announceForAccessibilityWithOptions function mock in the packages/react-native/jest/setup.js file. (4ae999b90b by @ChrisMattew)NativeAnimatedModule (fd355308fa by @yungsters)HostInstance type to represent the instance of a HostComponent<T>. (e24f9917c2 by @yungsters)DevMenu from react-native (e12c0d9551 by @frankcalise)experimental prefix and fully released mixBlendMode prop (d2c48f3b1a by @jorge-cab)Animated to improve product performance (dc84d00db6 by @yungsters)Animated (f3f652daab by @yungsters)force-cache caching control option (a0be88fd72 by @mateoguzmana)Image cache control for Android (e5dd7d68bf by @mateoguzmana)resizeMethod options when applied to a large image (768a1d8664 by @Abbondanzo)resizeMethod, none, which disables downsampling for an image (6202319ed5 by @Abbondanzo)isHighTextContrastEnabled() to AccessibilityInfo to read ACCESSIBILITY_HIGH_TEXT_CONTRAST_ENABLED setting value (d4ea147b41 by Ariel Lin)outline-width, outline-color, outline-style & outline-offset (17faac4170 by @jorge-cab)unloadApp methods for unmounting surfaces without destroying ReactHost (38593c440e by @rozele)only-if-cached cache control option (dc9db01665 by @mateoguzmana)inputAccessoryViewButtonLabel prop (32931466ed by @mateoguzmana)RCTAppDependencyProvider to the RCTAppDelegate (95fc906930 by @cipolleschi)disabledButtonTintColor prop to ActionSheetIOS (089c87e22e by @henninghall)CallInvoker to BindingsInstaller (87bae7f734 by @mrousavy)isDarkerSystemColorsEnabled() to AccessibilityInfo to read "Increase Contrast" setting value (af3bee6511 by Ariel Lin)systemCyan and systemMint colors on iOS (4caf548a9f by @EvanBacon)outline-width, outline-color, outline-style & outline-offset (1288e38423 by @jorge-cab)AnimatedNode graph will not occur during the insertion effect phase, which means animations can now be reliably started during layout effects. (316170ce8d by @yungsters)appendFragment and prependFragment take an rval instead of a const ref; append/prependAttributedString have been removed (2c31fe99e1 by @javache)animation.start(<callback>) will be scheduled for execution in a microtask. Previously, there were certain scenarios in which the callback could be synchronously executed by start. (090501d26d by @yungsters)Animated components. (f0ffcd4f5d by @yungsters)useMergeRefs and components using it (e.g. Pressable) now support ref cleanup functions. (01e210fd28 by @yungsters)useNativeDriver and AnimatedValue configurations will now synchronously fail. Previously, spring and timing animations with non-zero delays would throw the error asynchronously. (fd8cf19625 by @yungsters)Animation superclass no longer exposes __onEnd as a property. Subclasses must instead invoke super.start(…) in their start() implementation. (b3fe06b268 by @yungsters)HostInstance (which changing nominal types). (177697f539 by @yungsters)toJSON(). (7bd4a54968 by @yungsters)toJSON(). (fe6228512e by @yungsters)style to the original prop value if it contains no AnimatedNode instances. Previously, it would resolve to a flattened style object. (ca234ba10e by @yungsters)outline props on Android to stay consistent with iOS (7ab0002799 by @jorge-cab)prefetchImageWithMetadata's queryRootName nullable in the spec (4dd60acb7d by @TheRogue76)RCTSurfaceHostingProxyRootView no longer has different behavior (whether it calls start on the provided surface) depending on which initializer is used. Call start yourself on the surface instead. (13b93cfdda by Nolan O'Brien)newArchEnabled flag in RCTAppDelegate and RCTRootViewFactory (7e1674fc59 by @okwasniewski)RCTUIGraphicsImageRenderer to RCTMakeUIGraphicsImageRenderer (6a09fc09af by @Saadnajmi)BackHandler.removeEventListener (44d619414c by @retyui)refs property from NativeMethods TypeScript definition. (223e98cc4b by @yungsters)display: contents is used (aa53bde21b by @j-piasecki)flow, where extended JS syntax remains unsupported. (3de9892353 by @huntie)Appearance.setColorScheme(null) not resetting color scheme value (7d63235086 by @sangonz193)useNativeProps (4c3112c8d8 by @cipolleschi)display: contents not being cleaned in some cases (a88ddcecc9 by @j-piasecki)PerformanceEntryReporter::reportMark and PerformanceEntryReporter::reportMeasaure now return created performance entries. (32f7b3b4e0 by @robik)create to customize property lookup (5b5e150eaf by @javache)jscodeshift@17.0.0 to resolve outdated dependencies (39c98fb8f8 by @byCedric)textAlign is set to justify (08e8f6adfd by @coado)maintainVisibleContentPosition in virtualized lists (6c19996e10 by @fabriziocucci)onDropViewInstance cleanup was not being handled after ReactRootView.unmountReactApplication (0449630612 by @rozele)ANTI_ALIAS_FLAG when resetting Text Paint (276e3a7df7 by @NickGerleman)setAndroidLayoutDirection by default (6cf0cfb5a4 by @NickGerleman)r & d not working from Metro sometimes (9a60038a40 by @EdmondChuiHW)onMomentumScrollBegin event not firing on command-driven scroll events (5b609cca09 by @Abbondanzo)attempt to insert nil object from objects (bebd6531b5 by @RodolfoGS)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.