React Native v0.20.0 released

v0.20.0 on GitHub (npm)


New features

  • Added an optional options parameter for WebSockets - 9b87e6c
  • Generalized image decoding and resizing logic - 21fcbbc
  • Make CameraRoll work with Promises - 9baff8f
  • Change the js signature to be Promise based and dynamically detect it used as a callback - 747be0b
  • Use numeric identifiers when building a bundle - cb4fca3
  • Adding ETag handling to packager improves local development - 528e309
  • Added support for auto-resizing text fields - 481f560
  • Open source Android date and time pickers - 9a0539d
  • Add cross-platform Linking module - e33e6ab
  • Reimplement color processing - c8a0a3e
  • Cross platform status bar API - b979128
  • Use "babel-preset-react-native" - e6cb02d
  • Support non-image assets in packager - 81fb985
  • Added accessibility props for Touchables - c715302
  • Added accessibility props for Touchables #5346 33d8db5
  • Versioned documentation deployment 6f1417c, 7d7508e

Bug fixes

  • TextInput should call blur and focus methods of selectionState - 5ea4d39
  • Fix default logger's loglevel, improve default error handler - 1dffd05
  • RN: Teach YellowBox to Count - ab87033
  • Fix TouchNativeFeedback so that the ripple starts from where a person touches - 48117ce
  • Make the packager work with babel strict mode transform - d33b554
  • RCTUtils Obj-C nullability annotations - 34d5fa2
  • adjust getSize so that its doc can be shown on the page - edb523c
  • Correctly bind Touchable.js setTimeout - f644af3
  • Ensure perspective value is non-zero - dad4622
  • Improve style prop display - 193df8a
  • breaking test and fix for browser field mapping from package to file - 191b692
  • Fix warnings generated by Elements Inspector - c1aed7b
  • Disable navigation bar right button when it's transparent - 1edcf4c
  • Fix problems with graceful-fs bug - f04882f
  • ColorPropTypes support for isRequired and more precise description - 1491668
  • Fix shallow dependency resolution - 361f3f3
  • Replace ScrollView.scrollTo() API with something less ambiguous - 6941c4e

Android

New features
  • Expose setGlobalVariable in CatalystInstance interface - a9a7c78
  • Android AppState - c2d75d7
  • added support for overlayColor property for image - f68281a
  • Open sourced ImageEditor, ImageStore for Android - 1d819e9
  • Add onPageScrollStateChanged for ViewPagerAndroid - 8de86a0
  • Add support for custom scale types - 53100ec
  • Update Android's ScrollView.scrollTo API to match JS/iOS - ee30433
  • Add headers prop to Android WebViews - 80a2f5d
  • Add support for selectionColor on Android TextInput - 0c91931
  • Add scrollEnabled prop to Android ScrollView - 82b0df9
Bug fixes
  • When using split builds, don't generate universal APK - 342a763
  • Fix StyleSheet 'textAlign' for AndroidTextInput - f453e14
  • Don't NPE in reactTagForTouch - 2a70c53
  • Fix a crash in Image when passed an invalid uri - 798acac
  • Fix per connection timeouts for XHR - f7c48ee
  • Fix timing initialization bug - 7e5247c
  • Fix bug with calculating Y offset in RecyclerViewBackedScrollView - 041fb59
  • Use getRealMetrics for display metrics - 8e60394
  • Fix Keyboard handling to allow all characters on Soft Input Panel and hardware keyboard - fa4a5af
  • Allow customized refreshControl in ScrollView for Android - 6d65a90
  • Fix bug related to removeClippedSubviews and view collapsing - 5f4390b
  • Fix scrollTo when using RefreshControl on Android - db74e71
  • Multiple fixes to DisplayMetrics KeyboardListener 33d8db5, 4254e8a, 5a109ae, 228a1fe
  • Fix issue that breaks scroll views w/ RefreshControl on Android 9879717

iOS

New features
  • API for cancelling RCTTouchHandler - c14cc12
  • Added support for width & height for text images - 2cbc912
  • Add 3dTouch props to touch events - fff5dc3
  • Added iOS indicatorStyle prop to ScrollView - b84f5fb
  • add flag to enable momentum scrolling on iOS - 0f7477f
  • Add MapView annotation callback when it gets / lost the focus - cb874a5
  • iOS websocket: include cookies with request - debcac5
  • Add iOS tintColor prop to TextInput - c2233ef
Bug fixes
  • Fixed screen size bug on iPhone6+ - 36e0dd2
  • RCTGzipData() accepts nil input, but was not marked as returning nullable output - cd2eed0
  • Fix RCTNavigator.m when views are not native - cc30e2b
  • Improved 3D touch implementation, and added example - f685878
  • Fix sticky headers position when scrolling while RefreshControl is refreshing - 34389c5
  • Conditionally allowing showCompass view property - 98373ac