React Native v0.37.0-rc.0 released
v0.37.0-rc.0 on GitHub (npm)
Breaking changes
Remove deprecated APIs and modules (fa5ad85) - @satya164
Removed
Alternative
AppStateIOS
ActivityIndicatorIOS
IntentAndroid
, LinkingIOS
SliderIOS
SwitchAndroid
, SwitchIOS
Remove callback support from following modules, use promises instead:
General
Bugfixes
- Fix justify content + min dimension usage in root (d376155) - @emilsjolander
- Fix justify content + min dimension when children overflow (3e332d9) - @emilsjolander
- Fix flex-shrink when shrinking to zero size (0699a30) - @emilsjolander
- Fix for TouchableNativeFeedback having Animated.Component direct child (f930270) - @tonysherbondy
- Override onContentSizeChange prop on ScrollView before rendering (a5698f5) - @jingc
- Fix Warning: bind(): You are binding a component method to the component (ddb1e44) - @leeight
- Fix CLI errors if no package.json is found (41f4f1e) - @benhughes
- Change flex basis to override main axis size (a9d94c2) - @emilsjolander
- Jest: Mock requireNativeComponent so manual mocking of UIManager properties isn't needed (487171f) - @cpojer
- Dont override flexShrink, flexGrow, and flexBasis with shorthand flex (dc142ad) - @emilsjolander
- CSSLayout: Compatibility with Apple TVOS (ef02134)
New features and enhancements
- Introduce Button Component (2ae73ff) - @ericvicenti
- Add disabled prop to Button (c32ab7e) - @gitim
- Add HorizontalSwipeJumpFromLeft animation to Navigator (2230117) - @yuya-fujimoto
- Increase laziness in InitializeJavaScriptAppEngine (606fc11) - @javache
- Implement a postMessage function and an onMessage event for webviews (abb8ea3) - @jacobp100
- Enable native animations when possible in NavigationExperimental (f9779e3) - @ericvicenti
Android
Bugfixes
- Fix crash when resolveView fails to find a view (8e91843)
- Prevent app from crashing when getCurrentActivity returns null (9c3bfe0) - @cmcewen
New features and enhancements
- ART: Use TextureView and pass Surface from the view to draw on it asynchronously instead of passing the bitmap (d294e15) - @tepamid
- ART: Support dashes in ARTShape (d294e15) - @tepamid
iOS
Bugfixes
- Fix devmenu on iPad (fd554c3) - @frantic
- Add viewConfig to RCTSlider Component, Fixes #10158 (c996081) - @leeight
- Fix CameraRoll to support custom user groups (0010df5) - @gre
- Fix error in react-native run-ios when Product Name and Scheme are different (8b55e50) - @StevePotter
- NavigatorIOS: stopPropagation on navigationComplete event. Fixes #1241 (73c5360) - @ephemer
- Fix react-native link for apps with extra xcode projects in the root folder (157a03d) - @robclouth
- Grab port from Bundle URL (54f48de) - @omeid
- Cancel network requests from the correct queue (26be005) - @javache
- TextInput: don't let user more than maxLength when TextInput already exceeds it (40e8d89) - @mmmulani
New features and enhancements
- Add repeatInterval to PushNotificationIOS (9a8b5fc) - @cmcewen
- Add lock to RCTHTTPRequestHandler (4b7f84a) - @javache
- Add the RCTNetwork to the podfile (56ac2a4) - @SandroMachado
- Add a default context name to RCTJSCExecutor (8355ef9) - @javache
- Add support for clamping for NativeAnimated on iOS (5794ff6) - @ryangomba
- Add support for springs for NativeAnimated on iOS (d950db4) - @ryangomba
- Add multipart response download task (2nd edition) (84eaeb0) - @frantic
- Lazily instantiate native modules (9ed9bca) - @javache