Skip to content

October 2017

Choose a tag to compare

@grabbou grabbou released this 11 Oct 17:38
· 28891 commits to main since this release

Thanks to @thymikee for wrapping up release notes for this release. If you want to help by creating release notes for next release, let me know. We are happy to guide you through this process.

Highlights

  • <Image> with nested content is no longer supported. Looking into <ImageBackground> instead if this is something you did in our app
  • Android Oreo (8.0) support
  • Support for null titles in AlertIOS

Breaking changes

GENERAL

  • Add interface for ReactShadowNode (a5d1d25)

  • Default enableBabelRCLookup (recursive) to false (023ac57) - @ide

    This is a breaking change that tells Metro to look at only the project's .babelrc file. Previously it would look at .babelrc files under node_modules and would run into issues because it didn't have the version of Babel nor the plugins/presets that node_modules/randompackage/.babelrc wanted. So as a workaround, people would write a postinstall step that deletes node_modules/**/.babelrc, which worked well. This flag (getEnableBabelRCLookup = false) has the same effect and hopefully fixes one source of cryptic bugs people run into.

    To use the old behavior, create a config file named rn-cli.config.js with:

    module.exports = {
      getEnableBabelRCLookup() {
        return true;
      },
    };

    Go under node_modules, modify a used module to have a dummy .babelrc ({"plugins": ["dummy"]}) and ensure the JS bundle still loads.

Android

  • BREAKING: Removed support of nested content inside <Image> on Android (3ff463f) - @shergin

iOS

  • BREAKING: Removed support of nested content inside <Image> on iOS (c55fae1) - @shergin

Android

Bugfixes

New features and enhancements

  • Add JS->Java Bridge traffic (12f123d) - @AaaChiuuu
  • Add include_defs("//ReactAndroid/DEFS") to all BUCK files in ReactAndroid (ebb42ee) - @mzlee
  • Add error customizer for React Native Android (0c234c9)
  • Implement lazy discovery for ViewManagers. (da30b04)
  • Add TimePicker modes (1c24440) - @Kerumen
  • Add check for valid rootTag in ReactRootView (c893989)
  • Add support for dynamically sized ReactRootView (4ca6172)
  • Add getter for JavaScriptExecutorFactory (e764361) - @johnislarry
  • Add interface for ReactShadowNode (08befb7) - @ayc1
  • Add locking around CatalystInstance.getJavaScriptContext() (e9aab0d) - @cwdick
  • Add GlobalImageLoadListener (7320ca5) - @foghina
  • Add headers prop in Image source array type prop (ddc2210) - @phillip055
  • ReactRawTextShadowNode does not inherit ReactTextShadowNode anymore (80027ce) - @shergin
  • Restructured inheritance around ReactTextViewManager and co. (6114f86) - @shergin
  • Keep mActivelyScrolling true as long as events are being fired. (cbb0ccb) - @tomasreimers
  • Make view hierarchy optimizer smarter (e7af72b) - @AaaChiuuu
  • Deprecate older API uses of prebuilt_cxx_library (49359e8) - @andrewjcg
  • Adding TLSv1 support for custom SSL socket factory (0818f3b) - @PaulVanStaden
  • Introducting UIManager.setLocalData(), the way to provide environmental data to ShadowNode (d0790fe) - @shergin

Others

  • Android Oreo (8.0) Support (96de23a) - @AndrewJack
  • Fixed runtime error with ProgressBarAndroid (ccddbf8) - @bvaughn
  • Document Android native communication (a43a988) - @cdlewis
  • Improve formatting of YogaNode.print() on Android (67d0cc5)
  • Update HeadlessJSAndroid.md explaining parameters (f25233b) - @flaviolivolsi
  • Use BitmapRegionDecoder to efficiently crop images on Android (64ffe45) - @faifai21
  • Default TextInput autoCapitalize to sentences on Android (227a5f4) - @jamesisaac
  • Added Android support for loading multiple RAM bundles (4162d73) - @fromcelticpark
  • Intrinsic content size for ReactTextInput (aka autoexpandable <TextInput> on Android) (c550f27) - @shergin
  • Documentation about ABI split in Android Release (d0260b4) - @SuhairZain
  • Unify supplimentary bundle path creation logic between Android and iOS (9e01d72) - @fromcelticpark
  • Updating blog post about RTL from setAllowRTL to allowRTL (Android). (88a79b3)
  • Removed ProgressBarAndroid.android deprecation warning (87bc732) - @bvaughn
  • Fixing RTL HorizontalScrolling in Android (b12213d)
  • Log some RN Core markers (6c2c2ec) - @AaaChiuuu
  • Log Native Module init (565a241) - @AaaChiuuu
  • Log UI Manager operations (672db77) - @AaaChiuuu
  • Add Relay DebugOverlayTag (652dfd0) - @AaaChiuuu
  • Move destroy threads in CatalystInstanceImpl off the UI thread (cf2ef84)
  • Re-added global event-type Map to UIManager constants (d1372fa) - @bvaughn
  • Text to Spannable conversion is now using PRIORITY flag to enforce the order of spans (7efd4fa) - @shergin
  • HeadlessJsTaskService is expected to run on UI thread (7953707) - @oriharel
  • Untangle NativeAnimatedNodesManager from UIManager internals. (4fc9e20)
  • rename catalyst animations (87a1dc4) - @kangzhang
  • Detangle destroy and create accesses in ReactInstanceManager (6334ed2)
  • Avoid oversending modalDismissed event (9bf936c) - @mmmulani
  • Allow applicationId to be specified on build (9796295) - @shockdesign

iOS

Bugfixes

New features and enhancements

Others

General

Bugfixes

New features and enhancements

Others