React Native v0.28-rc released
v0.28-rc on GitHub (npm)
General
Breaking changes
- Kill NavigationLegacyNavigator (ef44781) - @hedgerwang
- Kill NavigationExperimental Containers (14eb427) - @ericvicenti
- Kill NavigationView (c3714d7) - @hedgerwang
Deprecations
- Keyboard events should now be registered via
Keyboard
module (currently Keyboard module is not exposed, require it globally or wait for the 0.27.1 that will be released later today / tomorrow morning)
New features and enhancements
- Animated: Implement toJSON method of Animated (17f0807) - @wusuopu
- Make RefreshControl properly controlled by JS (9aa37e8) - @janicduplessis
- Add SwipeableListView (052cd7e 9b1a3c7 2a7f6ae) - @fred2028
- Expose a new prop
transition
for scene renderer. (55c3086) - @hedgerwang - Add support for custom files in BugReporting (610cfdc) - @lexs
- Add "Open file" button to elements inspector (f203c5d) - @frantic
- Add
transform-react-jsx-source
to react-native preset (858643d) - @frantic - Fork NavigationAnimatedView to NavigationTransitioner (7db7f78) - @hedgerwang
- Merge rnpm into react-native (149d0b9) - @grabbou 🎉
Bug fixes
- Protect against JS module call race condition while initializing react instance (a1ba091) - @astreet
- Fix propType check for NavigationCard. (b1cd1cb) - @hedgerwang
- Fix RefreshControl race condition (8fbce30) - @janicduplessis
- NavigationExperimental:
didFocus
event should fired after transition finishes. (8975bb8) - @hedgerwang - Fix RefreshControl on initial render will not beginRefresh when refreshing (cac5ce3) - @aforty
- Fix a bug where NavigationPropTypes.SceneRenderer was a plain object (0e997c6) - @joenoon
- Prevent
SwipeableRow
bleed (5146775) - @fred2028 - Fix 95% of WindowedListView jumpiness (5e91a2a) - @sahrens
- Fix Android flash and iOS juttering (62e588b) - @fred2028
- Fixed incorrect rows reported in onChangeVisibleRows (0aea74e) - @dmueller39
Android
New features and enhancements
- Add pagingEnabled to HorizontalScrollView (a3146e4) - @dmmiller
- Open sourced SwipeRefreshLayoutRecordingModule (457e348) - @bestander
- Implement returnKeyType/returnKeyLabel (dd8caf4) - @Bhullnatik
- Add progressViewOffset to RefreshControl (f7ce0c1) - @UnoDeTantos
- Ability to disable/lock the android ViewPager scroll from props (31250ad) - @kevinejohn
- Fix race condition when clicks are received on react root view and react context is pending (fd37666) - Olivier Notteghem
- Add FpsListener to React Scroll Views (b67d4a2) - Nathan Spaun
- Upgrade to OkHttp3 (6bbaff2) - @AndrewJack
- Fix NetworkingModule construction with interceptors (921d0de) - @bestander
- More helpful error message when react-native start is forgotten (bc634ea) - @codeheroics
Bug fixes
- Fix Android picker controlling (0cd2904) - @spicyj
- Make Modal Status Bar Translucent (191d278) - @jemise111
- Increase the stack size for the React queue on older Android phones (d4f6f61) - @nikki93
- Update the timestamp we send in touch events to be the more accurate (f2c1868) - @dmmiller
iOS
New features and enhancements
- NavigatorIOS: Expose interactivePopGestureEnabled property (4d2c72b) - @rigdern
- Make the root view background color explicit (fa5d1fe) - @shaneosullivan
- Callback with image height and width from IOSImagePicker (df40f48) - @thans
- Enable views to be nested within
<Text>
(fe5c0d2) - @rigdern - Add Copy Stack button to Red Box (5047f6f) - Chris Evans
Bug fixes
- Fix distanceFilter caching for LocationObserver (2310494) - @jrichardlai
- ScrollView: Always fire onScroll event for the resting scroll position (deef8aa) - @rigdern
- Fixed crash due to inserting a nil object into an array in Image loader (ed1ee9b) - @nicklockwood
- Provide correct animation function for hiding keyboard (03edc75) - @rigdern
- Fixed NativeEventListener deregistration (516bf7b) - @nicklockwood