Original link: github.com/facebook/re…

Similar to 0.19.0-rc, a few more modifications are indicated (new).

New features

  • ListView adds the scrollTo method

  • MapView adds followUserLocation property, very useful functionality

  • Packager added the option of whether module reference errors throw exceptions (internal optimization, minor refactoring)

  • The Promise library REJECT adds an exception stack

  • Add response.url to XMLHttpRequest (for logging and debugging)

  • ScrollResponder#scrollResponderZoomTo adds the animated parameter

  • Navigator#congirureScene added the routeStack parameter.

  • Pixel () to return the minimum line width that can be drawn (suitable for some scenes that need to draw very thin lines, avoid too thick or invisible, previously need to calculate according to PixelRation. Get ())

  • WebView adds onLoad/onError methods

  • XMLHttpRequest adds a timeout setting

Fix Bugs

  • – Fixed Lint warnings in packagers

  • Fixed the command line tool return value error, the previous error also returned to normal

  • Fixed pipeline error delivery (fixed in 0.18, rewritten this time)

  • Fix packaging errors github.com/facebook/re…

  • Fixed TouchableNativeFeedback background warning

  • Manually link the document for PushNotificationIOS

  • Fixed an issue with the Navitator iOS version not updating the first scenario

  • Do not call NPM until Node is available (should just fix unfriendly error)

  • – Fixed a Bug with ListView boundary use cases (which appears to be inconsistent between the initial and updated number of items)

  • Returns a default when no Transforms is used

  • Fixed ‘Error: spawn NPM ENOENT’ on Windows

  • Fixed navigationBar setting back to NULL

  • Fixed FormData support for non-string and non-object values

  • The last one converted everything that wasn’t an object to a string, so FormData just needs to process strings and objects

  • Fixed redbox error opening text editor on Windows

  • Fix content offset calculation error when scrolling up

  • Fix the command line sourcemap-output option

  • XHR# onReadyStateChange binding this

Android

New features

  • Add AppState (new)

  • Picker with the same API as iOS (new)

  • WebView allows debugging

  • New WebWorkers NativeRunnable C++ interface

  • WebWorkers adds the JSLoader API to load scripts from Assets

  • ListView adds stickyHeaderIndices (Fixed some items to the top)

  • Add @reactProp annotation

  • (increase onSelectionChange

  • Allows DevServer reload requests to be cancelled

  • Support separate compilation for each schema

  • Support for global alert()

  • Support for compiling variables in react. Gradle

  • Open source drop-down box components

  • ReactHorizontalScrollView increase removeClippedSubviews switch (memory optimization)

Fix the Bug

  • Load resources in the same directory

  • Fixed snprintf using less space allocated for ‘\0’

  • Fixed variation and runtime errors when ProGuard is open

  • Progress bar styleAttr default value changed from Large to Normal

  • Do not create DevSupportManager when you are not in development mode

  • Fix the end value of the TextInput#onTextInput callback

  • Fixed WebView loading twice

  • Fixed incorrect size of inline image text

  • Supports setting elevation attributes for any view

  • Compiled using Buck

  • Fixed ViewPagerAndroid passing NULL as a subview crash

  • Increased Transformer timeout (120 seconds to 300 seconds)

  • Remove fixed size of Android Switch (several default values were written out earlier)

  • Fixed Split Compilation for Android (new)

  • Fixed Android Text input field textAlign property (new)

  • Fixed Image invalid source URI crash (new)

Incompatible changes

  • Deactivate platform-specific WebView property names

  • Example Modify onDropViewInstance to execute a signature

iOS

New features

  • Wait for JSExecutor to finish in RCTBridgeTests

  • – Added the react-native run-ios command line

  • UILocalNotification Adds the soundName configuration

  • Fixed border issues in several cases

  • Added phone-pad keyboard

  • More robust running in Xcode with different Node versions (new)

Fix the Bug

  • Fixed iOS 7 URL Query support

  • Reopen testUnderlyingBridgeIsDeallocated

  • Fixed a potential deadlock in RCTModuleData

  • Optimize null URL handling

  • Fixed bridge loss in native modules after reload

  • Update createView C function on profiler

  • Fixed multi-line TextInput without breaking multiple lines

  • Repair of ignoring the Plist NSLocationAlwaysUsageDescription inside properties

  • ActionSheetIOS supports display from a modal view controller

  • Optimize shadow performance

  • Invalidate JS executor when loading JS fails

Incompatible changes

  • On the iOS implementation of Android dispatchViewManagerCommand interface

  • CI changed from iOS9.0/Xcode7 to iOS9.2/Xcode7.2

  • Disallow component color attribute inheritance other than text (very necessary)