A framework for building native applications using React
Repo react/react-native, read from GitHub 1 min ago. react has not joined Take My Repo.
asyncRequireModulePath at metro:runtime/modules/asyncRequire instead of an absolute path (2f9082fe08 by @janicduplessis)addViewAt crash when a view that a parent still holds with startViewTransition is inserted into another parent (45152f1f85 by @pawicao)Hermes V1 dSYMS:
ReactNativeDependencies dSYMs:
ReactNative Core 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.
AccessibilityState::selected is now std::optional<bool> in C++ props, preserving an unset selected instead of coercing it to false (af4d8eb08a by Calvin Liu)react-native/assets-registry. Use AssetRegistry from react-native and react-native/asset-utils instead. (56c48ac0eb by @huntie)babel/plugin-transform-destructuring plugin (73711b301e by @retyui)react/renderer/graphics/Geometry.h and react/renderer/graphics/conversions.h; include <React/Graphics.h> or <React/RendererCore.h> instead (1449daad5e by @j-piasecki)react-native/community-cli-plugin will no longer be auto-detected from react-native. It must now be specified in devDependencies. (b26baaeba0 by @huntie)react-native package. No breaking change with react-native-community/cli 21.x (required). (be9fbdd0d5 by @huntie)fadeDuration being ignored on newly created Images (98d6795e6d by @bartlomiejbloniarz)unstable_batchedUpdates as deprecated (f6fc189b8c by @retyui)SectionList and VirtualizedSectionList scrollToLocation to account for section headers and sticky headers correctly. (0c35f57447 by @amroaltah)rncore.h; include FBReactNativeSpec.h and call FBReactNativeSpec_ModuleProvider instead (d63648bac6 by @javache)DefaultNewArchitectureEntryPoint.bridgelessEnabled and the deprecated three-argument load(turboModulesEnabled, fabricEnabled, bridgelessEnabled) overload; bridgeless is always enabled in the New Architecture (9b18b951ea by @christophpurrer)DefaultNewArchitectureEntryPoint.fabricEnabled, turboModulesEnabled, concurrentReactEnabled and isConfigurationValid (ca2e11af51 by @christophpurrer)lineBreak and wordBreak props to Text (CSS line-break / word-break) for strict/loose line breaking and phrase-based breaking on Android 13+ (f736393946 by @iray-tno)JavaTurboModule::invokeJavaMethod overload with a cachedMethodID argument is deprecated, and codegen CMake builds with -Werror. (f78bdd4aea by @hryhoriiK97)React-cxxreact headers under cxxreact/ inside its framework when USE_FRAMEWORKS is enabled. Pods that include <cxxreact/...> without calling install_modules_dependencies must add React_cxxreact.framework/Headers to HEADER_SEARCH_PATHS. (0a92baec87 by @j-piasecki)bridgelessEnabled property and the deprecated initWithBundleURLBlock:newArchEnabled:turboModuleEnabled:bridgelessEnabled: / initWithBundleURL:newArchEnabled:turboModuleEnabled:bridgelessEnabled: initializers from RCTRootViewFactoryConfiguration; bridgeless is always enabled (2a9eca81b8 by @christophpurrer)+moduleName is now optional on RCTBridgeModule instead of required, so a TurboModule resolved via a module provider need not declare it (373385efc9 by @christophpurrer)RCTBridgeModule.h now has nullability annotations. constantsToExport is nonnull, so a Swift override declared -> [AnyHashable : Any]! no longer compiles: declare it -> [AnyHashable : Any]. Module and view registry lookups, methodsToExport, promise resolve and reject arguments and weak module properties such as bridge are now nullable. (08f96fefe4 by generatedunixname1608173377072046)react-native/metro-babel-transformer passes Metro's own babel/runtime and its version to react-native/babel-preset, when Metro provides them (89db5ce049 by @robhogan)react-native/babel-preset to read enableBabelRuntime and babelRuntimeModuleName from Babel caller data (168a0d7b53 by @cortinico)<React/ComponentRegistry.h> umbrella header as the public entry point for react/renderer/componentregistry (2975534d8b by @j-piasecki)ReactNativeVersion.h to public react/utils module. (a35313a184 by @j-piasecki)react/renderer/core module (dcc872ae01 by @j-piasecki)react/renderer/components/image module (a9203b8fdd by @j-piasecki)react/renderer/imagemanager module (be53e3a9a1 by @j-piasecki)Array.prototype.toSorted and Array.prototype.toReversed when the JavaScript runtime does not provide them (3ff956a2a2 by @javache)Text (03ed284a2c by @Abbondanzo)experimental_onSafeAreaInsetsChange view prop, reporting the part of a view that is covered by the system UI, with a development warning for views that report their insets in a loop (8d658f4101 by @janicduplessis)ViewabilityConfig and ViewabilityConfigCallbackPair types from the package root (932b34a51c by @rubennorte)structuredClone and DOMException as global Web APIs (245bbfaf0a by @rubennorte)eventTime to the onHWKeyEvent device event payload (15bb7e23f2 by @bumjung)strictCxxApiEnabled Gradle property to enforce React Native's C++ stable API in app native code (b5d9b6c03a by @j-piasecki)TraceSection markers now appear in Perfetto and systrace captures (7728787c25 by @tomekzaw)unstable_Immediate UpdateMode support in updateState. (0876643b91 by @intergalacticspacehighway)YogaNode.setNodeType to select pixel rounding for measured nodes (928fd149cb by @pentiumao)AccessibilityInfo.isShowBordersEnabled() and showBordersChanged (Show Borders, formerly Button Shapes) (62a1fc186d by @camilopires)RN_STRICT_API and RN_ALLOW_FRAMEWORKS CocoaPods opt-ins to enforce React Native's C++ stable API in app and library native code (0f1c6ae87d by @coado)-[RCTHost jsCallInvoker] to access the React instance's CallInvoker (8f58866394 by @potomak)RN_STRICT_API and RN_ALLOW_FRAMEWORKS opt-ins for the Swift Package Manager setup to enforce React Native's C++ stable API in the app's native code (47f744d296 by @coado)u-flag regexes, which Hermes compiles natively (92629fd498 by @robhogan)1000.0.0 versioned artifacts. (b5c152237f by @coado)RuntimeScheduler.h no longer transitively includes PerformanceEntryReporter.h or ShadowTreeRevisionConsistencyManager.h; include them directly where the complete types are needed (7aff51e2d1 by @j-piasecki)enableMountingCoordinatorPullModelAndroid in public C++ feature flags and move BackgroundImagePropsConversions.h to "for frameworks" headers (fc4e7061e2 by @j-piasecki)RecoverableError from private headers to "for frameworks" headers (f9c7007dc9 by @j-piasecki)memoize-one package to the latest version (adc45a8a03 by @retyui)ShadowView for a View node no longer uses a dynamic_cast to read its layout metrics (79a562960d by @hryhoriiK97)display: 'none' view no longer re-run layout over the whole surface when something under it was created or changed while it was hidden (fe0df65653 by @mozzius)ShadowNode::cloneTree and UIManager::updateShadowTree (d0078c23d8 by @shubh73)VirtualizedList render and scroll path (avoid per-render Set allocation for stickyHeaderIndices, per-scroll-event Map iterator for the empty nested-list collection, and per-call orientation object allocation) (731ae45ae6 by @secitr)dynamic_cast for every child to check its type (392b7645b3 by @hryhoriiK97)targetSdk to 37 (9fae71c2dd by @alanjhughes)Text (3f5c2f3dbb by @tomekzaw)RCTAppSetupUtils.h no longer transitively imports HermesExecutorFactory.h (a385cecbea by @j-piasecki<-O2 instead of -Os in Release, and Yoga and glog with -O2 in all builds, to match Android (60c817e925 by @chrfalch)spm add and spm update write React Native's build settings to ReactNativeSPM/ReactNativeSPM.xcconfig and its build scripts to ReactNativeSPM/Scripts/, so a version bump no longer changes project.pbxproj. A configuration that uses its own xcconfig must now #include the generated file, and a target setting that hides React Native's value must add $(inherited). spm prints the exact fix in both cases. (cd89e98949 by @chrfalch)fontVariationSettings are re-applied to a reused Paint (96518a8fb9 by @jkadamczyk)StatusBar style and visibility work on iOS 27 for apps built with the iOS 27 SDK when UIViewControllerBasedStatusBarAppearance is YES. Custom root view controllers must return the RCTStatusBarAppearance values. (bd08dafc98 by @alanjhughes)ReactAppHeaders (e3aa9a1e19 by @chrfalch)npx react-native spm update once to rewrite an existing scheme. (b8df948fd4 by @chrfalch)Hermes V1 dSYMS:
ReactNativeDependencies dSYMs:
ReactNative Core 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.
<React/FeatureFlags.h> umbrella header as the public entry point for react/featureflags (f970054a8a by @j-piasecki)<React/RendererBridging.h> umbrella header as the public entry point for react/renderer/bridging (5b680c5f9f by @j-piasecki)<React/Timing.h> umbrella header as the public entry point for react/timing (70f172d29f by @j-piasecki)addEventListener, removeEventListener, dispatchEvent) on native view refs in canary (8480b86820 by @rubennorte)enableImageTransparentTintColor feature flag (c5bd054983 by @coado)'react-native/Libraries/Core/InitializeCore'. Use 'react-native/setup-env' instead. (554baba159 by @huntie)Page.captureScreenshot is added to the EXPERIMENTAL channel (4be68ef785 by @huntie)CANARY channel (713ae6b1b9 by @huntie)Page.captureScreenshot command (00efc0a440 by @huntie)fontVariationSettings (376b99ff14 by @evankatz14)isInstalled() and clearAllLogs() to the LogBox TypeScript declarations (a69badd468 by @Abbondanzo)requestIdleCallback and cancelIdleCallback (c086431a4b by @Critteros)enableMountingCoordinatorPullModelAndroid feature flag (ece0efe837 by @coado)User-Agent header for network requests, matching iOS (04e50d540d by Calvin Liu)PullTransactionMountItem, FabricUIManager.onTransactionAvailable) for the pull model (6515647d94 by @coado)enableMountingCoordinatorPullModelAndroid (9da1a01153 by @coado)fontVariationSettings support for <Text> (19f7d144b9 by @evankatz14)fontVariationSettings support for TextInput (a688608090 by @evankatz14)ArrayBuffer, the Java representation of a JS ArrayBuffer for TurboModules, with an explicit byte-ownership contract (5bb9639594 by Kamil Paradowski)ArrayBuffer bytes are scoped to the synchronous call that received them. ArrayBuffer.bytes and ArrayBuffer.size throw IllegalStateException afterwards, and a ByteBuffer already obtained from bytes is unchecked and reads freed memory, so copy with ArrayBuffer.arrayBufferWithCopiedBytes to keep them (d84c13d511 by @christophpurrer)fontVariationSettings support on iOS (8415753e21 by @evankatz14)React-cxxstableapi dependency to third-party New Architecture pods so they can resolve React Native's C++ API guard headers (d3daf111e0 by @coado)RCT_REMOVE_LEGACY_MODULE_INTEROP and RCT_REMOVE_LEGACY_COMPONENT_INTEROP from CocoaPods and SwiftPM. Both default to off and will become the default in a future release (b933d18177 by @christophpurrer)shadow* styles without providing a solid background color (eb4d3892ab by @hannojg)Platform.OS and Platform.select(...) inlining in react-native/babel-preset now requires the inlinePlatform option in addition to platform (f63b2a1cb5 by @robhogan)Platform.OS and Platform.select(...) for React Native Platform imports during the Babel preset, covering some cases that were previously left un-inlined. (40c06121a1 by @robhogan)ActivityIndicatorView, ModalHostView, PullToRefreshView, SafeAreaView, Switch) no longer report legacy RCT-prefixed names in their view configs (904812016f by @christophpurrer)RuntimeScheduler now clears pending tasks and rendering updates when a task throws (14184ec643 by @javache)CallInvoker work is now buffered alongside callable module calls, so it no longer runs before the JS bundle has finished evaluating (3ca6ea3eca by @javache)experimental_ prefix from backgroundSize, backgroundPosition and backgroundRepeat (7844386bbd by @intergalacticspacehighway)UIManager::startSurface and UIManager::setSurfaceProps now take moduleName and props by value (85a81818c6 by @javache)tintColor an std::optional to support color transparent (0) with props 2.0 (f535c97904 by @hannojg)RCTBundleURLProviderAllowPackagerServerAccess unconditionally (no-op when packager support is compiled out) (54656471a5 by @ramonclaudio)RCTGetModuleClasses/RCTRegisterModule and skip static module registration when both RCT_REMOVE_LEGACY_MODULE_INTEROP and RCT_REMOVE_LEGACY_COMPONENT_INTEROP are defined (5d62ca4296 by @christophpurrer)InputAccessoryView (102fde7b6b by @zoontek)addListener fires again for natively driven Animated values derived with add/subtract/multiply/divide/modulo/diffClamp/interpolate (ce621bbd5b by @dennytosp)ReactRevisionMerge source to the AnimationBackendCommitHook (ca53751780 by Bartlomiej Bloniarz)NativeModule.ios.ts) resolve correctly (f46ace878a by @Gregoirevda)DeviceInfo constants on each read (9d10e39d32 by @artus9033)loadstart, throw InvalidStateError on overlapping reads, and expose FileReader.error as a DOMException. (544141efab by @Abbondanzo)FileReader in the correct state after aborting a read. (e92816c5a5 by @fallintoplace)at <position> being ignored (and corrupting the size) when it follows an explicit size (66f27eb93e by @Titozzz)interface, fixing compatibility with certain DefinitelyTyped packages (593ae0258d by @huntie)DOMHighResTimeStamp back to nanoseconds, so HighResTimeStamp and HighResDuration round trips are exact (c467843ed0 by @GijsWeterings)transformOrigin string parsing for decimal percentage and pixel values. (0a60ec9dea by @MayankSharma-2812)transformOrigin strings. (4501979c1a by @fallintoplace)Hermes V1 dSYMS:
ReactNativeDependencies dSYMs:
ReactNative Core 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.
This release contains no changes over 0.88.0-rc.4.
Hermes V1 dSYMS:
ReactNativeDependencies dSYMs:
ReactNative Core 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.