Packages

react-native

0.88.1 · 27 Oct 2026MIT22.3M / weekRepositoryHomepagenpmAtom feed

Your version

0.50.0

3 Nov 2017Where it was published

0.88.1 is the newest release of 0.50.x.

npm marks 0.50.0 as deprecated: Issues and pull requests filed against this version are not supported. See the React Native release support policy to learn more: github.com/reactwg/react-native-releases

In short

4 breaking1 removed1 deprecated59 new40 fixed88 changed2 internal

  • Breaking

    Add interface for ReactShadowNode

  • Breaking

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

  • Breaking

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

  • Breaking

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

  • Removed

    Remove older devtools hook for relay-devtools (bd70f3a) - @leebyron

  • Deprecated

    Deprecate older API uses of prebuilt_cxx_library (49359e8) - @andrewjcg

Release note

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

  • Breaking

    Add interface for ReactShadowNode

  • Breaking

    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

  • Fix setBackground for Android sdk version 15 and below

  • Fix slider colors in Android (31904d5) - @martinezguillaume

  • Fix regression in Java->C++->JS ViewManagers interaction.

  • Fix DeviceIdentity on RN for Android

  • Fix Android 4.1-4.3 WebView source baseUrl bug (59d9f8c) - @Etheryte

  • Fix overflow hidden (30044fd) - @AaaChiuuu

  • Fix arc drawing when sweep >= 360 (b64e6c7) - @nihgwu

  • Fixed crash in ReactTextInputLocalData (cdea3c5) - @shergin

  • Fix the debug logging regression (adde2ed) - @alexeylang

  • Fixed issue with remeasuring ReactTextShadowNode (a177979) - @shergin

  • Only disallow <Switch> changes if the value actually changed

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

  • Implement lazy discovery for ViewManagers.

  • Add TimePicker modes (1c24440) - @Kerumen

  • Add check for valid rootTag in ReactRootView

  • Add support for dynamically sized ReactRootView

  • 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

  • Deprecated

    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

  • 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).

  • Removed ProgressBarAndroid.android deprecation warning (87bc732) - @bvaughn

  • Fixing RTL HorizontalScrolling in Android

  • 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

  • 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.

  • Rename catalyst animations (87a1dc4) - @kangzhang

  • Detangle destroy and create accesses in ReactInstanceManager

  • Avoid oversending modalDismissed event (9bf936c) - @mmmulani

  • Allow applicationId to be specified on build (9796295) - @shockdesign

iOS

Bugfixes

  • Fix Content-Type header checking of React/RCTJavascriptLoader.mm #15791 (3ae45d5) - @justinr1234

  • DeviceInfo.isIPhoneX_deprecated: Ugly and temporary way to fix your UI on iPhone X (33f4779) - @shergin

  • Fixing clowntown in RCTUIManager (d7f6208) - @shergin

  • Fix build errors exposed by building against clang 5.0

  • Fix format warnings for clang 5.0

  • Fixed crash in [UIManager setLocalData:] (f8e1386) - @shergin

  • Hack-fix the Modal component interacting with LayoutAnimation (e220878) - @mmmulani

  • Fix crash when trying to load photo library assets with nil image url (7fab093) - @terribleben

  • Fixed issue with measuring text with NaN width (6b11259) - @shergin

  • Fix Android project do not delete font files when run react-native unlink (c1058b1) - @iineva

  • Fix ReactLegacy project (01bcbd4) - @fromcelticpark

New features and enhancements

Others

General

Bugfixes

New features and enhancements

Others

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.