React Native v0.31.0-rc released
v0.31.0-rc on GitHub (npm)
General
Bugfixes
- Fix the getRowData method of SwipeableListViewDataSource in SwipeableListView (ba3c7ef) - @sscaff1
- Fix bug in cancelling last task in TaskQueue (9b184cc) - @sahrens
- Fix Navigator transition (5189c94) - @hedgerwang
- Use active scene passed in
props
byNavigationTransitioner
(46a6851) - @jmurzy - Change NavigatorSceneConfig for RTL (cadc753) - @MengjueW
- Don't block scroll when using non-touchable visible row for SwipeableRow (13a19a8) - @chirag04
- RN: Change Time Drift Error into Warning (ed4db63) - @yungsters
New features and enhancements
- Add JSCHelper function to easily install native hooks outside of JSCExecutor (f534560) - @astreet
- Add MessageQueue method for executing function and returning its result (7fa677f) - @javache
- Add completion callback to enqueueJSCall (23e28ec) - @javache
- Add RTL support for SwipeableRow (7e5fc17) - @MengjueW
- Export SwipeableListView component. (a2c6a7b) - @chenxsan
- Implement TextInput onContentSizeChange (2537157) - @janicduplessis
- Better error message when trying to parse a empty body in fetch (eeb9cd8) - @astreet
- Provide RTL support for new Navigator -- Make RTL works in NUX (38a6eec) - @MengjueW
- Open in editor button for yellow box (c65eb4e) - @skv-headless
- Initial implementation of requestIdleCallback (18394fb, 5618c3f) - @janicduplessis
- Throw flow error when trying to access a style that is not defined on a stylesheet to catch typos and unused styles (a564af8) - @brentvatne
Android
Bugfixes
- Fix padding with Text on Android (c3f2bba) - @dmmiller
- Fix timestamps on android touch events to use milliseconds, to be consistent with iOS (4f5c2b4) - @mikelambert
- Don't hard crash if you get a null stack trace in Android (b5c3550) - @astreet
- Fix removing views from ViewPagerAndroid (b0c023c) - @foghina
- Fix handling of line height with inline images (c4ffc7d) - @rigdern
- Fix Spacing lifecycle issue introduced by D3516692 (8c9f190) - @dmmiller
- Fix 'Unexpected EOF' in old bridge (6d3c7b8) - @astreet
- Fixed position of ripple-effect (d73446c) - @noerK
- Fixed the issue due to which js assets are not bundled in the apk when separate build for different CPU architectures is enabled (c0316c6) - @kgritesh
- Fix Android WebView additional schemes, e.g.- “tel:” (33a1f28) - @sathyapriya-31
New features and enhancements
- Add support for layout gravity to ToastAndroid (12ec213) - @donyu
- Support RefreshControl in RecyclerViewBackedScrollView in Android (0c0ac6e) - @tegon
- Support geolocation in android webview (b7bf24b) - @jvassbo
- Add new FileSourceProvider (5d06918) - @tadeuzagallo
- Add API to CatalystInstanceImpl for executing optimized bundle (1331e20) - @michalgr
- Allow apps to provide JSBundleLoader of their choice (e632025) - @michalgr
iOS
Bugfixes
- Fix double completion callback in RCTJavascriptLoader (4aedcc7) - @javache
- Wrap native module I18nManager with a new RCTI18nManager.js and fix current use of native module I18nManager (471ee87) - @MengjueW
- Fix misusage of NSUInteger * in RCTImageStoreManager (f317b9f) - @jesseluo
- Fix description of AlertIOS.prompt()'s parameter defaultValue. (f38d9a1)
- Provide correct initial value for AppState.currentState (68b0ce6) - @rigdern
- Fix TextInput stack overflow when pasting text in multiline input with maxlength (23e087f) - @javache
New features and enhancements
- Add the ability to pre-create the JavaScript thread with RCTJSCExecutor (39cb110) - @adamjernst
- Add responseType as a concept to RCTNetworking, send binary data as base64 (08c375f) - @philikon
- Add ability to customize error messages and stacks within the iOS redbox (9d2e6a2) - @DavidGoldman
- Add Image resizeMode center to iOS (bee1180) - @aleclarson
- Add more profiling markers to RCTJSCExecutor (63e0e6c) - @javache
- Add [RCTShadowView isCSSLeaf] for skipping css tree of children (0587c85) - @emilsjolander
- Expose a way to get the JSContext from a RCTJSCExecutor (5323b77) - @adamjernst
- Make bridge initialization configurable (4269003) - @javache