chore(deps): update React Native to v0.72.0 #3142
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bumps scripts/update-rn.sh from v0.71.7 to v0.72.0.
Auto-generated by a dependency updater.
Changelog
v0.72.0
Breaking
getItemLayout
callback (febf6b7f33 by NickGerleman)iOS specific
ReactCommon/react/nativemodule/core/platform/ios
andReactCommon/react/nativemodule/samples
in two separate pods to break circular dependencies. (21d530208f by cipolleschi)Added
DOMRect
andDOMRectReadOnly
classes to the global scope. (673c7617bc by rubennorte)setColorScheme
toAppearance
module (c18566ffdb, (0a4dcb0309 by birkir)BubblingEventHandler
andDirectEventHandler
. (dc2cbed07c by gtomitsuka)jest --coverage
to .gitignore (7324c22ff9 by Adnan-Bacic)Android specific
getName
in react-native-codegen for Java TurboModules (90538909f9 by javache)iOS specific
pod install
(0eff8d66c9 by robhogan)d
in terminal. (f72f8daeaf by szymonrybczak)Changed
['require', 'react-native']
(308838c0ff by huntie)types/jest
tojest/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
orinnnerViewRef
changes, the old ref will now be invoked withnull
and the new ref with the active instance. (Previously, changingref
orinnerViewRef
on aScrollView
would be treated as though the ref had not changed at all.) (7cf4cf3afb by yungsters)$ASDF_DIR
(f6a4e4f20f by MuhmdRaouf)FileReader
andXMLHttpRequest
states (8568b93733 by eps1lon)scrollEventThrottle
docs (8ea1cba06a by robwalkerco)T
ofPromise<T>
in CodegenSchema.js (8a38e03e0f by ZihanChen-MSFT)react-native-community/eslint-plugin
toreact-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 onTextInput
will now be updated less frequently (when the underlyingref
has not changed). (666f56bff3 by yungsters)Android specific
aria-labelledby
from Text props (72d3da19ce by gabrieldonadel)iOS specific
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 [0.71] Web Prop update caused unexpected breaking changes facebook/react-native#36229 (comment) (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)Deprecated
iOS specific
ReactCommon/react/renderer/graphics/conversions.h
in favor ofReactCommon/react/core/graphicsConversions.h
(d72697ca95 by cipolleschi)Removed
.node_version
from app template. (a80578afc4 by robhogan)Android specific
PermissionsAndroid
(deb6b380b2 by cortinico)iOS specific
Fixed
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
andpointerEvents
toViewStyle
(a0800ffc7a by eps1lon)StyleSheet.compose()
(1752fdc0f5 by NickGerleman)hermesc
(260bcf7f1b by tido64)Android specific
timeRemaining
ofidleCallbacks
registered byrequestIdleCallbacks
. (d9ab5e81cf by mir597)