A framework for building native applications using React
MIT License
Bot releases are hidden (Show)
Thanks to 87 contributors who put 210 commits into this release!
Special thanks to @satya164 for writing this release notes!
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);
transition
for scene renderer. (55c3086) - @hedgerwangtransform-react-jsx-source
to react-native preset (858643d) - @franticdidFocus
event should fired after transition finishes. (8975bb8) - @hedgerwangSwipeableRow
bleed (5146775) - @fred2028<Text>
(fe5c0d2) - @rigdernPublished by grabbou over 8 years ago
See 0.26.1 and 0.26 release notes for the full list of changes.
Published by grabbou over 8 years ago
See 0.26 release notes for the full list of changes.
NavigationExperimental
(9cc5cf525d9de4d59b7d9a0754463eca83a464b4)Published by grabbou over 8 years ago
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!
react
package (previously a warning on 0.25)setBridge
is no longer called on the main thread - 34ec6a91a9fd85ceb71c4dde884cdc105fd6d7d4--version
to CLI - https://github.com/facebook/react-native/commit/856f9e9fed8df05b7b36a584217a2ba8d7d8f853
--reset-cache
to react-native bundle
- https://github.com/facebook/react-native/commit/90f9f48498ce6174d022d85fd87ae71715adf0e7
Platform.select
https://github.com/facebook/react-native/pull/7220
flow
definitions for react-native - https://github.com/facebook/react-native/commit/248879f5a3269abe2e1814e70d81a98935b42f72 https://github.com/facebook/react-native/commit/91d4a093ea6abbe00561d3024198c8b05b134db0
ref
in PullRefreshViewAndroid - https://github.com/facebook/react-native/commit/d586daad5164e8ce11137414f4ffe893967c481f
Refer to release notes for 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!
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.
pod lib lint
- https://github.com/facebook/react-native/commit/ef044e2c0d941135981a4b78ed99998c9b569e3f
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.
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!
console.error
/redbox on promise rejections - https://github.com/facebook/react-native/commit/f87b673a2959b8d05703c2c83c89d32fe38d2e75
<Incremental>
for incremental rendering - https://github.com/facebook/react-native/commit/f21da3aa31c09c375ce0021ee5069671b6e79ac1
NavigationExperimental
's NavigationHeader
. Style the NavigationHeader
according to the Platform - https://github.com/facebook/react-native/commit/720c76f94dcf756f1c8f7aeea7f68a2166a48790 (Breaking)__accept
call so that source maps work with HMR https://github.com/facebook/react-native/commit/bcb37c0b6ae6c319bc99b569a2253c30c3715a07
contain
to FIT_CENTER - https://github.com/facebook/react-native/commit/2070efa019f6b5dfb38500d41e4d7e263f59f0d2
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! ππ»
response.json()
hangs when Chrome debugging is enabled: https://github.com/facebook/react-native/issues/6679
node_modules
: https://github.com/facebook/react-native/issues/6638
Ongoing issue thread: https://github.com/facebook/react-native/issues/6800
RCTBridgeModuleClassIsRegistered
from iOS: https://github.com/facebook/react-native/commit/a16771c5dc980768d6312673156887171d3e594b
sendMomentumEvents
prop from ScrollView, which was intended for internal usageonRequestClose
prop: https://github.com/facebook/react-native/commit/ce81f8b35af8d273072583d369594d4f5fd6d696
statusBackBackgroundColor
prop, which tells it to draw over the native Android toolbar. See the screenshots in the PR: https://github.com/facebook/react-native/pull/6218
endFillColor
prop, which tells React Native to fill in the rest of the scroll view with a color in the event that the scroll view's viewport is larger than its content. This is an advanced performance optimization to reduce overdraw; measure performance before you use it: https://github.com/facebook/react-native/commit/4498bc819730e3c513750a04d705883f1d61816d
toArrayList
and toHashMap
: https://github.com/facebook/react-native/pull/6639, https://github.com/facebook/react-native/pull/6762
hardwareBackPress
handler stops invocation of previously registered handlers and the default OS action: https://github.com/facebook/react-native/commit/67efe4c1a932ac6acd20caf497df6978c1b52c90 (reverted in https://github.com/facebook/react-native/commit/ede99eeaddea990e76b1d37fc1f471a71576f7ed)NativeRunnable
constructor with ProGuard: https://github.com/facebook/react-native/commit/393890e00f0c8455678eedd2aa7341d0d727aade
FBPortForwarding
, which proxies network requests from a device to your computer like adb reverse
. It is not integrated with React Native, but the code is here if you want this feature: FBPortForwarding
: https://github.com/facebook/react-native/commit/c4699d8b739c2b22017f8d88a3143bac48e3a2fa
message
option: https://github.com/facebook/react-native/pull/6685
-[RCTJSExecutor invalidate]
instead of dealloc
so that it is guaranteed to be stopped from the JS thread: https://github.com/facebook/react-native/commit/99c7de2600d81325fcb6124d6fd9359e52bbd2ef
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.
root
option to the run-android
command - https://github.com/facebook/react-native/commit/b9ed72a043a67401a43b91f1d55c72d5f7e82bc1
react-native run-android
command - https://github.com/facebook/react-native/commit/46422ddd99a798d1af9ea337629f2de5334d72fa
Thanks to the 62 contributors who put 145 commits into React Native 0.21!
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.
NavigationExperimental
https://github.com/facebook/react-native/commit/a3085464f6ea36fc6b53cd0c711c048ffb1516f9
onWillFocus
and onDidFocus
https://github.com/facebook/react-native/commit/5ca9245067b49738e376632580cf2799358d526a
deprecatedCallback
helper https://github.com/facebook/react-native/commit/8eddead8687f0acc68fb2e857a00260912600f06
Children.toArray
https://github.com/facebook/react-native/commit/7cbad9f53048ab5d19a8004df30ae621f1bfbd09
key
prop https://github.com/facebook/react-native/commit/97741af8b99ea8e443d41b80c4d9a8fd843a96ab
Dimension.get('screen')
https://github.com/facebook/react-native/commit/228a1fe7d48d57a0fbb2d852135ef94247198aaa
getDisplayMetrics
https://github.com/facebook/react-native/commit/6ac007b2ba50d5d909f09f5b4632558d1192a570
textAlign
on iOS multiline text input https://github.com/facebook/react-native/commit/7b22606f49c63d07642f419b95ca15654f1aa6ec
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.
ScrollView.scrollTo()
API with something less ambiguous - https://github.com/facebook/react-native/commit/6941c4e027abb582d7cef0e7c3b9b7ebf51bc070
getRealMetrics
for display metrics - https://github.com/facebook/react-native/commit/8e603940e3fca4ed2fe420c02a66d860b53f3076
Published by shayne over 8 years ago
Thanks to the 87 contributors who put 232 commits into this release!
background
warning in TouchableNativeFeedback β 28c0240this
in XHR#onReadyStateChange β b8ff621react-native run-ios
β 9490c2cPublished 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!
React
from NPM - 5bf1f4conLayout
and onContentSizeChange
attributes on ListView
- 3cfcd40Animated.multiply
and Animated.add
to combine animated values - 3eb32cbPullToRefreshView
component - 44f7a00<Text>
shadow support - 4972cabImmediatelyResetRouteStack
does not update Navigator's title - 67c6afdTextInput
- 53d18c8onScrollBeginDrag/End
and onMomentumScrolBegin/End
events - fcf0431ReactActivity
IntentAndroid
with getInitialURL
- eb188c8contentInsetStart
and contentInsetEnd
properties to ToolbarAndroid
- 7164c75WebView
- 6793128alert()
on Android - 9bf7c71WebView
- b436943NetInfo
in case the network permission is missing - f168fc3WebView
failed to show UTF-8 characters - e4272b4MapView
annotations - f9dfb90MapView
- b8aac8bSliderIOS
- 4cb7752WebSocket
- afbff9bgetSize()
method to Image
to retrieve the width and height of an image prior to displaying it - 718cd79getCurrentPosition
faling on first try - f48dbbe<Image source={{ uri: null }} />
crashing - f940e7cWebView
, use javaScriptEnabled
instead of javaScriptEnabledAndroid
.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!
navigator.product
for detecting the React Native in javascript.react-native bundle
failure on Windows 10 710b443navigationBar
by reference df70005assetRoots
argument being ignored 802aef9require("./image")
sources in development on Windows fe3686eImagePipelineConfig
to FrescoModule
, for improved Fresco configurability 4890424LayoutAnimation
, needs to be manually enabled using UIManager.setLayoutAnimationEnabledExperimental
593a45eloadingIndicatorSrc
property to Image, similar to iOS defaultSource
, for displaying something while loading a38cd5cdouble
type in ReactPropGroup c0c8e7crotateX
and rotateY
transforms to views 96553cfdidSetProps
callback for configuring views or shadow views after setting props f86691aexcludedActivityTypes
to ActionSheetIOS 0f0b578secure-text
and login-password
input types to AlertIOS. Also fixed cancel button highlighting and localization support for OK/Cancel labels f025049blurOnSubmit
support to multiline TextInput. This mimics behavior of hitting return in a single line input. 3704257systemIcon
TabBarIOS property dd9c1e1style
property to PickerIOS, allowing custom font sizes, colors and alignment e2c35ddtintColor
for ActionSheetIOS buttons 86bb656initialProperties
property was removed bf0934abridge.modules
was deprecated in favor of bridge.moduleClasses
or -[bridge moduleForName/Class:
. This allows for efficiently lazy-loading native modules 060664fPublished 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)
PullToRefreshViewAndroid
: 37f81341a006458d84d934882485c2a0a8838497, cad4686#f007
and #FF996633
are supported. 3c04bfcArray.from
is available as a polyfill. c473974 https://people.mozilla.org/~jorendorff/es6-draft.html#sec-array.from
setPageWithoutAnimation
. 50b8b00keyboardAppearance
prop was added to iOS TextInput. Useful for displaying a dark keyboard. f407211onSelectionChange
event. 5a34a09RCTPasteboard
was released. Useful for copy-to-clipboard behavior. 26cb6beRCTSparseArray
was replaced by NSDictionary
. Modules using RCTSparseArray
should update. fa0b45cRCTWebViewExecutor
was removed. 0764e4e...View.propTypes
to the map of propTypes in the component definition (see dd09c88 for an example).Published by mkonicek almost 9 years ago
Upgrade to Xcode 7: React Native uses Objective-C generics
IntentAndroid
. This lets you open the system browser, Maps and other apps (https://github.com/facebook/react-native/commit/ab7b3b2dea21d57717fad68129fb2d1059f405ab)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.
Published by ide almost 9 years ago