React Native v0.38.0-rc.0 released
v0.38.0-rc.0 on GitHub (npm)
Breaking changes
General
Bugfixes
- 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) - @ide
- Fix missing methods in Keyboard module (5105c09) - @ide
- 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
- Enable TLS 1.1 and TLS 1.2 on Android 4.1-4.4 (55ebb89) - @fkoester
- Implement NativeAnimated offsets (8e81644) - @ryangomba
- Implement NativeAnimated modulus node (9b4927c) - @ryangomba
- Remove underline colour in text inputs (6ed4934) - @fred2028
- WebSocket: include cookies in request (be4afdd) - @antoinerousseau
- Simplify react-native overrides when building from source (cd6f9f9) - @mikelambert
- Dont go down through JNI to figure out that no margin/padding/border/position was set (2df4faa) - @emilsjolander
iOS
Bugfixes
- Fix timing issues in RCTLoggingTests.m (bdff1c3) - @dlowder-salesforce
- Fix Xcode build error on non-standard setup (9d86a12) - @caabernathy
- Fix setAnimatedNodeValue in Native Animated on iOS (34c7e76) - @janicduplessis
- Fix Alert memory leak (49667db)
- Fix some warnings in React.xcodeproj (8bc30af) - @javache
- Fix for Unicode decoding issue when using incremental networking. (3ac3749) - @LeoNatan
- Fix UIView borderWidths not rendering correctly (95cb4ea) - @javache
New features and enhancements
- Add support for native animated events on iOS (fc11a5f) - @ide
- Remove getter for RCTShadowView flex (4ea359a) - @javache
- Replace
CGFloat
withfloat
in RCTShadowView (82911a8) - @javache - Move Platform constants to RCTPlatform (384ea33) - @javache
- Guard against bad values set in RCTCustomScrollView (97153d6) - @mmmulani
- Support static values in NativeAnimated transforms (cdd2d79) - @janicduplessis
- Don't receive touches in RCTRootView (761e06b) - @javache
- Allow serializing underlying NSError objects (c144bbf) - @neilsarkar
- Add remote notification completion handler (e000b71) - @JAStanton
- Warn when height/width is set in style without correct flex (a96b4ab) - @mmmulani
- Only retain the previousViews that need to be validated (a4bb4d2) - @ephemer