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
getItemLayoutcallback (febf6b7f33 by NickGerleman)iOS specific
ReactCommon/react/nativemodule/core/platform/iosandReactCommon/react/nativemodule/samplesin two separate pods to break circular dependencies. (21d530208f by cipolleschi)Added
DOMRectandDOMRectReadOnlyclasses to the global scope. (673c7617bc by rubennorte)setColorSchemetoAppearancemodule (c18566ffdb, (0a4dcb0309 by birkir)BubblingEventHandlerandDirectEventHandler. (dc2cbed07c by gtomitsuka)jest --coverageto .gitignore (7324c22ff9 by Adnan-Bacic)Android specific
getNamein react-native-codegen for Java TurboModules (90538909f9 by javache)iOS specific
pod install(0eff8d66c9 by robhogan)din terminal. (f72f8daeaf by szymonrybczak)Changed
['require', 'react-native'](308838c0ff by huntie)types/jesttojest/globalsfor new react-native projects (9af3c9654a by UNIDY2002)EventEmitter#addListenernow throws if the 2nd argument is not a function. (2780ba38ff by yungsters)reforinnnerViewRefchanges, the old ref will now be invoked withnulland the new ref with the active instance. (Previously, changingreforinnerViewRefon aScrollViewwould be treated as though the ref had not changed at all.) (7cf4cf3afb by yungsters)$ASDF_DIR(f6a4e4f20f by MuhmdRaouf)FileReaderandXMLHttpRequeststates (8568b93733 by eps1lon)scrollEventThrottledocs (8ea1cba06a by robwalkerco)TofPromise<T>in CodegenSchema.js (8a38e03e0f by ZihanChen-MSFT)react-native-community/eslint-plugintoreact-native/eslint-pluginv0.72.0 to align with other packages (5aead70e80 by afoxman)jest-junit) (0ba1127c15 by Pranav-yadav)TSMethodSignatureto react-native-codegen (ae1d54bc5a by ZihanChen-MSFT)refset onTextInputwill now be updated less frequently (when the underlyingrefhas not changed). (666f56bff3 by yungsters)Android specific
aria-labelledbyfrom Text props (72d3da19ce by gabrieldonadel)iOS specific
Content-Locationheader in bundle response as JS source URL (671ea383fe by robhogan)react-native.config.jsis consumed to add elements in the interop layer. (a055e07c3e by cipolleschi)textContentTypeproperty 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/iosto.../textlayoutmanager/platform/ios/react/renderer/textlayoutmanager(0e09d6f8a6 by cipolleschi).../imagemanager/platform/iosto.../imagemanager/platform/ios/react/renderer/imagemanager(931a4c5e23 by cipolleschi).../textinput/iostextinputto.../textinput/iostextinput/react/renderer/components/iostextinput(5588e0fe0b by cipolleschi).../nativemodule/xxx/platform/iosto.../nativemodule/xxx/platform/ios/ReactCommon(d1e500c3b1 by cipolleschi).../platform/iosto.../platform/ios/react/renderer/graphics(b5e4fea86e by cipolleschi)Deprecated
iOS specific
ReactCommon/react/renderer/graphics/conversions.hin favor ofReactCommon/react/core/graphicsConversions.h(d72697ca95 by cipolleschi)Removed
.node_versionfrom app template. (a80578afc4 by robhogan)Android specific
PermissionsAndroid(deb6b380b2 by cortinico)iOS specific
Fixed
onViewableItemsChangedwon't trigger if first item in data evaluate to false (1f0c2c2895 by samchan0221)lineBreakStrategyIOSprop type for Text and TextInput (0c5c07fc9b by jeongshin)any(419b41f06d by jeongshin)exactOptionalPropertyTypes(7858a2147f by NickGerleman)unstable_batchedUpdates(71157f6ba6 by k-yle)height,width,crossOriginprops on Typescript Image.d.ts file (bcf493f346 by alvessteve)borderCurveandpointerEventstoViewStyle(a0800ffc7a by eps1lon)StyleSheet.compose()(1752fdc0f5 by NickGerleman)hermesc(260bcf7f1b by tido64)Android specific
timeRemainingofidleCallbacksregistered byrequestIdleCallbacks. (d9ab5e81cf by mir597)