@react-native/babel-plugin-codegen
Advanced tools
Changelog
v0.73.0
flow-typed/
directory from the react-native
package (4540668c15 by @huntie)pointScaleFactor
(dce7242ab6 by @NickGerleman)YGConfigGetInstanceCount
(858173280f by @NickGerleman)interpolateProps
functionality from ComponentDescriptor
to fix circular dependency between react/renderer/core
and react/renderer/components/view
(bae63d492f)CallInvoker
to NativeMethodCallInvoker
(b70f186b53 by @RSNara)YGErrata
integration within C ABI (0fd0f56f20 by @NickGerleman)runtimeConfig
provider for the Template
(2de964cfd2 by @dmytrorykun)role="searchbox"
should assign "SearchField"
trait on iOS (2749fbca9a by @mdjastrzebski)warnOnLegacyNativeModuleSystemUse
(9859fbc2ec by @philIip)excludeYogaFromRawProps
feature flag, if you need to pass layout props to Java view managers when using new architecture (88e19c0ce6 by @zeyap)ReactTextView
setPadding
applying logic error (d8ced6f895 by @jcdhlzq)view
getter on RCTRootView
/ `RCTFabricSurfaceHostingProxyRootView (33e0521788 by @zoontek)RCTTurboModuleRegistry
is unavailable in RCTRootView
and RCTSurfaceHostingProxyRootView
(268d9edad6 by @philIip)HasBridge
is removed from RCTRootView
and RCTSurfaceHostingProxyRootView
(57b86f7a87 by @philIip)sizeMeasureMode
argument from RCTSurfaceHostingProxyRootView
constructor (0d83c1a668 by @philIip)RCTFabricSurfaceHostingProxyRootView
(676676c954 by @philIip)RCTLocalAssetImageLoader
with RCTBundleAssetImageLoader
(b675667a47 by @hellohublot)React-FabricImage
pod. (44af6ca03c by @cipolleschi)getModuleInstanceFromClass
required (5a7799eead by @philIip)getModuleClassFromName
required (fbf196dd05 by @philIip)openURL
method from RCTInspectorDevServerHelper
(3ef7de848d by @huntie)slice
of class Blob
. (e35ca71bca by @trashcoder)@react-native/babel-preset
. (db4a253c1e by @yungsters)react-native/typescript-config
(cae52f6cf8 by @NickGerleman)package.json
exports field (1b0e8b1de4 by @NickGerleman)contentType
parameter to Blob declaration (ff40138c76 by @trashcoder)testID
from TextStyle
types (3273d38d3b by @tobua)npx react-native
uses old cached version (bfca23a25d by @blakef)YGNode
(72fb75d4d4 by @NickGerleman)YGPrintOptions
(fe6f70b913 by @NickGerleman)/symbolicate
endpoint to allow custom frame skipping logic on a stack level. (03e78010ae by @GijsWeterings)performance.reactNativeStartupTiming.initializeRuntimeStart
and performance.reactNativeStartupTiming.initializeRuntimeEnd
API (50638714f5, 10e8b3538f)transform-origin
on old arch (5f40f0800e by @jacobp100)smartInsertDelete
prop to TextInput
component (6b62f12ce9 by @fabioh8010)AppState
(1bda78f2fa by @w3cay)source
in Image
type (83885f1d69 by @BrodaNoel)_onLayout
to update bottom height when frame height is changed (5059ddc5ce by @lyqandy)^29.2.1
to ^29.6.3
(3c323382fe by @robhogan)BaseViewManagerTest.java
=> BaseViewManagerTest.kt
(3660b7cf73 by @retyui)JSX.Element
with React.JSX.Element
in App.tsx
template (1383a59ed2 by @retyui)Object.defineProperties
instead of object property assignment (cf631ad59f by @yungsters)scrollEventThrottle
prop support for android (777934ec3a)getCanonicalName
and getMessage
methods exposed by fbjni
(6c729acd12 by @krystofwoldrich)setJSEngineResolutionAlgorithm
to public from private. Brownfield apps should be able to setup the JSResolutionAlgorithm before hand. (cb376dd0d8 by @SparshaSaha)NativeDevSettings.setIsDebuggingRemotely()
. (361a944348 by @huntie)cancelable
option in Pressability
configuration to not block native responder, and instead introduced a new optional blockNativeResponder
boolean option to accomplish the same thing. (30e2345b26 by @yungsters)ScrollView
text fields into view with automaticallyAdjustsScrollIndicatorInsets
(9ca16605e0 by @adamaveray)_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION
workaround for boost (b9f0bdd12d by @Kudo)get_default_flags
in Ruby scripts (f60b9f695e by @cipolleschi)canLoadFile
function from HermesExecutor.java (1b7e26cccb by @cortinico)EventEmitter
when used with certain Babel configurations that incorrectly polyfill the spread operator for iterables. (8b768f144a by @yungsters)maintainVisibleContentPosition
adjustment moves window before list start (c168a4f88b by @NickGerleman)visible=false
(468a13635a by @mdjastrzebski)scrollMetrics.offset
in RTL (0e69050612 by @NickGerleman)scrollToIndex
(33d6da01ea by @NickGerleman)event-target-shim
import to support Metro resolving mjs
modules before js
. (e37e53086a by @EvanBacon)isHighlighted
prop to iOS (3d2fd4bf22)signal
for the Request
interface (823b1f467b by @ljbc1994)console.group
(48791bcd98)ref.measureRelative
and ref.measureInWindow
for nodes with scale/rotate transforms in their parents. (64416d9503 by @rubennorte)viewabilityConfig
prop type any
to ViewabilityConfig
(5dfa38a20e by @jeongshin)substr()
is deprecated, using slice()
instead across RN codebase (8a49754cda by @Pranav-yadav)maintainVisibleContentPosition
(69b22c9799 by @janicduplessis)deprecated-react-native-prop-types
to remove fragile transitive *
dependencies. (f00594b262 by @robhogan)createAnimatedStyle
when providing an undefined transform style (7e26e0270b by @gabrieldonadel)react-native/codegen
shouldn't be built unless it's in the repo — fixes pod install
failures in pnpm setups (3dd6a83c0e by @tido64)NONE
when a null
string is passed to fromValue
(0f48e86fed by @cipolleschi)Accessibility.setAccessibilityFocus
on an unmounted component would crash (5323221d14 by @Abbondanzo)connectTimeout
to callTimeout
in OKHttp client (e00f2445d2 by @troZee)FlatList
on android API 33+ (90186cd9b7 by @hannojg)PermissionAwareActivity
(cff4bc8eea by @yungsters)a..
(5ec2c01697 by @cortinico)accessibilityValue
prop values in accessibilityValue
(0c25f19d39 by @carmenvkrol)RCTUserInterfaceStyleDidChangeNotification
when the app is in the background. (6118aff69d by @alanjhughes)#
and partially escaped urls (2b4e1f5ece by @cipolleschi)packages/rn-tester
(cd30bc3888 by @dmytrorykun)contentOffset
in scroll events in RTL (4f8a8ce316 by @NickGerleman)addEntriesFromDictionary
properly in RCTBaseTextInputView. (e6dd22c628 by @cipolleschi)use_react_native
to support custom react native absolute paths (835f62c189 by @gabrieldonadel)RCTUIManager
invalidation. (bc63e44b23 by @kkafar)Changelog
v0.72.3
Changelog
v0.72.2
@types/metro-config
from template (63f78ea8de by @kelset)@react-native/metro-config
to 0.72.9
(21daa6e790, f37386176 by @kelset)global.performance
in undefined when starting metro from Expo CLI (0ccbd65581 by @Kudo)Changelog
v0.71.2
accessibilityLabelledBy
TypeScript type (e162b07982 by @DimitarNestorov)accessibilityLanguage
TypeScript type (71c4f57baf by @DimitarNestorov)react-native-gradle-plugin
to ^0.71.14
in core, @react-native-community/eslint-config
to ^3.2.0
in starting template (785bc8d97b by @kelset)TextInput
's inputMode
TypeScript types (fac7859863 by @eps1lon)jsRootDir
default value (c0004092f9 by @cortinico)Changelog
v0.72.1
react-native/metro-config
now includes all base config values from metro-config
(bbcedd385b by @huntie)@react-native/metro-config
to 0.72.7
, @react-native/gradle-plugin
to 0.72.11
, @react-native/virtualized-lists
to 0.72.6
(95db9f98f2 by @kelset)react-native/virtualized-lists
does not need react-test-renderer
at runtime (7a2a3278d0 by @tido64)pod install --project-directory=ios
failing (0b96bdcf32 by @tido64)Changelog
v0.72.0
getItemLayout
callback (febf6b7f33 by @NickGerleman)ReactCommon/react/nativemodule/core/platform/ios
and ReactCommon/react/nativemodule/samples
in two separate pods to break circular dependencies. (21d530208f by @cipolleschi)DOMRect
and DOMRectReadOnly
classes to the global scope. (673c7617bc by @rubennorte)setColorScheme
to Appearance
module (c18566ffdb, (0a4dcb0309 by @birkir)BubblingEventHandler
and DirectEventHandler
. (dc2cbed07c by @gtomitsuka)jest --coverage
to .gitignore (7324c22ff9 by @Adnan-Bacic)getName
in react-native-codegen for Java TurboModules (90538909f9 by @javache)pod install
(0eff8d66c9 by @robhogan)d
in terminal. (f72f8daeaf by @szymonrybczak)['require', 'react-native']
(308838c0ff by @huntie)types/jest
to jest/globals
for new react-native projects (9af3c9654a by @UNIDY2002)EventEmitter#addListener
now throws if the 2nd argument is not a function. (2780ba38ff by @yungsters)ref
or innnerViewRef
changes, the old ref will now be invoked with null
and the new ref with the active instance. (Previously, changing ref
or innerViewRef
on a ScrollView
would be treated as though the ref had not changed at all.) (7cf4cf3afb by @yungsters)$ASDF_DIR
(f6a4e4f20f by @MuhmdRaouf)FileReader
and XMLHttpRequest
states (8568b93733 by @eps1lon)scrollEventThrottle
docs (8ea1cba06a by @robwalkerco)T
of Promise<T>
in CodegenSchema.js (8a38e03e0f by @ZihanChen-MSFT)react-native-community/eslint-plugin
to react-native/eslint-plugin
v0.72.0 to align with other packages (5aead70e80 by @afoxman)jest-junit
) (0ba1127c15 by @Pranav-yadav)TSMethodSignature
to react-native-codegen (ae1d54bc5a by @ZihanChen-MSFT)ref
set on TextInput
will now be updated less frequently (when the underlying ref
has not changed). (666f56bff3 by @yungsters)aria-labelledby
from Text props (72d3da19ce by @gabrieldonadel)Content-Location
header in bundle response as JS source URL (671ea383fe by @robhogan)react-native.config.js
is consumed to add elements in the interop layer. (a055e07c3e by @cipolleschi)textContentType
property for backwards compat as mentioned in https://github.com/facebook/react-native/issues/36229#issuecomment-1470468374 (c0abff11b6 by @lunaleaps)use_frameworks!
(6d34952420 by @cipolleschi).../textlayoutmanager/platform/ios
to .../textlayoutmanager/platform/ios/react/renderer/textlayoutmanager
(0e09d6f8a6 by @cipolleschi).../imagemanager/platform/ios
to .../imagemanager/platform/ios/react/renderer/imagemanager
(931a4c5e23 by @cipolleschi).../textinput/iostextinput
to .../textinput/iostextinput/react/renderer/components/iostextinput
(5588e0fe0b by @cipolleschi).../nativemodule/xxx/platform/ios
to .../nativemodule/xxx/platform/ios/ReactCommon
(d1e500c3b1 by @cipolleschi).../platform/ios
to .../platform/ios/react/renderer/graphics
(b5e4fea86e by @cipolleschi)ReactCommon/react/renderer/graphics/conversions.h
in favor of ReactCommon/react/core/graphicsConversions.h
(d72697ca95 by @cipolleschi).node_version
from app template. (a80578afc4 by @robhogan)PermissionsAndroid
(deb6b380b2 by @cortinico)onViewableItemsChanged
won't trigger if first item in data evaluate to false (1f0c2c2895 by @samchan0221)lineBreakStrategyIOS
prop type for Text and TextInput (0c5c07fc9b by @jeongshin)any
(419b41f06d by @jeongshin)exactOptionalPropertyTypes
(7858a2147f by @NickGerleman)unstable_batchedUpdates
(71157f6ba6 by @k-yle)height
, width
, crossOrigin
props on Typescript Image.d.ts file (bcf493f346 by @alvessteve)borderCurve
and pointerEvents
to ViewStyle
(a0800ffc7a by @eps1lon)StyleSheet.compose()
(1752fdc0f5 by @NickGerleman)hermesc
(260bcf7f1b by @tido64)timeRemaining
of idleCallbacks
registered by requestIdleCallbacks
. (d9ab5e81cf by @mir597)addSpansForMeasurement()
(92b8981499 by @NickGerleman)createRootView
is invoked with null bundle (990971186f by @cortinico)ConcurrentModificationException
in UIManagerModuleConstantsHelper::createConstants
(805b88c7a4 by @j-piasecki)isCatalystInstanceAlive
in exception handler (daeee2a661 by @jonnycaley)FB_SONARKIT_ENABLED
from React-Core to React-RCTAppDelegate where it is now used. (34d5212f5c)TextInput
showSoftInputOnFocus
changes from false
to true
(7425c24cbe by @christianwen)automaticallyAdjustKeyboardInsets
not resetting when Prefer Cross-Fade Transitions is enabled and keyboard hides (b8f1bb50f7 by @grgmo)RCTFPSGraph
(987dd6a358 by @mrousavy)find-node-for-xcode.sh
is used. (0d82b402aa by @uloco)-[RCTUITextField textView:shouldChangeTextInRange:replacementString:]
no longer crashes when we pass in a nil
replacement string (d5e6d9cecd by @Saadnajmi)Changelog
v0.71.1
jsinspector
to the prefab target (a80cf96fc8 by @Kudo)initialProps
property to RCTAppDelegate
(b314e6f147 by @jblarriviere)react-native-flipper
when NO_FLIPPER=1
to prevent iOS build fail (f47b5b8b5d by @retyui)Changelog
v0.71.0
Read the announcement blogpost here.
⚠️ Git Bash users on Windows might experience "Unable to resolve" red boxes, because of an issue with Metro (silently fails without discovering any files). It will be fixed in 0.71.1 next week, in the meantime you can set resolver.useWatchman: false
in metro.config.js
.
LogBox.ignoreLog
no longer filters console logs. This means you will start seeing logs in the console that you have silenced in LogBox. See this comment for more details.gap
, column-gap
and row-gap
(9f3a3e13cc by @intergalacticspacehighway)prepare_package_for_release
fail if there is already a git tag with that version (850f855eb6 by @cipolleschi)Promise.any
(475310dbba by @retyui)BlobModule
to RCTCoreModulesClassProvider
(279cfec55f by @andrestone)mixed
value for aria-checked
. (7a19af7fb6 by @ankit-tailor)useAnimatedValue
hook to make it easier working with Animated.Value
s in function components. (e22217fe8b by @fabriziocucci)this.state.bottom
when calculating new keyboard height to fix android keyboard switching (f85e2ecc40 by @pfulop)types
folder to house TypeScript types. (6b2a511cbb)aria-label
prop to Button
, View
, Pressable
component (720cdbc658 by @Viraj-10)aria-valuemax
, aria-valuemin
, aria-valuenow
, aria-valuetext
as alias prop to TouchableOpacity
, View
, Pressable
TouchableHighlight
TouchableBounce
TouchableWithoutFeedback
TouchableOpacity
components (e8739e962d by @dakshbhardwaj)userSelect
style (fc42d5bbb9 by @dakshbhardwaj)scrollEnabled
is not false, if so then fire the VirtualizedList
error (62f83a9fad)returnKeyAction
prop to TextInput
component and remove usages of blurOnSubmit
in native code and convert blurOnSubmit
to returnKeyAction
in the JavaScript conversion layer (1e3cb91707)keyboardShouldPersistTaps
behavior (ef77a4218d by @NickGerleman)globalEvalWithSourceUrl
in production builds. (333583bfbe by @EvanBacon):
in filename (714b22bb43 by @shwanton)anchor
option support for Share
(aeab38357f by @zhumingcheng697)react_native_pods.rb
to simplify app migration (34fafb2b88 by @cipolleschi)borderCurve
style prop for smooth border radius (squircle effect) (8993ffc82e by @eric-edouard)deprecated-react-native-prop-types
3.0.1: changelog (3e91415696 by @yungsters)@react-native/normalize-color
to 2.1.0, @react-native-community/eslint-plugin
to 1.3.0, @react-native/babel-plugin-codegen
to 0.71.1, @react-native-community/eslint-config
to 3.2.0 and @react-native-community/eslint-plugin-specs
to 1.3.0, (8183aac0b1)react-native-codegen
to ^0.71.3
and react-native-gradle-plugin
to 0.71.12"
(a7792da695 by @cipolleschi)'react-native'
export conditions in Jest environment (0376aa4856 by @SimenB).ruby-version
file in Gemfile
(cb7f1b1f0b by @dcangulo).gitignore
(19715cf4fb by @motiz88)SwitchChangeEvent
type (5dd2f2e4b7 by @retyui)yarn
and yarn jest react-native-codegen
works on Windows with git (c4f9556f7e by @ZihanChen-MSFT)(T)
, T|U
, T|undefined
and related stuff in a central place (00b795642a by @ZihanChen-MSFT)hermes-inspector-msggen
to react-native/hermes-inspector-msggen
(530dae8a45 by @gabrieldonadel)Clipboard
mock path (2aba3522ab by @adrianha)(T)
for turbo module codegen (module only) (624bdc7ec6 by @ZihanChen-MSFT)crossOrigin
, referrerPolicy
, width
, height
and srcSet
props to Image Component. (47a05bc26a by @dhruvtailor7)AppContainer
. The effect is that the highlight stills shows without Inspector opened. (a63204800a by @tyao1)DANGER_GITHUB_API_TOKEN
. (9344c7aa5a by @cipolleschi)eslint-plugin-specs
package has prepack hook that changes PACKAGE_USAGE
variable of react-native-modules.js
to true
. (ee9c1a5260 by @dmytrorykun).hermes-cache-key-file
to the workspace to avoid race conditions for new PR landing on Hermes and changing the head commit between the time Hermes is built and the time it has to be consumed. (ccdf9ac985 by @cipolleschi)POST_NOTIFICATION
to POST_NOTIFICATIONS
(910a750fbc by @dcangulo)makeJSCRuntime()
) will need to add React-jsc to their dependencies. (6b129d81ed by @hramos)listKey
prop (010da67bef by @NickGerleman)react-native/eslint-plugin
no longer provides the error-subclass-name
rule. (4f83498462 by @yungsters)react-native/eslint-plugin
no longer provides the no-haste-imports
rule. (1ec69b1823 by @yungsters)AsyncStorage
module (5738fe6426 by @hoxyq)AsyncStorage
module (4de2aaba50 by @hoxyq)HERMES_BUILD_FROM_SOURCE
flag (138af74e3f by @cipolleschi)ImagePickerIOS
module native sources (d03a29ce5f by @hoxyq)onPressIn
/ onPressOut
props (f1f7824203)react-native-codegen
tests in the OSS. (00458c9410 by @cipolleschi)InspectorPanel
from View
to SafeAreaView
(afad68f1a8 by @raykle)cellsAroundViewport
reaching out of bounds (0ef770587f by @NickGerleman)cellsAroundViewport
reaching out of bounds (7aa203beda by @NickGerleman)findPackageJsonFile
should return null
if package.json
does not exist (913ebd207c by @tido64)NODE_MODULES_DIR
from build.gradle
in app template (50b1270298 by @tomekzaw)needsCustomLayoutForChildren
check to the new architecture (e24ce708ab by @grahammendick)onChildStartedNativeGesture
, they appropriately call onChildEndedNativeGesture
to unlock the native gesture such that JSTouchDispatcher
or JSPointerDispatcher
will continue to emit events. (143a0f74b8)AttributedString
comparison logic for TextInput state updates (089c9a5c9c by @NickGerleman)native_modules.rb
script yet, as it hides a hard-coded path (4df793f75b by @tido64)LongLivedObject.h
from ReactCommon podspec (dd0bf83481 by @cipolleschi)Copy Hermes Framework
script phase for non-Hermes build. (7f60bcceac)install_modules_dependencies
has the right C++ version. (40ad31eacf by @cipolleschi)accessibilityRole: grid
to UIAccessibilityTraitNone
(f3d9f2ea23 by @NickGerleman)HERMES_ENABLED
check fixed in react-native-xcode.sh (8745a148b6 by @nvojnovic)RCT_NEW_ACRH_ENABLED
flag (f31134af7d by @cipolleschi)Alert
not showing in an app using UIScene
(153aedce41 by @tido64)contentInsetAdjustmentBehavior
set to automatic
on ScrollView
in the new architecture (27fe6f1079 by @grahammendick)