react-native

A framework for building native applications using React

MIT License

Downloads
121.8M
Stars
115.5K
Committers
3.5K

Bot releases are hidden (Show)

react-native -

Published by grabbou over 8 years ago

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

Special thanks to @satya164 for writing this release notes!

General

Breaking changes

  • Kill NavigationLegacyNavigator (ef44781) - @hedgerwang
  • Kill NavigationExperimental Containers (14eb427) - @ericvicenti
  • Kill NavigationView (c3714d7) - @hedgerwang

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

  • Animated: Implement toJSON method of Animated (17f0807) - @wusuopu
  • Make RefreshControl properly controlled by JS (9aa37e8) - @janicduplessis
  • Add SwipeableListView (052cd7e 9b1a3c7 2a7f6ae) - @fred2028
  • Expose a new prop transition for scene renderer. (55c3086) - @hedgerwang
  • Add support for custom files in BugReporting (610cfdc) - @lexs
  • Add "Open file" button to elements inspector (f203c5d) - @frantic
  • Add transform-react-jsx-source to react-native preset (858643d) - @frantic
  • Fork NavigationAnimatedView to NavigationTransitioner (7db7f78) - @hedgerwang
  • Merge rnpm into react-native (149d0b9) - @grabbou πŸŽ‰

Bug fixes

  • Protect against JS module call race condition while initializing react instance (a1ba091) - @astreet
  • Fix propType check for NavigationCard. (b1cd1cb) - @hedgerwang
  • Fix RefreshControl race condition (8fbce30) - @janicduplessis
  • NavigationExperimental: didFocus event should fired after transition finishes. (8975bb8) - @hedgerwang
  • Fix RefreshControl on initial render will not beginRefresh when refreshing (cac5ce3) - @aforty
  • Fix a bug where NavigationPropTypes.SceneRenderer was a plain object (0e997c6) - @joenoon
  • Prevent SwipeableRow bleed (5146775) - @fred2028
  • Fix 95% of WindowedListView jumpiness (5e91a2a) - @sahrens
  • Fix Android flash and iOS juttering (62e588b) - @fred2028
  • Fixed incorrect rows reported in onChangeVisibleRows (0aea74e) - @dmueller39

Android

New features and enhancements

  • Add pagingEnabled to HorizontalScrollView (a3146e4) - @dmmiller
  • Open sourced SwipeRefreshLayoutRecordingModule (457e348) - @bestander
  • Implement returnKeyType/returnKeyLabel (dd8caf4) - @Bhullnatik
  • Add progressViewOffset to RefreshControl (f7ce0c1) - @UnoDeTantos
  • Ability to disable/lock the android ViewPager scroll from props (31250ad) - @kevinejohn
  • Fix race condition when clicks are received on react root view and react context is pending (fd37666) - Olivier Notteghem
  • Add FpsListener to React Scroll Views (b67d4a2) - Nathan Spaun
  • Upgrade to OkHttp3 (6bbaff2) - @AndrewJack
  • Fix NetworkingModule construction with interceptors (921d0de) - @bestander
  • More helpful error message when react-native start is forgotten (bc634ea) - @codeheroics

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
react-native - 0.26.2

Published by grabbou over 8 years ago

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

Bug fixes

react-native - 0.26.1

Published by grabbou over 8 years ago

See 0.26 release notes for the full list of changes.

Bug fixes

  • HMR causing the app to crash on reload (01d6dd50333672dbd2bc9d4749a5c17968953a81 f5b79fdbf99c44dffe7c29cdd93d3d1c2fa01453)
  • warnings when using NavigationExperimental (9cc5cf525d9de4d59b7d9a0754463eca83a464b4)
react-native - 0.27.0-rc

Published by grabbou over 8 years ago

react-native - 0.26.0

Published by grabbou over 8 years ago

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 - 34ec6a91a9fd85ceb71c4dde884cdc105fd6d7d4

New features

Bug fixes

Android

New features

Bug fixes

iOS

Breaking changes

New features

Bug fixes

react-native -

Published by grabbou over 8 years ago

Refer to release notes for 0.25.1

react-native - 0.25.1

Published by grabbou over 8 years ago

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 - https://github.com/facebook/react-native/commit/2eafcd45dbd42f750df1ab9aa3770fed5cdf11ae https://github.com/facebook/react-native/commit/0b534d1c3da9e3520bfd9b85bdd669db4d8c3b9f

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

Bug fixes

Android

New features

Bug fixes

iOS

New features

Bug fixes

react-native -

Published by ide over 8 years ago

When react-native init sets up a new project and installs the react package, it will use the version specified in the peerDependencies section of React Native's package.json file. Previously, it would always install the latest version of React, rather than the latest compatible version. This change makes sure that React Native will continue using React 0.14.x when React 15.0.0 is released.

If you already have an existing React Native project, you do not need to upgrade from 0.23.0 to 0.23.1.

react-native - 0.23

Published by mkonicek over 8 years ago

Thanks to 91 contributors who put 234 commits into this release!

This release includes Android support for Modal.

Special thanks to @knowbody for writing these release notes!

New features

Bug fixes

Android

New features

Bug fixes

iOS

New features

Bug fixes

react-native - 0.24

Published by ide over 8 years ago

Thanks to 65 contributors who put 142 commits into React Native 0.24! It is available on npm: react-native@^0.24.0.

Docs here: https://facebook.github.io/react-native/releases/0.24/docs/getting-started.html.

This release includes a series of improvements for coalescing touch and scroll events on iOS by Martin Kralik (@majak). These improvements fixed a bug that was preventing some native touch events from being dispatched to JS. This also improves the perceived performance of components that rely on these touch events, like parallax scrollers. Thanks, Martin! πŸ‘πŸ»

Known issues we’re fixing

Ongoing issue thread: https://github.com/facebook/react-native/issues/6800

Breaking changes

New features

Bug fixes

Android

New features

Bug fixes

iOS

New features

Bug fixes

react-native - 0.22

Published by bestander over 8 years ago

Thanks to the 99 contributors who put 316 commits into React Native 0.22.0!

React Native 0.22 ships with Hot Reloading! πŸŽ‰

Special thanks to Mateusz Zatorski (@knowbody) for writing these release notes.

New features

Bug fixes

Android

New features

Bug fixes

iOS

New features

Bug fixes

react-native -

Published by grabbou over 8 years ago

Thanks to the 62 contributors who put 145 commits into React Native 0.21!

forever21 1

Important: Read if upgrading your Android project to this version

We've simplified how your Android apps are built. The Android binaries are now distributed via npm along with the rest of the framework (rather than Maven). This means you'll need to run react-native upgrade to upgrade you Android build (.gradle) files. This is a one-time change.

New features

Bug fixes

Android

New features

Bug fixes

iOS

New features

Bug fixes

react-native - 0.20

Published by bestander over 8 years ago

Thanks to the 84 contributors who put 253 commits into this release!
Special thanks to @knowbody for preparing these release notes.

New features

Bug fixes

Android

New features

Bug fixes

iOS

New features

Bug fixes

react-native - 0.19

Published by shayne over 8 years ago

Thanks to the 87 contributors who put 232 commits into this release!

New features

  • Added scrollTo method to ListView – 33e05a1
  • Add followUserLocation prop to focus on user's location – 3d0ff69
  • Add option to throw/not throw when module can't resolve – 6579b70
  • Add support for promise rejection tracking – b064094
  • Get response url from XMLHttpRequest – b659d7f
  • Add ScrollResponder#scrollResponderZoomTo animated second argument – 963f26c
  • Add Navigator#configureScene, routeStack as second argument – 1abd12b
  • Add StyleSheet.hairlineWidth, useful for drawing thin lines in a layout – cd89016
  • Add onLoading* props for WebView – 274a3e0
  • Add XHR timeout for Android and IOS – 1303e6d

Bug fixes

  • Fix lint warnings in the resolver – 0cb63bb
  • Return non-zero exit code from wrong-react-native – ec76271
  • Pipe transforms errors through transformation pipelines – 5a4ee0b
  • Fix packager cache errors – f421d2b
  • Fix background warning in TouchableNativeFeedback – 28c0240
  • Docs for manual linking in PushNotificationsIOS – 385fa00
  • Navigator iOS doesn't update any scenes when 0th scene is replaced – 61025a9
  • Don't call npm before node is available – 7ecb693
  • Fix corner case bug in ListView – b75c939
  • Bail internal transforms if there're no transforms to run – 7bb6044
  • Fix 'Error: spawn npm ENOENT' on Windows – 749f32b
  • Fixes error when navigationBar is set back to null – 4f9086f
  • Fix FormData to support non-string, non-object values – de392b5
  • FormData can append only string or object with uri – 5061fde
  • Fix launching text editor from a Redbox stacktrace on Windows – e08a7f3
  • Fix content offset calculations when scrolling up – f8f5cb1
  • Fix CLI "sourcemap-output" option – 0065986
  • Bind this in XHR#onReadyStateChange – b8ff621

Android

New features

  • Android AppState: https://github.com/facebook/react-native/commit/c2d75d7a65a2bdf6e1e24a9ce887f9492be477de
  • Android Picker with the same API as iOS, 1dd5ba7
  • Enable WebView debugging – 2462c8f
  • WebWorkers: New c++ interface for NativeRunnable – cf350a6
  • WebWorkers: Add JSLoader API for loading script from assets with AssetLoader reference – 1bfd267
  • Add annotation processor for @ReactProp – 57f6cbb
  • Add onSelectionChange for Android TextInput – 6dc6794
  • Allow canceling DevServer reload requests – cb94d99
  • Add support for split build per architecture – abb81eb
  • Add support for global alert() on Android – 1dc56a6
  • Add support for Build Variants to react.gradle – bd7d10e
  • Open sourced Spinner (aka Picker, "drop down") – 1843709
  • Add removeClippedSubviews for ReactHorizontalScrollView – a10a510

Bug fixes

  • Java exception snprintf off by one – 0b15418
  • Fix build error and runtime error after proguard enabled – 5f3d08d
  • ProgressBarAndroid: default value for styleAttr – a452199
  • Don't create DevSupportManager when not in Dev mode – 6483645
  • Fix the 'end' value in the onTextInput callback for onscreen keyboard – 8ecd352
  • Fix WebView double loading – 393adac
  • Fix incorrect size issue with inline image text – 2a02621
  • Support setting elevation on any type of View – 5ac848c
  • Build React Native with Buck – 9fea485
  • Fix a crash in ViewPagerAndroid when passing a null child – bd4bf8c
  • Increase worker-farm timeout – 0d4cfa0
  • Remove fixed size of Android Switch. Fixes #3785 – a3d9fad
  • Fix for Android split builds: https://github.com/facebook/react-native/commit/342a7630f12ec78c2849802053e83afe4d95a117
  • Fix StyleSheet 'textAlign' for AndroidTextInput, f453e14c8f91d00a8205e6bb06094c85281b38be
  • Fix Image crash on invalid source Uri 798acac

Breaking changes

  • Load assets from same folder as JSbundle – e730a9f
  • Stop using platform-specific names for WebView props – 6edcebe
  • Change the signature of onDropViewInstance. issue #5053 – daa93a6

iOS

New features

  • Wait for JSExecutor to tear down in RCTBridgeTests – 8772a6a
  • Added react-native run-ios – 9490c2c
  • Add soundName config for UILocalNotification – ac72611
  • Fixed border smearing issue – b115277
  • Add phone-pad keyboard – 25c3dd1
  • Running from XCode is more robust regarding to different node version – 3e4414
  • Added stickyHeaderIndices to ListView – 4bc425c

Bug fixes

  • Fixed iOS 7 support for URL query functions – 180fc06
  • Re-enable testUnderlyingBridgeIsDeallocated – 435efad
  • Fix a potential deadlock in RCTModuleData – 23cd9fe
  • Improved null url handling – 571e646
  • Fix extra native modules missing bridge after reload – 0fa1f8d
  • Update createView C function on profiler – 473f9bc
  • Multiline TextInput not wrapping in multiline – 09250aa
  • Plist key NSLocationAlwaysUsageDescription was ignored – 6623e48
  • ActionSheetIOS support for presentation from modal view controller – 43dcdaf
  • Improved shadow performance – e4c53c2
  • Invalidate JS executor when loading fails, #5090 – 8ea9a1b

Breaking changes

  • Implement Android's dispatchViewManagerCommand interface on iOS – 17df595
  • Move tests to iOS9.2 / Xcode 7.2 – adfc573, a5c1f03
  • Disable background color propagation for everything except text nodes – 7341706
react-native - 0.18

Published by mkonicek almost 9 years ago

These release notes were written by Satyajit Sahoo. Thank you so much! Also, thanks to the 89 contributors who put 368 commits into this release!

New features

  • Use React from NPM - 5bf1f4c
  • Support onLayout and onContentSizeChange attributes on ListView - 3cfcd40
  • Animated.multiply and Animated.add to combine animated values - 3eb32cb
  • Cross platform PullToRefreshView component - 44f7a00
  • Add <Text> shadow support - 4972cab

Bug fixes

  • Fix ImmediatelyResetRouteStack does not update Navigator's title - 67c6afd
  • Fix pop method to properly refresh the navigatorBar - e62471b
  • Fix app crash caused by TextInput - 53d18c8
  • Fix error when navigationBar is set back to null - 0b63571
  • Pipe transform errors through transformation pipelines - 3ef6f9f

Android

New features

  • Add support for custom Android views - 1fabd86
  • Add support for onScrollBeginDrag/End and onMomentumScrolBegin/End events - fcf0431
  • Add a base activity named ReactActivity
  • Add deep linking support to IntentAndroid with getInitialURL - eb188c8
  • Add contentInsetStart and contentInsetEnd properties to ToolbarAndroid - 7164c75
  • Allow turning on/off DOM storage on WebView - 6793128
  • Open source ART for Android - 27ac047
  • Add support for split build per architecture - 10a17c6
  • Add support for alert() on Android - 9bf7c71

Bug fixes

  • Fix crash where measure is called with a view that is now off screen and removed from clipping - bafbe5e
  • Fix when navigating to a URL loading finished is reported with the old URL in WebView - b436943
  • Update dev menu to keep track of element inspector - c74d640
  • Fix crash in NetInfo in case the network permission is missing - f168fc3
  • Fix WebView failed to show UTF-8 characters - e4272b4

iOS

New features

  • Add ability to use a custom view for MapView annotations - f9dfb90
  • Implement draggable annotations on MapView - b8aac8b
  • Add option for both min/max track image to SliderIOS - 4cb7752
  • Support dashed and dotted border styles - 15aa146
  • Add support for binary type data (ArrayBuffer) to WebSocket - afbff9b
  • Adds getSize() method to Image to retrieve the width and height of an image prior to displaying it - 718cd79
  • Add a method to get current status bar height - 52220a9

Bug fixes

  • Fix getCurrentPosition faling on first try - f48dbbe
  • Fix <Image source={{ uri: null }} /> crashing - f940e7c
  • Fix iOS 7 support for URL query functions - ccd8f99

Breaking changes

  • To enable JavaScript in Android WebView, use javaScriptEnabled instead of javaScriptEnabledAndroid.
react-native - 0.17

Published by mkonicek almost 9 years ago

These release notes were written by Joshua Sierles, thank you so much! And thank you to the 87 contributors who put 299 commits into this release!

High-level changes

  • Added Android WebView 8cd773008097
  • New Alert API that works both on iOS and Android 3a3af8a3855
  • Exposed navigator.product for detecting the React Native in javascript.
  • Wrapped the UIManager native module in javascript for better abstraction 60db876
  • Fixed react-native bundle failure on Windows 10 710b443
  • Fixed getting a Navigator navigationBar by reference df70005
  • Fixed packager assetRoots argument being ignored 802aef9
  • Fixed that inspecting a stateless component would cause a crash c489660
  • Added new Clipboard component on iOS and Android. Previously named RCTPasteboard on iOS 90c7ad1
  • Fixed using require("./image") sources in development on Windows fe3686e

Android

  • Allow specifying a custom file path for JSC profiler output aaffb23
  • Added Image onLoadX support ae09a10
  • Open-sourced Android unit tests c0f60d2
  • Added support for passing ImagePipelineConfig to FrescoModule, for improved Fresco configurability 4890424
  • Experimental support for LayoutAnimation, needs to be manually enabled using UIManager.setLayoutAnimationEnabledExperimental 593a45e
  • Added support for NetInfo cf892a9
  • Added RTL (right-to-left) support to ToolbarAndroid c8eed6a
  • Added loadingIndicatorSrc property to Image, similar to iOS defaultSource, for displaying something while loading a38cd5c
  • Added support for double type in ReactPropGroup c0c8e7c
  • Added support for rotateX and rotateY transforms to views 96553cf

iOS

  • Fixed flaky rich-text TextInput scrolling b5be05d
  • Allow a custom SliderIOS thumb image 9fc3991
  • Allow custom colors and images on MapView annotations 5b5b550
  • Added polyline support to MapView: draw lines between two points with a custom color and width 8911b72
  • Added new didSetProps callback for configuring views or shadow views after setting props f86691a
  • Fixed onFocus/onBlur events for multiline TextInput 01a0fac
  • Fixed a MapView crash on iOS 8 by adding a forked implementation c63de5e
  • Added excludedActivityTypes to ActionSheetIOS 0f0b578
  • Added secure-text and login-password input types to AlertIOS. Also fixed cancel button highlighting and localization support for OK/Cancel labels f025049
  • Added blurOnSubmit support to multiline TextInput. This mimics behavior of hitting return in a single line input. 3704257
  • Fixed TextInput regression on iOS 8 and below 6d29f71
  • Fixed interrupted scrolling in nested ScrollViews 67bf0f1
  • Allow specifying a string for the systemIcon TabBarIOS property dd9c1e1
  • Added LinkingIOS support for Universal Links f4c286f
  • Added a style property to PickerIOS, allowing custom font sizes, colors and alignment e2c35dd
  • Added tintColor for ActionSheetIOS buttons 86bb656

Breaking Changes

  • Deprecated RCTRootView initialProperties property was removed bf0934a
  • Scrollview support was removed from UIManager 38db6fa
  • iOS native module bridge.modules was deprecated in favor of bridge.moduleClasses or -[bridge moduleForName/Class:. This allows for efficiently lazy-loading native modules 060664f
react-native - 0.16

Published by mkonicek almost 9 years ago

These release notes were written by Joshua Sierles, thank you so much! And thank you to the 80 contributors who put 260 commits into this release! (Compare view)

0.16.0

JS

Android

0.16.0-rc

High-level changes

Android

  • Android supports custom fonts; only TTF and OTF for now. bfeaa6a
  • The Android ViewPager gets setPageWithoutAnimation. 50b8b00
  • Images within a TextView, i.e. emojis, are now supported. a0268a7
  • The Android performance profiler, Systrace, gets thorough documentation. d2c5045

iOS

  • The keyboardAppearance prop was added to iOS TextInput. Useful for displaying a dark keyboard. f407211
  • AsyncLocalStorage gets an in-memory cache. 397791f
  • TextInput supports the onSelectionChange event. 5a34a09
  • iOS RCTPasteboard was released. Useful for copy-to-clipboard behavior. 26cb6be

Breaking Changes

  • React Native now uses Babel 6, props to Tadeu Zagallo for upgrading and thanks David Aurelio and Sebastian McKenzie for all the help! We've been using React Native with Babel 6 at Facebook for quite a while now. Nevertheless, please report any errors related to Babel, such as transforms for some JS features not working as expected and we'll fix them.
  • Touch events on Android now have coordinates consistent with iOS: 0c2ee5d
  • YellowBox enabled by default on iOS: 8ab5182
  • JS decorators won't work until T2645 lands in Babel. It's being worked on. The proposal for decorators is not final and therefore Babel 6 left decorator support out for now.
  • Exporting default class that extends a base class won't work due to Babel's T2694.
  • RCTSparseArray was replaced by NSDictionary. Modules using RCTSparseArray should update. fa0b45c
  • RCTWebViewExecutor was removed. 0764e4e
  • We've migrated all internal RN components to declare their propTypes inheritance explicitly in dd09c88. This allows for better control on which props can be used. In order to make third-party native components work you will need to add ...View.propTypes to the map of propTypes in the component definition (see dd09c88 for an example).
react-native - v0.15.0

Published by mkonicek almost 9 years ago

Breaking Change

Upgrade to Xcode 7: React Native uses Objective-C generics

Changes since 0.15.0-rc

react-native - v0.14.2

Published by ide almost 9 years ago

This release includes a small fix to source the nvm.sh setup file: https://github.com/facebook/react-native/commit/9a64f17de84e50a4fc60f1b96168aa61925934a8.

react-native - v0.15.0-rc

Published by ide almost 9 years ago

281 commits, 66 contributors

High level changes

  • If you're developing for iOS, you'll need to upgrade XCode to version 7.
  • Orientation changes no longer restart the app on Android. 6c11d18
  • Added rich text input support on iOS. 7779e06
  • Better RedBox error handling on both platforms.
  • Added systrace support to Android. 40b74e4
Package Rankings
Top 0.22% on Npmjs.org
Top 0.89% on Repo1.maven.org
Top 0.1% on Cocoapods.org
Top 10.68% on Bower.io
Related Projects