Skip to content

Releases: react/react-native

v0.48.0

23 Sep 20:14

Choose a tag to compare

July 2017

01 Aug 15:17

Choose a tag to compare

Breaking changes

Android

iOS

General

Bugfixes

New features and enhancements

Android

Bugfixes

  • Fixing drawing bug in ReactArt (a660796)
  • Fix dev reloading (c639a1f) - @AaaChiuuu
  • Don't crash if Window permission isn't granted for dev loading view (56969d5)
  • Fix dev loading indicator (e82ceb2)
  • Fix package order on ReactInstanceManager (4566f01)

New features and enhancements

  • Update overflow docstring to add note on Android (fa147f0) - @joerick
  • Add cmd+opt+ctrl+D to globally invoke dev menu for Android (01adc71) - @Yu-w
  • Add dev bundle download listener on Android (960e5db) - @janicduplessis
  • Add peeking feature in AndroidViewPager (c42080e)
  • Corrected spelling of the word "properties" in error message in ReactAndroid/build.gradle (e8df8d9) - @owenauch
  • Report Java stack traces in synchronous native module calls (534bbfa) - @javache
  • Document URI for Android asset folder images (a38f5b6) - @benvium
  • react-native link support for native Android modules developed in Kotlin (d666f30) - @rauliyohmc
  • Add support for multiple bridge listeners (80bc07f) - @bnham
  • Add a bunch of debug log statements (a1321ae) - @AaaChiuuu
  • Remove SetBuilder (559805d) - @javache
  • Tag INITIALIZE_MODULE marker with the non-zero instance key (e48ad96) - @AaaChiuuu
  • Only load core modules once (2b89416)
  • Separate port constant for inspector proxy server (1ae54b5) - @Hypuk
  • API check for removeOnGlobalLayoutListener in ReactRootView (ecccd06)
  • Simplify Catalyst handleMemoryPressure (83faa4b) - @javache
  • Bunch of props was unified (1081b21) - @shergin
  • Splitting packages into core bridge and core RN (e301a36)
  • Disable multipart bundle transmission for now (33057aa) - @jeanlauliac
  • Translating NativeArray into NativeMap on getConstants (25d19e3)

iOS

Bugfixes

New features and enhancements

  • Add a section about Platform.Version on iOS (390c8cf) - @zubko
  • Add a type cast to RCT_ENUM_CONVERTER for C++ compatibility (eaac3b5) - @jballer
  • Update default blue on iOS (f7c89b4) - @xavier-villelegier
  • Correct its/it's homophone in NativeModulesIOS.md (2083516) - @elillie
  • Make RCTPackagerConnection not depend on RCTBridge (d27ff20) - @fromcelticpark
  • Make RCTSamplingProfilerPackagerMethod not depend on RCTBridge (c143313) - @fromcelticpark
  • Work around the broken way CocoaPods/Xcode deals with header maps (f3f44ee) - @mhorowitz
  • Remove unused folly/File.{h,cpp} from OSS React Xcode project (4fd427e) - @mhorowitz
  • Expose content-available APS key for iOS silent push (60783aa)
  • Removed support of mysterious "deprecated" scale in RCTImageSource (d0ad6ad) - @shergin
  • Introducing -[RCTShadowView canHaveSubviews] (abfa63c) - @shergin
  • Support display: none; style (a04322f) - @shergin
  • Implement nativeID prop to allow native code to reference react managed views (70e0455) - @Yu-w
  • Implement presentationStyle modal appearance (ec68536) - @hnryjms
  • Remove unused RCTRenderingPerf (94d9f00) - @javache
  • Implement editable property for RCTUITextField (719f000) - @shergin
  • Rename placeholderText to placeholder in RCTTextView (2bf4167) - @shergin
  • Introducing RCTBackedTextInputViewProtocol (6ba8e29) - @shergin
  • Introducing RCTTextInput, base class for both text inputs (3364488) - @shergin
  • RCTTextInput: Common layout logic was moved to base class (a8c45ac) - @shergin
  • Support <TextInput keyboardType="numeric" returnKeyType="done" /> (2b1795c) - @shergin
  • Allow RCTModuleData to explicitly opt out from performing its set up on the main queue (2f193b9) - @fromcelticpark
  • RCTAnimation & RCTLayoutAnimation were decoupled from RCTUIManager (6312d67) - @shergin
  • New (actually old) way to make RCTUITextField editable/non-editable (0fd061e) - @shergin
  • Podspec: add required "DevSupport" dependency "InspectorInterfaces.{cpp,h} (5c9cf44) - @HeEAaD
  • ScrollView: updatedChildFrames data controlled by prop (62b20ce)
  • Handle fatal errors thrown by the Chrome debugger (2e42842) - @javache
  • Allow video uploads (8dd15f2) - @fred2028
  • Make startup errors in the websocket executor invalidate the bridge (c5004d5) - @javache
  • TextInput: Fixed textWasPaste prop for single line TextInput (44310da) - @shergin
  • Make OSS CocoaPods build ...
Read more

August 2017

01 Aug 18:42

Choose a tag to compare

August 2017 Pre-release
Pre-release

Changelog coming soon.


Maintainers, urgent fixes can be nominated for cherry-picking into this release here: #15318

June 2017

12 Jul 23:02

Choose a tag to compare

General

Breaking changes

react-native-xcode.sh now lives in a different location

If you're seeing this error during iOS builds:

../node_modules/react-native/packager/react-native-xcode.sh: No such file or directory

then you need to go into Xcode, click the root of your project, go to 'Build Phases', find the one that says 'React Native', then update the command to point to:

export NODE_BINARY=node
../node_modules/react-native/scripts/react-native-xcode.sh

This change is caused by react-native-packager being extracted into a separate project (now, named metro-bundler). Further discussion happens here: #13976 (comment)

Other

  • Better TextInput: contentSize property was removed from TextInput.onChange event (bac84ce) - @shergin
  • Using Image with nested content now causes warning (yellowbox) (279f5f1) - @shergin

Bugfixes

New features and enhancements

  • Native Animated: Prevent views driven by native animated from being optimized away (c87524e) - @janicduplessis
  • Fail gracefully for node<4 in react-native-cli (const->var) (699a0be) - @rh389
  • Add more prop type for View (05ec850) - @mjmahone
  • Add flexWrap warning when used with FlatList (eac399b)
  • Add error message when calling sync methods from the Chrome debugger (7837bdb) - @javache
  • Add message to remind user to enable wifi (f1284b8) - @sebirdman
  • Introducing ImageBackground, replacement for Image which supports nesting views (9637dd4) - @shergin
  • Only call callImmediates once per batch (07ee2fb) - @javache
  • Automatically request location permission when accessing geolocation (9e026ec)
  • Exposes requestAuthorization method (3c64d95)
  • Render section footer in SectionList sections with no data (f702cbe)
  • ART: Call toString on fontWeight else throws error if passed an integer (7cddaa0) - @davidlrnt
  • XMLHttpRequest withCredentials defaults to "true" (9b4a644) - @DanielZlotin
  • CLI: Adding shebang to setup_env.sh script (f16df60) - @gabriel-laet
  • Forcing to alignSelf: stretch was removed from TextInput (4e40521) - @shergin
  • Singleline TextInput now has intrinsic size (ea9d674) - @shergin
  • Multiline TextInput was fixed to match layout logic of singlelined one (4865022) - @shergin
  • VirtualizedList: Pass data prop instead of props to _updateViewableItems in _onScroll (803a916) - @Ashoat
  • Update inquirer package to better support interactive command line prompts (bada25d) - @Yu-w
  • Allow lazy modules registration with the BatchedBridge (485bb70) - @fromcelticpark
  • Refactor of Fiber integration with React Fiber + Stack (59e41b4) - @trueadm
  • Improve View props and style stuff (1f3140c) - @sahrens
  • Cleanup PerformanceLogger (2a3de8f) - @sahrens
  • Support options param for requestIdleCallback (cf51aee) - @jhen0409
  • Adding the ability to run GC on a different thread than the one JSContext was created in (578227d)
  • Create JS executor and context on main thread w/ custom JSC (e284a9d)

Docs

Yoga

Packager

iOS

Bugfixes

New Features and enhancements

  • Add ART library to UIExplorer for iOS, with sample and snapshot test (9e8a39c) - @dlowder-salesforce
  • Add newly recommended method for RCTLinkingManager due to deprecation (ff78a8d) - @jasonnoahchoi
  • Add support for flashScrollIndicators on iOS (5114b61) - @jeanregisser
  • Introduce API for moving screen reader's focus (e40d1a1) - @rigdern
  • Support Animated.loop on iOS (11424a8) - @janicduplessis
  • Improve z-index implementation on iOS (1658f36) - @janicduplessis
  • Introduce API for making screen reader announcements (cfe0032) - @rigdern
  • Introducing -[RCTView reactAccessibleView] (072d270) - @shergin
  • Improve accessibility of multiline TextInputs (863f585) - @rigdern
  • Expose category property of iOS notifications (dd8ed62) - @webmariner
  • Add note for DevSupport in Podfile (152dbcb) - @sunnylqm
  • Minimize time holding lock in UIViewOperationQueue (53169b0) - @javache
  • Added Cookie Header to XML and Websocket request (047961f)
  • Using drawViewHierarchyInRect instead of renderInContext for snapshot tests (3df537a) - @shergin
  • Play sound in local notification only if soundName is specified (9fae268) - @aljs
  • Ignore "Frame load interrupted" errors in UIWebView (23a34d4) - @adamjmcgrath
  • Fixing compiler warning (407b8b4)

Android

Bugfixes

New Features and enhancements

  • Add viewIsDescendantOf for UIManager on Android (663df57) - @Swordsman-Inaction
  • Add missing Java files to RN fbjni sync (f0e4a6c) - @javache
  • Allow WebView to handle about:blank (26ee9b9) - @rigdern
  • Update CatalystInstanceImpl.java (c2eb9f4) - @chnfeeeeeef
  • Updating shake handling for Android in ShakeDetector and DevSupportManagerImpl (aeccbd6) - @sumkit
  • Remove DialogWhenLarge style from devsupport (37d4fd3)
  • Stop SystraceMessage markers with SystraceMessage.endSection (46b3a89) - @michalgr
  • Don't include JNI dep in OSS build (964c3a1) - @javache
  • Add prop on WebView to enable third p...
Read more

July

17 Jul 20:46

Choose a tag to compare

July Pre-release
Pre-release

Changelog coming. For list of changes, please compare this release with 0.46-stable branch.

May 2017

12 Jul 06:58

Choose a tag to compare

General

Breaking changes

Remove React forwarding and wrong import warnings

(f3dbddc) - @janicduplessis

Importing ‘react’ modules from ‘react-native’ has been deprecated since 0.25 and is now an error.

Bugfixes

New features and enhancements

Yoga

Packager

iOS

Breaking changes

Update podspecs to support and default to the C++ bridge

(5aca739) - @mhorowitz

If you are using Cocoapods, you will have to update your Podfile by adding a dependency of ‘BatchedBridge’ or ‘CxxBridge’ to the React subspec depending on your choice.

Bugfixes

New features and enhancements

Android

Bugfixes

New features and enhancements

  • Expose setPointScaleFactor to java (19e1ef9) - @emilsjolande
  • Expose print function to java (924b869) - @emilsjolande
  • Allow Android videos to be shown in the CameraRoll selector (a324dfb) - @fred202
  • Add symbol...
Read more

April 2017

12 Jul 06:58

Choose a tag to compare

General

Breaking change

Remove support for @provides

6cbb57d - @jetzhliu

If you were using @provides NameOfModule, you should now switch to @providesModule

Only call batchDidComplete when there were actually native calls dispatched

c8d922b - @facebook/team-jest

This is breaking because it affects the contract for onBatchComplete, but modules really shouldn't (and probably aren't) depending on it being called without any actual native module method calls having happened.

Navigator has been deprecated

92d985f - @ericvicenti

Navigator has been deprecated in favor of React Navigation. If you wish to continue using Navigator, you can install the react-native-deprecated-custom-components package which provides the legacy Navigator component. Find out more at https://github.com/facebookarchive/react-native-custom-components

Bugfixes

New features and enhancements

Yoga

iOS

Breaking changes

Remove MapViewIOS

48f30ec - @mkonicek

<MapView /> was deprecated for a while, in this release it is removed from react-native. As a workaround, we suggest using react-native-maps by Airbnb. If you cannot migrate to react-native-maps, you can continue using <MapView /> by importing the deprecated-react-native-ios-mapview module into your project with the caveat that the module will no longer receive any updates or bugfixes.

Bugfixes

New features and enhancements

Read more

July 2017

05 Jul 19:57

Choose a tag to compare

July 2017 Pre-release
Pre-release

Changelog coming soon.

June 2017

07 Jun 11:39

Choose a tag to compare

June 2017 Pre-release
Pre-release

Changelog coming later.

v0.45.0

07 Jun 11:39

Choose a tag to compare

[0.45.0] Bump version numbers