Skip to content

Releases: facebook/react-native

v0.29.2

17 Jul 21:05
Compare
Choose a tag to compare

Android

Bug fixes

  • Fix rnpm not working with MainApplication.java 3c8a2ee

v0.29.1

13 Jul 17:42
Compare
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
Compare
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

  • Automatically clip subviews when removeClippedSubviews prop is used (1048e5d) - @nicklockwood
  • Remove deprecated methods from StatusBarIOS (4de616b) - @javache

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

  • Fixed bug where layoutSubviews was called continuously for scrollview (329c716) - @nicklockwood
  • Explicitly set default background color in RCTTextView (1fce891) - @bnham
  • Fixed MapView's draggable annotation (993a928) - @nathanajah
  • Handle the case where redirect URL is relative (39eca05) - @maartenschumacher
  • Fix unbale to scroll in image cropper (13dfb62) - Wenjing Wang
  • Correctly passes localNotification to app on wakeup (57d4523) - @corbt

New features and enhancements

0.28.0

21 Jun 19:06
Compare
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

  • Add Image#getSize for Android (c1558bc) - @cornedor
  • Move new bridge java stuff to OSS (3b3b46d) - @cjhopman
  • Add support for delete animation in LayoutAnimation on Android (0fb5ccf) - @janicduplessis
  • Make "Debug JS" dev menu option persist across app restarts on RN Android (60e0d2c) - @lebronJ
  • Build new bridge with gradle (5e8f171) - @cjhopman
  • Allow app/build.gradle to specify additional packager arguments (1f2027a) - @philikon
  • Allow app/build.gradle to specify how node gets invoked for the packager (58fb91e) - @philikon
  • Add progressListener for android when using FormData to upload files (e63ea3a) - @tantan
  • Hook up Android intent to Linking.js #7079 (c36430a) - @rreusser

iOS

Bug fixes

New features and enhancements

v0.27.0

06 Jun 10:33
Compare
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

  • Fix Android picker controlling (0cd2904) - @spicyj
  • Make Modal Status Bar Translucent (191d278) - @jemise111
  • Increase the stack size for the React queue on older Android phones (d4f6f61) - @nikki93
  • Update the timestamp we send in touch events to be the more accurate (f2c1868) - @dmmiller

iOS

New features and enhancements

  • NavigatorIOS: Expose interactivePopGestureEnabled property (4d2c72b) - @rigdern
  • Make the root view background color explicit (fa5d1fe) - @shaneosullivan
  • Callback with image height and width from IOSImagePicker (df40f48) - @thans
  • Enable views to be nested within <Text> (fe5c0d2) - @rigdern
  • Add Copy Stack button to Red Box (5047f6f) - Chris Evans

Bug fixes

  • Fix distanceFilter caching for LocationObserver (2310494) - @jrichardlai
  • ScrollView: Always fire onScroll event for the resting scroll position (deef8aa) - @rigdern
  • Fixed crash due to inserting a nil object into an array in Image loader (ed1ee9b) - @nicklockwood
  • Provide correct animation function for hiding keyboard (03edc75) - @rigdern
  • Fixed NativeEventListener deregistration (516bf7b) - @nicklockwood

0.26.2

24 May 18:52
Compare
Choose a tag to compare

See 0.26.1 and 0.26 release notes for the full list of changes.

Bug fixes

  • Respect original enumerability/writability when polyfilling globals (17026c3)

0.26.1

21 May 23:00
Compare
Choose a tag to compare

See 0.26 release notes for the full list of changes.

Bug fixes

  • HMR causing the app to crash on reload (01d6dd5 f5b79fd)
  • warnings when using NavigationExperimental (9cc5cf5)

0.27.0-rc

20 May 21:55
Compare
Choose a tag to compare
0.27.0-rc Pre-release
Pre-release
v0.27.0-rc

[0.27.0-rc] Bump version numbers

0.26.0

18 May 23:48
Compare
Choose a tag to compare

Thanks to 104 contributors who put 223 commits into this release!

Thanks to @christopherdro for writing this release notes!

Breaking changes

  • React API must be now required from react package (previously a warning on 0.25)
  • setBridge is no longer called on the main thread - 34ec6a9

New features

Bug fixes

  • Fix potential "Should never unset includeInLayout" invariant - ecae44a
  • Fix initial scenes rendering in NavigationExperimental - 81c62c5
  • Fix incorrect layout for modal - 85f7569
  • Fix stroke bug in ART - 4e5c85b
  • Fix a bug in asset server when using relative project roots - 3881694
  • Fix flow definitions for react-native - 248879f 91d4a09
  • Removed exported constants for fixed-size views - c1aff6b
  • Fix usage of react-native cli inside package.json scripts - 8295d27
  • Fix WebSocket compatibility with event-target-shim ^1.0.5 - 8891f22
  • Fix JSWatchdog reset - 1d802da
  • Fix Animated setValue to work properly on natively driven nodes - 6c80f88
  • Fixed path to regenerator-runtime - ec5016a
  • Fix HMR preset - a2ee5bd

Android

New features

  • Add ability to disable scroll on ViewPager - 5a93877
  • Add ability to expose sync hooks from Java to JS - 50d8d46
  • Add an option to load the Boost library from the filesystem - bc32e06
  • Add Support for Animated.add in native animations - b5375bd
  • Add support for setChildren - 3a5457c

Bug fixes

  • Fix crash in AdsManager by no longer assuming only one react context exists at once - 0a7a228
  • Fix crash caused by accessibility being turned on and using a Modal - 57c40d9
  • Fix Popover location in Events - 8e7ea11
  • Fix NullPointerException in setFontWeight method - 1fb8643
  • Fix IndexOutOfBoundsException in MapView - 446d7b7
  • Fix undefined ref in PullRefreshViewAndroid - d586daa
  • Fix events bubbling out of the Popover - eb21b25
  • Fix ReactNativeART arc drawing - 1af4760
  • Fix ClassCastException inside TextInput - f323b02
  • Fix textShadowOffset error without width or height - 3f0207d

iOS

Breaking changes

  • Add flag "-lc++" for all checked-in projects - 8aa82d3

New features

  • Add support for delete animation in LayoutAnimation - baa3668
  • Add support for badge icon number and alert action when scheduling local notification - 84e6968

Bug fixes

  • Fix deadlock during app startup - 9547a98
  • Fix RCTJavaScriptContextCreatedNotification - e195bf9
  • Fix autocomplete in rich-text editing mode for CJK text input - 91dcc9a
  • Fix some issues with zero fontSizeMultiplier causing RCTShadowText measure function to return an infinite height - 362738a
  • Fix memory leak with cookieMap in RCTJSCExecutor - 32a8949
  • Fix images not displaying with HTTP response 301 - 192ab66
  • Fix pressing a stack frame in Redbox not opening an editor - 037e9ba

0.25.1

04 May 19:16
Compare
Choose a tag to compare

Thanks to 90 contributors who put 154 commits into this release.

Special thanks to @radko93 for writing these release notes!

Deprecations

Requiring React API from react-native is now deprecated - 2eafcd4 0b534d1

Instead of:

import React, { Component, View } from 'react-native';

you should now:

import React, { Component } from 'react';
import { View } from 'react-native';

You can also try this codemod built by the community to automatically rewrite all the imports.

New features

  • Add support for JavaScript third-party debuggers - 4c8a9f0
  • Add key to footer wrapper in WindowedListView - 58db9f3
  • Add support for missing XHR response types - fcc89e9
  • Add a way to prefetch remote images to cache with Image.prefetch - f7bcb3e
  • Add transform-es2015-function-name to the react-native babel preset - 855c0cc
  • Add instructions to reload simulator for non-QWERTY keyboards - c417c2e
  • Add support for ontimeout and onerror handler when using XMLHttpRequest for Android and iOS - d09cd62

Bug fixes

  • Add null check before accessing the refresh control ref - eac617d
  • Fix HMR on Windows - c61100d
  • Fix up PanResponder example - 05a852a
  • Fix an issue when the title in NavigationExperimentalHeader would block touches for the left component - 86d5c52
  • Fixed images required from node_modules - d0566d8
  • Fix an edge case in hot module reloading - 41576ea
  • Fix warnings in UIExplorer example pages - 528cf68
  • Fix perf tab missing key warnings - b7a3272
  • Fix swiping in navigator too quickly causes the gesture to be lost - ca2fb70
  • Fix border radius / background propagation issues in TicTacToe example - 97f60ad
  • Fix race conditions in Portal when simultaneously closing/opening - 7354ff3
  • Fix ImageEditingManager when no external cache - fffcb9c
  • Fix RefreshControl refreshing state - 93b39b7

Android

New features

  • Added support for textDecorationLine style prop on Android - 2039be9
  • Added support for Image corner radius on Android - 69534a3
  • Added WebChromeClient as default WebView client f94abd3

Bug fixes

  • Fix DrawerLayoutAndroid method parameter - d66b944
  • Fix DrawerLayoutAndroid not able to set opacity - 7851572
  • Fix an issue with removeClippedSubviews and TextInput - 89340f1
  • Add support for WebSocket protocols argument - 914f33c
  • Fix systrace logging reported by RUN_JS_BUNDLE - 2d0051f
  • Fix Promise argument assertion to take into account executorTokenOffset - e27a27b
  • Fix Modal crash caused by accessibility bcf91bc

iOS

New features

  • Added cache prepare step for packager in ios e2e test - a6a5ef4

Bug fixes

  • Fix UIExplorer Image example on iOS - a10c1b5
  • Add missing RCTConvert import - db25ab4
  • Fix coalescing key generation for RCTTouchEvent - 8efc098
  • Fix failure of pod lib lint - ef044e2
  • Fix css-layout measure mode changes from pull request #163' - 7a1b072