v0.33.0
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
- Fix off-by-one error in range requests (a241706) - @nikki93
- Fix CSSNodeList memory leak (7b02c1d) - @ymmuse
- Fix method overriding when using native animations (b7903e4) - @foghina
- Fix error handling in react native heap capture server middleware (c43c80b) - @cwdick
- Fix building without writing a source map (a567898) - @davidaurelio
- Fix Scrolling in YellowBox (c36d356) - @yungsters
- Fix module IDs of initial require calls (f83c869) - @davidaurelio
- Ensure NavigationTransitioner props.onTransitionEnd happens after scene cleanup (de9d22e) - @ericvicenti
- Accept children of all types for NavigationHeaderTitle (02557d2) - @nevir
New features and enhancements
- Add
--config
option to CLI to allow passing a path to anrn-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
- Fix scale transform on Android (12fb313) - @janicduplessis
- Fix onItemSelected firing for ReactPicker on initial layout. (a2a8d7f) - @donyu
- Fix border color (805d060) - @emilsjolander
- InterpolationAnimatedNode fromDoubleArray should support the string type (53c1da0) - @leeight
- Fix setting numberOfLines to 0 behaves differently than on iOS. (dba1ce4) - @manicakes
- Store borderColor in a non lossy way (8095707) - @manicakes
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
andsetPref
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
- Fix memory leak bug in RCTModalHost (915345b) - @Roshanjossey
- Fix tabs in project.pbxproj of iOS template (f89f09f) - @jhen0409
- Fix static jsc build for ios (94ac3e4) - @bnham
- Fix RCTRootView invalidation using the wrong bridge (4afaf5e) - @javache
- Fix loading of dynamic linked JavaScriptCore on iOS simulator (ce2f119) - @bnham
- Fix warning on unused return values in RCTSRWebSocket (2f78852) - @javache
- Fix styling of system fonts (e30327c) - @javache
- Fix missing font constants on iOS7 (6b9406e) - @javache
- Fix image source prop change updating image (7cdd4c9) - @alexanderjarvis
- Fix snapshottests under iOS10 (a0b3565) - @javache
- Centre text in case where the distance between baselines is larger than the font size (68d483e) - @jacobp100
New features and enhancements
- Add iOS support for CSS property font-variant, accepting tabular-nums… (f951da9) - @jacobp100
- Add some defensive cleanup of cancelBlock in RCTImageLoader (1418828) - @javache
- Add support for animated value listener (0e204e1) - @janicduplessis
- Initial implementation of adjustsFontSizeToFit. (c6b6f53) - @MattFoley