Skip to content

Releases: facebook/react-native

December 2016

04 Jan 11:09
Compare
Choose a tag to compare

This is the first release with the new monthly cadence, so 0.40 is known as December 2016. The next version will be 0.41 - January 2017, and will be released at the end of the month.

Breaking Changes

iOS native headers moved

This change affects all native modules and application code on iOS that refer to react native .h files

After e1577df, Native code on iOS must refer to headers out of the react namespace. Previously the following would work:

#import "RCTUtils.h"

But now all headers have been moved:

#import <React/RCTUtils.h>

This means that all iOS native libraries need a major version bump for RN 0.40. We attempt to minimize changes of this magnitude, and we apologize for any inconvenience caused.

require('image!...') no longer supported

Support for require('image!…'), which has been deprecated for a long time, is now removed. If you are still loading images that way in your apps, make sure to check the documentation for alternatives.

getTransformModuleOptions is removed

If you were having custom rn-cli.config.js in your app and for some reason, using getTransformModuleOptions, make sure to check @davidaurelio commit ca58e0a for details on the changes.

Android

Bugfixes

  • Fix WebView crash for links of unknown schemes (35e75c8) - @rigdern
  • Fix Overlay for Marshmallow 23+ (e335ca0) - @jpshelley
  • Stop silently failing for requires on Android (63eb4df) - @javache
  • Fix SamplingProfiler and HeapCapture for apps that lazy load react modules (d919eb7)
  • Call handleUpdateLayout even if the content didn't change (fb23000) - @Kerumen

New features and enhancements

  • Add ability to specify main Activity in run-android (9fb520e) - @grabbou
  • Add disableExtractUI prop to TextInput on Android (1b870d2) - @rigdern
  • Add DatePicker mode configurations (eaccd7e) - @pandiaraj44
  • Enable apps to provide a custom configuration to Fresco (8b199a7) - @rigdern
  • Speed up EventEmitter emit() by ~50% (c4046d6) - @Venryx
  • Enable ad-hoc dependencies to be pre-downloaded (aac8daf) - @rigdern
  • Keep ScrollView content visible after edits (528a3c7) - @rigdern
  • Decrease cost of reflection (911c05a) - @rigdern
  • Update android gradle plugin version to 2.2.2 (3ee5c5b) - @raycohen
  • Expose Android's includeFontPadding for Text (7b3e67d) - @benvium
  • Handle "Never Ask Again" in permissions and add requestMultiplePermissions (51efaab) - @cmcewen
  • Remove Jackson dependency (6fef014)
  • Remove REACT_HEADERS from RN BUCK file (9024998) - @javache
  • Implement onViewAppear by creating a new EventListener on ReactRootView listening for when it's attached to a RN Instance (e06b8db) - @donyu

iOS

Bugfixes

New features and enhancements

  • Introduce spellCheck prop to TextInput (0e55f5b) - @rigdern
  • Make run-ios find if a device is booted better (0b5ff0d)
  • Start exposing RCTWebSocketObserver using a protocol (48cb8d3) - @adamjernst
  • Add fastlane to default .gitignore (5e008c9) - @KrauseFx
  • Move all header imports to "<React/..>" (see breaking change notes) (e1577df) - @javache
  • Remove deprecated push notification method info (9c7952d) - @sharnik
  • Add badgeColor property (a50bafa) - @skv-headless
  • UnselectedItemTintColor property available since iOS10 (8378142) - @skv-headless

General

Bugfixes

New features and enhancements

v0.39.0

02 Dec 11:22
Compare
Choose a tag to compare

Thanks to 74 contributors who put 162 commits into this release.

Breaking changes

See this document for a complete list of breaking changes (three) and actions required.

General

Android

  • Move to new C-based implementation of css-layout in RN Android (d63ba47) - @astreet
  • Android: Fix inconsistency with fractional TextInput padding (aa85408) - @rigdern
  • Disable debug menu when monkey is running (9a8b5d9) - @rigdern

General

Bugfixes

  • Fix flex within max width constraint (72d1191) - @emilsjolander
  • Fix view clipping to operate on ui hierachy (26e373c) - @majak
  • Workaround fix for Visual Studio (c5f6e86) - @splhack
  • Fix usage of old String constructor (2a04569) - @javache
  • Navigator: null check on gesture.overswipe to prevent crash (54e9471) - @rigdern
  • Update ReactShadowNode to not add CSSNode children if parent has measure defined (10e0aec) - @astreet
  • Introduce nativeImageSource API (dcbcda7) - @frantic
  • Don't clip if ui and react view hierarchies are different (d5e067f) - @majak
  • Dont measure single flex grow+shrink child (4500e4d) - @emilsjolander
  • Absolute positioned items should apear inside padding but outside border (7449658) - @emilsjolander

New features and enhancements

Android

Bugfixes

  • Call all android back key handlers before invoking default (b4283ed) - @dltmd6262
  • Fix redundant styles on RefreshControl for Android (39c1818) - @linmic
  • Prevent hitslop crash on Android (c2a55ba) - @AndrewJack
  • Drop CSSNode pool on low memory when app is backgrounded (48bb364) - @astreet

New features and enhancements

  • Expose setAllowUniversalAccessFromFileURLs in Android WebView (b6a38e8) - @locly
  • Update logging to support levels, print messages in Android logcat on assertion failures (a731a23) - @astreet
  • Proper NativeAnimated node invalidation on Android (6f5433f) - @ryangomba
  • Reduce overdraw layers by hiding cards when they are not visible (54beee2) - @rigdern
  • Expose Image's onError event to JavaScript (e87e181) - @rigdern
  • Provide more info when image fails to load (d117f55) - @frantic

iOS

Bugfixes

  • Ensure notification payload is passed to completion handler (df6b8bd) - @npomfret

New features and enhancements

v0.38.0

23 Nov 06:08
Compare
Choose a tag to compare

Thanks to 72 contributors who put 157 commits into this release.

Breaking changes

See this document for a complete list of breaking changes (one) and actions required.

General

Bugfixes

  • Unbreak custom animated components (7b2ee71) - @oblador
  • Navigator - Fix wrong scene transformation after pop (f645389) - @sooth-sayer
  • Prevent crash when accessing child count, but child list is NULL. (bb84c37) - @dshahidehpour
  • Fix initial value of native Animated.Value (2b49edd) - @janicduplessis
  • Fix symbolication failure caused by attempt to modify frozen frame (0fe1c7a) - @vladimir-kotikov
  • Fix missing methods in Keyboard module (5105c09) - @satya164
  • Fix NavigationCardStackPanResponder to work with native animations (ac19276) - @janicduplessis
  • Make sure xhr req header’s value is String type (f9e36a0) - @leeight
  • Fix DebuggerWorker.js having code incompatible with node 5 (a16d728) - @mhidou

New features and enhacements

  • Deprecate MapView in favor of airbnb/react-native-maps (dca53fe) - @mkonicek
  • CSSLayout: Update CSSNodeFree for C#, Java and Objective-C (31d3926) - @splhack
  • CSSLayout: Suggest the compiler to inline smaller functions (942f724) - @emilsjolander
  • CSSLayout: Don’t preallocate child lists (d932c96) - @swolchok
  • CSSLayout: Exposing layout cache check publicly (e7dc71b)
  • Use native animations in TouchableBounce and TouchableOpacity (1bb323e) - @skevy
  • Show Warning for Background Remote Debuggers (8b653cd) - @yungsters
  • Adding Jest preset so that people can configure Jest using react-native as preset (6d3e074)
  • Use yarn when available (94711bf) - @mkonicek
  • Fallback to JS Animation if native animated is not present (3237ade) - @fkgozali
  • Upgrade to lodash@^4.16.6, results in faster packager and smaller npm install size (237ab33) - @zertosh
  • Bunch of documentation updates, including better user experience, more detailed explanations and more. Thanks to @aybb, @lacker, @hramos and the entire team!
  • Integration test stability: add delay before starting TimersTest (0698b2b) - @dlowder-salesforce
  • Modernize AppContainer and add rootTag in the child context (fb7fe2d) - @fkgozali

Android

Bugfixes

  • Android shouldn't dispatch onLayout if frame didn't change (d4b8ae7) - @hayeah
  • HeadlessTask: Fix memory leak (3af104f)
  • Fix bug in canUseCachedMeasurement causing unneeded double measure (3c5a7ae) - @emilsjolander
  • HeadlessTask: Fix notification task timeout crashing (3580de5)
  • Queue JS calls that come in before JS bundle has started loading instead of crashing (68aeffe) - @astreet

New features and enhancements

iOS

Bugfixes

New features and enhancements

v0.37.0

08 Nov 10:54
Compare
Choose a tag to compare

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

Breaking changes

Remove deprecated APIs and modules (fa5ad85) - @satya164

Removed Alternative
AppStateIOS AppState
ActivityIndicatorIOS ActivityIndicator
IntentAndroid, LinkingIOS Linking
SliderIOS Slider
SwitchAndroid, SwitchIOS Switch

Remove callback support from following modules, use promises instead:

General

Bugfixes

  • Fix justify content + min dimension usage in root (d376155) - @emilsjolander
  • Fix justify content + min dimension when children overflow (3e332d9) - @emilsjolander
  • Fix flex-shrink when shrinking to zero size (0699a30) - @emilsjolander
  • Fix for TouchableNativeFeedback having Animated.Component direct child (f930270) - @tonysherbondy
  • Override onContentSizeChange prop on ScrollView before rendering (a5698f5) - @jingc
  • Fix Warning: bind(): You are binding a component method to the component (ddb1e44) - @leeight
  • Fix CLI errors if no package.json is found (41f4f1e) - @benhughes
  • Change flex basis to override main axis size (a9d94c2) - @emilsjolander
  • Jest: Mock requireNativeComponent so manual mocking of UIManager properties isn't needed (487171f) - @cpojer
  • Dont override flexShrink, flexGrow, and flexBasis with shorthand flex (dc142ad) - @emilsjolander
  • CSSLayout: Compatibility with Apple TVOS (ef02134)

New features and enhancements

Android

Bugfixes

  • Fix crash when resolveView fails to find a view (8e91843)
  • Prevent app from crashing when getCurrentActivity returns null (9c3bfe0) - @cmcewen

New features and enhancements

  • ART: Use TextureView and pass Surface from the view to draw on it asynchronously instead of passing the bitmap (d294e15) - @tepamid
  • ART: Support dashes in ARTShape (d294e15) - @tepamid

iOS

Bugfixes

  • Fix devmenu on iPad (fd554c3) - @frantic
  • Add viewConfig to RCTSlider Component, Fixes #10158 (c996081) - @leeight
  • Fix CameraRoll to support custom user groups (0010df5) - @gre
  • Fix error in react-native run-ios when Product Name and Scheme are different (8b55e50) - @StevePotter
  • NavigatorIOS: stopPropagation on navigationComplete event. Fixes #1241 (73c5360) - @ephemer
  • Fix react-native link for apps with extra xcode projects in the root folder (157a03d) - @robclouth
  • Grab port from Bundle URL (54f48de) - @omeid
  • Cancel network requests from the correct queue (26be005) - @javache
  • TextInput: don't let user more than maxLength when TextInput already exceeds it (40e8d89) - @mmmulani

New features and enhancements

v0.36.0

25 Oct 18:34
Compare
Choose a tag to compare

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

  • Adds Keyboard.dismiss() function and document Keyboard (542ab86) - @GantMan
  • Introduced AnimatedDivision (0a0dd30) - @fkgozali

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

  • Fix ENOENT when react-native init with --verbose on Windows (2289909) - @flyskywhy

v0.35.0

11 Oct 11:27
Compare
Choose a tag to compare

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

  • Add ability to detect if location was mocked (c6024f6) - @GantMan
  • Add support for image onLoad, onLoadEnd, onError events for IgReactImageView (1721972) - @donyu
  • Add support for native animated events (6565929) - @janicduplessis

iOS

Bugfixes

New features and enhancements

v0.34.1

01 Oct 20:04
Compare
Choose a tag to compare

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

Special thanks to @charpeni for writing these release notes!

General

Bugfixes

  • Fix handling of bad utf16 passed out of JS (ccdc57d) - @cjhopman
  • Incremental: Fix require of performanceNow (b01feb4) - @rigdern
  • Fix memory leak in MessageQueue (5d748b2) - @rigdern
  • Fix and add tests for cssedge priority (e5aa29c) - @emilsjolander
  • Fix sizing of absolutely positioned nodes inside overflow:hidden parent (6897f40) - @rigdern
  • Add more profiling, fix existing profiling, perf fix (3940f06) - @mhorowitz
  • Re-enable and fix tests (13994d5) - @davidaurelio
  • Fix NativeAnimated event listener bug (64009b6) - @jmurzy
  • Fix _processAssetsRequest when url contains non-latin letter (8d013c2) - @wusuopu
  • Fix dimensions on orientation change (8451585) - @andreicoman11
  • Fix(packager): support node-haste browser and react-native replacements on Windows (4647b62) - @rozele
  • Fix bad type specification in animated (3ff4ee9)
  • Fix typo in new ModuleCache args (29febb9) - @aleclarson
  • Do not reset layout state if they are the same in NavigationTransitioner (dadfe40)

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

  • Add TextInput controlled selection prop on iOS (f0a3c56) - @janicduplessis
  • Send down image source to RCTImageView onLoad callback on iOS (84f68c3) - @javache
  • Rename RCTImageView source to imageSources (bfa01f0) - @javache
  • Remove deprecated RCTImageSource method (a718f14) - @javache
  • Allow <Modal /> to be configured with a custom presentation/dismissal block (d8b2bab) - @mmmulani
  • Ios: complete iOS vibration pattern supports (js) (2cfe774) - @zxcpoiu
  • Support RCTNetworking#clearCookies on iOS (63931b1) - @nevir
  • Avoid sending out multiple requests for the same image (86fbf23) - @javache
  • Avoid reloading images that are already the source size (6f7898e) - @javache
  • Verify exported modules only once to support dynamic context in DEBUG-mode (101190f) - @kasper
  • Display React Native Modals with transparent background (029f568) - @mmmulani
  • Expose overflow prop to layout engine (4178d21) - @rigdern
  • Clean up NSClassFromString in Libraries/ (8a8ac77) - @swolchok
  • Modulo node (82dba51) - @ryangomba
  • Only initialize FrescoModule once (c0de1a7) - @oprisnik
  • Support bundle argument for image loading (46b54fd) - @javache
  • Update React Native minimum OS version to iOS8 (07553d0) - @javache
  • Use NSURLComponents.queryItems instead of parsing query strings (6abacc8) - @javache
  • Remove -RCTJSExecutor errorForJSError: - @indragiek
  • Support sync method calls in the objc bridge (dda3c5f) - @javache
  • Remove last arg from RCTProfileEnd, make macro's function-like (1a7c231) - @javache
  • For file uploads, don't stomp on developer's Content-Type header (9304df3) - @rigdern
  • ActionSheetIOS - Pass URL, not file contents to UIActivityViewController for file URLs. (4f004fa) - @sheparddw
  • Impr...
Read more

v0.34.0

27 Nov 00:30
Compare
Choose a tag to compare

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

Special thanks to @charpeni for writing these release notes!

General

Bugfixes

  • Fix handling of bad utf16 passed out of JS (ccdc57d) - @cjhopman
  • Incremental: Fix require of performanceNow (b01feb4) - @rigdern
  • Fix memory leak in MessageQueue (5d748b2) - @rigdern
  • Fix and add tests for cssedge priority (e5aa29c) - @emilsjolander
  • Fix sizing of absolutely positioned nodes inside overflow:hidden parent (6897f40) - @rigdern
  • Add more profiling, fix existing profiling, perf fix (3940f06) - @mhorowitz
  • Re-enable and fix tests (13994d5) - @davidaurelio
  • Fix NativeAnimated event listener bug (64009b6) - @jmurzy
  • Fix _processAssetsRequest when url contains non-latin letter (8d013c2) - @wusuopu
  • Fix dimensions on orientation change (8451585) - @andreicoman11
  • Fix(packager): support node-haste browser and react-native replacements on Windows (4647b62) - @rozele
  • Fix bad type specification in animated (3ff4ee9)
  • Fix typo in new ModuleCache args (29febb9) - @aleclarson
  • Do not reset layout state if they are the same in NavigationTransitioner (dadfe40)

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

  • Add TextInput controlled selection prop on iOS (f0a3c56) - @janicduplessis
  • Send down image source to RCTImageView onLoad callback on iOS (84f68c3) - @javache
  • Rename RCTImageView source to imageSources (bfa01f0) - @javache
  • Remove deprecated RCTImageSource method (a718f14) - @javache
  • Allow <Modal /> to be configured with a custom presentation/dismissal block (d8b2bab) - @mmmulani
  • Ios: complete iOS vibration pattern supports (js) (2cfe774) - @zxcpoiu
  • Support RCTNetworking#clearCookies on iOS (63931b1) - @nevir
  • Avoid sending out multiple requests for the same image (86fbf23) - @javache
  • Avoid reloading images that are already the source size (6f7898e) - @javache
  • Verify exported modules only once to support dynamic context in DEBUG-mode (101190f) - @kasper
  • Display React Native Modals with transparent background (029f568) - @mmmulani
  • Expose overflow prop to layout engine (4178d21) - @rigdern
  • Clean up NSClassFromString in Libraries/ (8a8ac77) - @swolchok
  • Modulo node (82dba51) - @ryangomba
  • Only initialize FrescoModule once (c0de1a7) - @oprisnik
  • Support bundle argument for image loading (46b54fd) - @javache
  • Update React Native minimum OS version to iOS8 (07553d0) - @javache
  • Use NSURLComponents.queryItems instead of parsing query strings (6abacc8) - @javache
  • Remove -RCTJSExecutor errorForJSError: - @indragiek
  • Support sync method calls in the objc bridge (dda3c5f) - @javache
  • Remove last arg from RCTProfileEnd, make macro's function-like (1a7c231) - @javache
  • For file uploads, don't stomp on developer's Content-Type header (9304df3) - @rigdern
  • ActionSheetIOS - Pass URL, not file contents to UIActivityViewController for file URLs. (4f004fa) - @sheparddw
  • Impr...
Read more

v0.33.0

10 Sep 08:37
Compare
Choose a tag to compare

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

  • Add transform support for native animated on Android (df05311) - @janicduplessis
  • Add JS library for requesting Android M Permissions (0fb2ccf) - @cmcewen
  • Add 'center' to the allowed values in Android Image.resizeMode proptype (862b657) - @alonsch
  • Add checkAndroid back (6f7ade1) - @jreziga
  • Always log exception in DevSupportManager (e4d5dcb) - @lexs
  • Add RedBoxHandler & UIImplementation to ReactNativeHost (baf5a5b) - @foghina
  • Add @ReactModule annotation (0561336) - @AaaChiuuu
  • Add isPrefSet and setPref to make I18nUtil cleaner (380830e) - @MengjueW
  • Add LazyReactPackage (1feb462) - @AaaChiuuu
  • Support for spring animations (8f75d73) - @kmagiera
  • Implement cancelable option for Alerts (8e2906a) - @kraffslol
  • Support 64 bit platforms (fc5bed8) - @emilsjolander
  • Add native decay animation (2a7f4be) - @foghina

iOS

Bugfixes

New features and enhancements

v0.32.0

26 Aug 12:54
Compare
Choose a tag to compare

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

  • Fix BackAndroid subscriptions calls (b857631) - @webzepter
  • Fix onLayout support in for Android (2ca2f87) - @antoinerousseau
  • Fix ViewPager behavior with Nodes (5f41769) - @ahmedre
  • Fix NullPointerException Caused by manageChildren (c21d3a1) - @ASCE1885
  • Webview: Fix broken fullscreen modals due to zero body height. (1bb1385) - @danielbraun
  • Fix cleanReactNdkLib task failure caused by module not found (37df151) - @xinthink
  • Fix ScrollView bounce back bug in open source (36ca1a0) - @astreet
  • Support API "scrollTo" in RecyclerViewBackedScrollView on Android (235c059) - @lebronJ
  • Stop Reload Android Webview On Same URL Before (9fa4fe2) - @skatpgusskat
  • Make sure multiline TextInput is scrollable within a ScrollView (b05c7f7) - @shengmin
  • Fix inset padding handling for TextInput in LTR/RTL (46bac5f) - @MengjueW
  • Change the textalign setter to support RTL (54a4450) - @MengjueW

New features and enhancements

iOS

New features and enhancements

General

Bugfixes

  • Fix double React perflogger creation (82c8129) - @javache
  • Fix navigation card stack pan responder (c658cc5) - @ahanriat
  • Fix CSSLayout to Support RTL (873c6ff) - @MengjueW
  • Fix scoped modules in react-native link (8ad748a) - @Kureev
  • Fix corrupted options() call for link and other commands (504b516) - @grabbou
  • Fix console.table polyfill when entries are missing (0dd93b6) - @sahrens
  • Open to correct line on Webstorm, IntelliJ and AppCode (c3e8c82) - @rh389
  • Fix --reset-cache no longer accepting a boolean parameter. (b21c8f1) - @danielbraun
  • Don't show keyboard shortcuts with redbox on device (0093dcc) - @brentvatne

New features and enhancements

  • Add UI to show intercepted network information in the inspector (ecea0ce) - @lebronJ
  • Intercept XMLHttpRequest network operations and gather their information in inspector tool (f20d5ed) - @lebronJ
  • Enable websocket interception in RN network inspector tool (43f73f6) - @lebronJ
  • Add method popN() to Navigator. (bbe95c2) - @yueshuaijie
  • Add TextInput.dataDetectorTypes prop. (15bf2c5) - @yueshuaijie
  • Add partial support for symlinks in packager (5cf7f04) - @Kureev
  • Don't collect warnings if yellow box is disabled (654a360) - @davidaurelio
  • Improve error message when packager is not running (73f3713) - @javache
  • Add a statusBarHeight prop for NavigationHeader (341b29d) - @corbt