Skip to content

Releases: react/react-native

v0.36.0

Choose a tag to compare

@grabbou grabbou released this 25 Oct 18:34

Thanks to 67 contributors who put 139 commits into this release!

Breaking changes

General

  • Default scrollview to flexShrink to allow views below it (c43a3f5) - @emilsjolander

  • Fix unconstraint sizing in main axis (0a9b6be) - @emilsjolander

    Most of your layouts will continue to function as before however some of them might not. Typically this is due to having a flex: 1 style where it is currently a no-op due to being measured with an undefined size but after this change it may collapse your component to take zero size due to the implicit flexBasis: 0 now being correctly treated. Removing the bad flex: 1 style or changing it to flexGrow: 1 should solve most if not all layout issues your see after this change.

Android

General

Bugfixes

  • Add null check for keyboardFrame variable in KeyboardAvoidingView component (770091f) - @Isakdl
  • XMLHttpRequest.getAllResponseHeaders should use CRLF (24c72f5) - @arv
  • Emit willfocus from immediatelyResetRouteStack (95b1fc4) - @dzautner
  • Dump invalid json when call Value::fromJSON failed (9a7e4b4) - @leeight
  • Fix no "window" in react native (1941450) - @sunnylqm

New features and enhancements

Android

Bugfixes

New features and enhancements

  • Add ability to lazy load Native Java Modules (797ca6c) - @AaaChiuuu
  • Android: add support for headless js tasks (3080b8d) - @foghina
  • Add flag to enable lazy view managers (1296cb2) - @AaaChiuuu
  • StatusBar: barStyle support for Android (API 23+) (c4ac8b3) - @alwx
  • Android: enable foreground ripple (6d175f2) - @foghina

iOS

Bugfixes

  • Find correct local IP address when running on iOS device (8adf78f) - @guilhermebruzzi
  • Fix Modal to handle in-call status bar (0ce2bbd) - @mmmulani
  • Fix ScrollView's snap index when scrolling forward and user taps the screen again while still scrolling (72e203b) - @anttimo
  • Fixed crash when setting custom shadow props to null (cfae3e3) - @majak
  • Sync support for new ios bridge (97e3c09) - @mhorowitz
  • Cancel network requests from the correct queue (64dd140) - @javache

New features and enhancements

  • Add support for new ios bridge to FBReactBridgeJSExecutor (af5c8a8) - @mhorowitz
  • Add destination to e2e xcode build (f0a3a25)
  • Apple TV support 1: existing Objective C code should compile for tvOS (d368ebf) - @dlowder-salesforce
  • Apple TV support 2: Xcode projects and CI (scripts/objc-test.sh) (8622998) - @dlowder-salesforce

Windows

Bugfixes

v0.35.0

Choose a tag to compare

@grabbou grabbou released this 11 Oct 11:27

Thanks to 68 contributors who put 132 commits into this release!

General

Bug fixes

New features and ehancements

  • Expose hot & live reload, remote debug, profiling (38354c4) - @dozoisch
  • Add a way to enable / disable lazy native modules (a4916b8) - @AaaChiuuu
  • Add shorcuts for windows & linux to debugger.html (f4e3e19) - @mdamien
  • Add option to bundle server to generate full sourcemaps from babel (e6bec9c) - @cwdick
  • Add Dependency Injection, nodes support for RN/Components integration (6f42603) - @astreet
  • Add "assetPlugin" option to allow arbitrary asset processing (5ac7706) - @ide
  • Add a PushFromLeft animation to Navigator (8ebe66d) - @LinesWan
  • Add jest and jest babel preset to the react-native init command (8689b0f) - @kentaromiura
  • Adjust rnpm link to colorize skipped linking steps (db870f8) - @GantMan
  • packager: dedupe symlinks if they point to already covered paths (4ab455b) - @philikon
  • Allow rn-cli.config.js to specify the default transformer, again (111ed8d) - @philikon
  • Support false mappings in "browser" fields (5710b23) - @davidaurelio
  • Close open rows on scroll in SwipeableListView (5c13eac) - @fred2028

Android

Bugfixes

New features and enhancements

iOS

Bugfixes

New features and enhancements

v0.34.1

Choose a tag to compare

@grabbou grabbou released this 01 Oct 20:04

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

Choose a tag to compare

@grabbou grabbou released this 27 Nov 00:30

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

Choose a tag to compare

@grabbou grabbou released this 10 Sep 08:37

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

Choose a tag to compare

@grabbou grabbou released this 26 Aug 12:54

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

Choose a tag to compare

@grabbou grabbou released this 05 Aug 11:17

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

Choose a tag to compare

@grabbou grabbou released this 21 Jul 09:47

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

Choose a tag to compare

@grabbou grabbou released this 17 Jul 21:05

Android

Bug fixes

  • Fix rnpm not working with MainApplication.java 3c8a2ee

v0.29.1

Choose a tag to compare

@grabbou grabbou released this 13 Jul 17:42

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