Skip to content

Releases: react/react-native

v0.34.0

27 Nov 00:30

Choose a tag to compare

Thanks to 87 contributors who put 201 commits into this release!

Special thanks to @charpeni for writing these release notes!

General

Bugfixes

New features and enhancements

Android

Bugfixes

New features and enhancements

  • Add "npm i --save react" to Android docs (6729df3)
  • Add TextInput controlled selection prop on Android (3c1b69c) - @janicduplessis
  • Android: Add support for having borders on & components (28ba749) - @rigdern
  • Add onContentSizeChange prop to WebView (22de655)
  • Add performance tracking for rendering (16f76d4)
  • Add annotation processor to create static ReactModule infos (605a0a6) - @AaaChiuuu
  • Add separate JSBunldeLoader for assets (0c2fdf4) - @michalgr
  • Bring back missing android command (993cfa1) - @grabbou
  • Implement flex properties in java version as well (e63a7ea) - @emilsjolander
  • Remove all @ReactModule runtime annotation processing (2889343) - @AaaChiuuu
  • Don't clear queue in ProxyExecutor (b4999fc) - @lexs
  • Update gradle version and android gradle plugin version (6bfabee) - @felipecsl
  • Make Spacing.release() public (1eddd01)
  • Codemod away buck_flags in Libraries/FBR* (708efcf) - @adamjernst
  • Clean up fresco cache clearing code (d3282e3) - @foghina
  • Expose image cache interrogation to JS (69c8898) - @foghina
  • Cleanup FBReactKit BUCK paths (7430820) - @javache
  • Include image dimensions & url in Image's onLoad callback (bcf48e7) - @rigdern
  • Improve ReactRootView's onMeasure error message (00d6587)
  • Convert CoreModulesPackage to use @ReactModuleList (367c712) - @AaaChiuuu
  • Improve loading error handling on Android WebView (5ba40fe)
  • Improve ellipsizeMode prop (cd1a86d) - @rigdern
  • Listen to device orientation changes (f07ca31) - @andreicoman11
  • Smart textinput scroll (372d001) - @andreicoman11
  • Remove ReactRootView's MeasureSpec assertion (300cb03)
  • Evacuate part of optimized bundle logic from react code (d323856) - @michalgr
  • Enable developers to force Fresco to resize an image (b6735f3) - @rigdern
  • Allow UnpackingJSBundleLoader's client to queue action to perform after unpacking (2618ba2) - @michalgr
  • Rename native event timeStamp to timestamp (8aeeb4d) - @andreicoman11
  • Show a redbox when scripts fail to load (bbd1e45)
  • Brings accessibilityLabel into PickerAndroid (efd8b10) - @isnifer
  • Use the c.f.react.bridge.ReactMarker (e70d1db) - @AaaChiuuu
  • break down production startup with more markers (cc30d2f) - @AaaChiuuu
  • Android package name validator consistent with docs (9289e4f) - @radko93
  • Actually close packager websocket connection when destroying instance (588f0b8) - @foghina

iOS

Bugfixes

New features and enhancements

Read more

v0.33.0

10 Sep 08:37

Choose a tag to compare

Thanks to 96 contributors who put 175 commits into this release!

This release requires React ~15.3.0.

Breaking Changes

Android

  • Add Activity to onActivityResult listener interface (fbd2e13) - @foghina
  • Add ReactFragmentActivity, share delegate with ReactActivity (3c4fd42) - @foghina

General

Bugfixes

New features and enhancements

  • Add --config option to CLI to allow passing a path to an rn-cli.config.js (757ab0b) - @skevy
  • Add support for flex-grow, flex-shrink, and flex-basis (0ea4198) - @emilsjolander
  • Remove shouldComponentUpdate policy from NavigationCard and NavigationCardStack (6c4d3c3) - @ericvicenti
  • Make reloads faster for simple file changes (3f504ec) - @davidaurelio
  • Define Flow types for style and stylesheet objects, more checking (8eed600) - @ide
  • Run adb reverse for all devices using run-android with multiple devices (dd6370f) - @jreziga
  • Add onComplete callback to animation config (26e8ae7) - @vaukalak
  • Provide RTL support in NavigationCardStack (fc864a2) - @MengjueW
  • Scroll multiline textinputs when focused (0082517)

Android

Bugfixes

New features and enhancements

iOS

Bugfixes

New features and enhancements

v0.32.0

26 Aug 12:54

Choose a tag to compare

Thanks to 106 contributors who put 240 commits into this release!

This release requires React ~15.3.0.

Breaking changes

General

  • NavigationExperimental: Rename renderOverlay to renderHeader (ca85311) - @hedgerwang
  • NavigationExperimental: Stop using absolute position for NavigationHeader. (38979f9) - @hedgerwang

Android

  • Set Event timestamp internally (changes signature of Event class) (da063e3) - @dmmiller

Android

Bugfixes

New features and enhancements

iOS

New features and enhancements

General

Bugfixes

New features and enhancements

v0.31.0

05 Aug 11:17

Choose a tag to compare

Thanks to 101 contributors who put 228 commits into this release!

Special thanks to @satya164 for writing these release notes!

General

Bugfixes

New features and enhancements

Android

Bugfixes

New features and enhancements

iOS

Bugfixes

  • Fix double completion callback in RCTJavascriptLoader (4aedcc7) - @javache
  • Wrap native module I18nManager with a new RCTI18nManager.js and fix current use of native module I18nManager (471ee87) - @MengjueW
  • Fix misusage of NSUInteger * in RCTImageStoreManager (f317b9f) - @jesseluo
  • Fix description of AlertIOS.prompt()'s parameter defaultValue. (f38d9a1) - @yueshuaijie
  • Provide correct initial value for AppState.currentState (68b0ce6) - @rigdern
  • Fix TextInput stack overflow when pasting text in multiline input with maxlength (23e087f) - @javache
  • Create a CSSLayout CocoaPods subspec that preserves the header directories (ee89ffc) - @ide
  • Fix RCTImageLoader's priority (ffb690f) - @nathanajah

New features and enhancements

v0.30.0

21 Jul 09:47

Choose a tag to compare

Thanks to 90 contributors who put 217 commits into this release!

Special thanks to @satya164 for writing this release notes!

Breaking Changes

Genral

  • Navigationexperimental: Kill NavigationAnimatedView (8ce7ad4) - @jmurzy

Android

  • Native modules implementing ActivityEventListener now need to implement onNewIntent(Intent intent)

General

Bug Fixes

New Features & Improvements

iOS

Bug Fixes

New Features & Improvements

Android

Bug Fixes

  • Implement addUIBlock to allow third party to resolve a view (af28de5) - @gre
  • Persistent WebSocket connection from Android to Packager (adcb949) - @frantic
  • Fix GIF Disappear when return from background (a87c9d5) - @wenzhao.yin
  • Remove iOS platform check for running devtools (1c290d6) - @kageurufu
  • Enable zoom on WebViews on Android (ca0c6db) - @dmmiller
  • Return empty bundle when passing an empty map to toBundle (31f30aa) - @Bhullnatik

New Features & Improvements

v0.29.2

17 Jul 21:05

Choose a tag to compare

Android

Bug fixes

  • Fix rnpm not working with MainApplication.java 3c8a2ee

v0.29.1

13 Jul 17:42

Choose a tag to compare

General

Bug fixes

  • Fix bug in cancelling last task in TaskQueue 4dabb57

Android

Bug fixes

  • Fix 'Unexpected EOF' in old bridge b361490
  • Fix JS assets not being bundled with separate builds for different archs 4d70b85
  • Fix react-native link 214a41d
  • Don't hard crash if you get a null stack trace 2725101

0.29.0

06 Jul 06:29

Choose a tag to compare

Thanks to 97 contributors who put 218 commits into this release!

Special thanks to @satya164 for writing this release notes!

Breaking changes

General

  • Kill NavigationReducers (3a8b50a) - @hedgerwang
  • NavigationExperimental - Clean up NavigationStateUtils (67002e8) - @hedgerwang
    • Remove the logic that lets NavigationStateUtils accept empty value as input and return a new state.
    • Remove the method NavigationStateUtils.getParent, NavigationStateUtils.set.
  • NavigationExperimental - Remove prop onNavigate (fb0007d) - @hedgerwang
  • NavigationExperimental - Define the generic render prop for NavigationTransitioner to render scenes (3a62314) - @hedgerwang

Android

iOS

General

Bug fixes

New features and enhancements

Android

Bug fixes

  • Enable Double R shortcut to reload JS when redbox is shown (4959b21) - @lebronJ
  • Fix deletion layout animations to work with custom view managers (49a5fe4) - @astreet
  • Fix crash when Modal is displayed as a result of touch handling code (837aafd) - Olivier Notteghem
  • Properly validate layout animation config (d4e7c8a) - @janicduplessis
  • Fix potential NPE in layout animation deletion code (bb9ed2d) - Olivier Notteghem
  • Fix bug where UIOperations aren't executed after hosting Activity is paused (eef03fd) - @astreet
  • Remove iOS platform check for running devtools (1b40db7) - @kageurufu
  • Fix dialogmodule crashing with no fragment manager in onHostResume (bf79352) - @foghina

New features and enhancements

iOS

Bug fixes

New features and enhancements

0.28.0

21 Jun 19:06

Choose a tag to compare

Thanks to 87 contributors who put 182 commits into this release!

Special thanks to @satya164 for writing this release notes!

General

Breaking changes

  • NavigationExperimental - Rename NavigationState to NavigationRoute, rename NavigationParentState to NavigationState (807726b) - @hedgerwang
  • NavigationExperimental - Rename scene.navigationState to scene.route (fb5d0ff) - @hedgerwang
  • NavigationExperimental - Rename navigationState.children to navigationState.routes. (1e62602) - @hedgerwang
  • Remove deprecated PullToRefreshViewAndroid and onRefreshStart / endRefreshing (a71a9ef) - @janicduplessis
  • NavigationExperimental - Remove key from NavigationState. (f7279b4) - @hedgerwang
  • Updates to css-layout leading to many fixes but requiring some breaking changes:
    • flex styling property behavior now behaves slightly differently. If you previously used flex: 1 where not necessary this change will likely break your layout as the measuring behavior is slightly different than before due to performance optimizations. Removing that unnecessary flex: 1 will solve your layout in most cases.
    • Due to performance tweaks flexWrap: wrap no longer works together with alignItems: 'stretch' (the default). If you use flexWrap: wrap you probably will want to add the alignItems: 'flex-start' style as well.

Bug fixes

New features and enhancements

Android

Bug fixes

New features and enhancements

iOS

Bug fixes

New features and enhancements

v0.27.0

06 Jun 10:33

Choose a tag to compare

Thanks to 87 contributors who put 210 commits into this release!

Special thanks to @satya164 for writing this release notes!

General

Breaking changes

Deprecations

  • Keyboard events should now be registered via Keyboard module:
// previously
const { DeviceEventEmitter } = require('react-native');
DeviceEventEmitter.addListener('keyboardWillShow', func);

// on 0.27.2 and newer
const { Keyboard } = require('react-native');
Keyboard.addListener('keyboardWillShow', func);

// 0.27.0 & 0.27.1
const Keyboard = require('Keyboard');
Keyboard.addListener('keyboardWillShow', func);

New features and enhancements

Bug fixes

Android

New features and enhancements

Bug fixes

iOS

New features and enhancements

Bug fixes