React Native v0.39.0-rc.0 released
v0.39.0-rc.0 on GitHub (npm)
Breaking changes
See this document for a complete list of breaking changes (three) and actions required.
General
- Update RN shadow nodes to hold CSSNode instead of extending CSSNode (0df65bb) - @astreet
- Kill require('image!...') (2214146) - @frantic
Android
- Move to new C-based implementation of css-layout in RN Android (d63ba47) - @astreet
- Android: Fix inconsistency with fractional TextInput padding (aa85408) - @rigdern
- Disable debug menu when monkey is running (9a8b5d9) - @rigdern
General
Bugfixes
- Fix flex within max width constraint (72d1191) - @emilsjolander
- Fix view clipping to operate on ui hierachy (26e373c) - @majak
- Workaround fix for Visual Studio (c5f6e86) - @splhack
- Fix usage of old String constructor (2a04569) - @javache
- Navigator: null check on gesture.overswipe to prevent crash (54e9471) - @rigdern
- Update ReactShadowNode to not add CSSNode children if parent has measure defined (10e0aec) - @astreet
- Introduce nativeImageSource API (dcbcda7) - @frantic
- Don't clip if ui and react view hierarchies are different (d5e067f) - @majak
- Dont measure single flex grow+shrink child (4500e4d) - @emilsjolander
- Absolute positioned items should apear inside padding but outside border (7449658) - @emilsjolander
New features and enhancements
- Add the configuration option to the run-android command (2a2d3c6) - @SandroMachado
- Add extractOffset to Animated (6535858) - @ryangomba
- Add a new Navigator SceneConfig swipeFromLeft (1888a0a) - @nverdhan
- Add aspectRatio style property (e1df3c8) - @emilsjolander
- Only skip updating computed flex basis within the same generation (15f848e) - @emilsjolander
- Rewrite 'react-native init' and 'react-native upgrade' without using Yeoman in preparation for templates support (a477aec) - @mkonicek
- Make Modal pass rootTag to AppContainer (4530da8) - @fkågozali
- TouchableOpacity: Respond instantly to first touch (fa8c536) - @ariabuckles
Android
Bugfixes
- Call all android back key handlers before invoking default (b4283ed) - @dltmd6262
- Fix redundant styles on RefreshControl for Android (39c1818) - @linmic
- Prevent hitslop crash on Android (c2a55ba) - @AndrewJack
- Drop CSSNode pool on low memory when app is backgrounded (48bb364) - @astreet
New features and enhancements
- Expose setAllowUniversalAccessFromFileURLs in Android WebView (b6a38e8) - @locly
- Update logging to support levels, print messages in Android logcat on assertion failures (a731a23) - @astreet
- Proper NativeAnimated node invalidation on Android (6f5433f) - @ryangomba
- Reduce overdraw layers by hiding cards when they are not visible (54beee2) - @rigdern
- Expose Image's onError event to JavaScript (e87e181) - @rigdern
- Provide more info when image fails to load (d117f55) - @frantic
iOS
Bugfixes
New features and enhancements
- Add the scheme configuration option to the run-ios command (ca7cbde) - @SandroMachado
- Add
--indexed-unbundle
flag to force iOS ra-bundle format (112bdc9) - @davidaurelio - Add getContentSizeMultiplier & event (eddc2c9) - @rigdern
- Add onScroll event to TextInput (c609aee) - @rigdern
- Added support for
<Text>
'sselectable
attribute on iOS (5d03ff8) - @shergin - Included NativeAnimation module on iOS in the starter project (8965f11) - @sreejithr
- Expose NavigatorIOS::replaceAtIndex (b7889e0) - @daniel-nagy
- PushNotificationIOS: Use PushNotificationEventName as the key to store in the handler map (e51cb34) - @ianlin
- Expose RCTDevMenuItem when not in DEV mode (3b4ac79)