Upgrading react-native 0.50 to 0.51
Breaking0.50.4 → 0.51.1Breaking8New24Changed16Fixed23Other23
BreakingUpgrade verdict
8 breaking changes.
In plain terms
- Removes deprecated APIs from RCTUIManager.
- Removes deprecated APIs from RCTShadowView.
- Renames the I18nManager Left/Right swap methods.
- Negative border radius or width values are no longer accepted.
Must act Top 3 of 8 that need code or config changes
Adds babel-plugin-transform-exponentiation-operator ^6.5.0.
Installs 719 packages in all (was 720).
What you must change
Breaking8
Removes deprecated APIs from RCTUIManager.
RCTUIManagerRemoves deprecated APIs from RCTShadowView.
RCTShadowViewRenames the I18nManager Left/Right swap methods.
I18nManagerConsiders negative border radii and widths invalid.
borderRadiusborderWidthMakes
[RCTShadowView localData] a setter only.RCTShadowViewlocalDataRemoves the experimental shouldBridgeInitializeNativeModulesSynchronously option.
shouldBridgeInitializeNativeModulesSynchronouslyRemoves the experimental shouldBridgeLoadJavaScriptSynchronously option.
shouldBridgeLoadJavaScriptSynchronouslyRemoves the experimental concept of whitelisted modules.