Upgrading react-native 0.45 to 0.46
Breaking0.45.1 → 0.46.4Breaking3Deprecated1New23Changed32Fixed32Other35
BreakingUpgrade verdict
3 breaking changes.
In plain terms
- Code that read the text input size from the onChange event will no longer find that value.
- The helper script used during iOS builds has moved to a new folder, so older Xcode build settings that point to the old location will fail until updated.
- Putting other views inside an Image now shows a warning, since nesting is no longer supported there.
- Adds the newly recommended method for RCTLinkingManager due to deprecation.
Must act 4 items need code or config changes
Adds babel-plugin-transform-class-properties ^6.18.0, metro-bundler ^0.7.4.
Drops joi.
Installs 599 packages in all (was 584).
What you must change
Breaking3
Removes the contentSize property from the TextInput.onChange event.
TextInput.onChangecontentSizeMoves react-native-xcode.sh from packager/ to scripts/, breaking existing Xcode build phase paths.
react-native-xcode.shWarns (yellowbox) when Image is used with nested content.
ImageDeprecations to plan for
Deprecated1
Adds the newly recommended method for RCTLinkingManager due to deprecation.
RCTLinkingManager