Skip to content

May 2017

Compare
Choose a tag to compare
@hramos hramos released this 12 Jul 06:58

General

Breaking changes

Remove React forwarding and wrong import warnings

(f3dbddc) - @janicduplessis

Importing ‘react’ modules from ‘react-native’ has been deprecated since 0.25 and is now an error.

Bugfixes

New features and enhancements

  • TouchableHighlight needs to set _isMounted false when it unmounts. (d40a7ea) - @sahrens
  • Custom build options: Move transform options into own property (8533c0d) - @davidaurelio
  • Work around a false positive isMounted() warning (074c3ce) - @gaearon
  • CLI: Stronger typing for transformers (73fc439) - @davidaurelio
  • CLI: Disable no-alert eslint rule for node code (d2505e7) - @davidaurelio
  • CLI: Get rid of FBism in Config (b9fb229) - @davidaurelio
  • CLI: Resolve path at callsite rather than in Config.loadFile (edf1774) - @davidaurelio
  • CLI: Fix Promise resolve callback error (7dd2cd3) - @johnislarry
  • Fixed default placeholder text color for multiline (cf975bb) - @shergi
  • Allow calling NativeViewHierarchyManager.addRootView() off the UI thread (20c2ae8) - @AaaChiuuu
  • FlatList: use $ReadOnlyArray for section stuff (5084e1b) - @sahrens
  • FlatList: Make section key optional (8d373f3) - @sahrens
  • FlatList: Many improvements (28aaa88) - @sahrens
  • FlatList: Fix and optimize VirtualizedList update triggers (52e50af) - @sahrens
  • FlatList: Made getItem and getItemCount required props (VirtualizedList) (beeffb8) - @mariten
  • FlatList: Add ListEmptyComponent prop (264d67c) - @Minishlink
  • FlatList: flipped leading/trailing separators.updateProps (5c7c65e) - @sahrens
  • FindNodeHandle properly handles ReactCurrentOwner.current Fiber type (909fb72) - @bvaughn
  • Sync React 16 from alpha 6 to 12 (ef0bd5c) - @bvaughn
  • Open in editor fix, show tip instead of error (9934131) - @skv-headless
  • Fix parseFloat mistaken uses of "radix" (37f3ce1) - @zertosh
  • Add flow to processColor.js (c7e0f56) - @TheSavior
  • Add method on YellowBox to ignore warnings (a974c14)
  • Refactor MessageQueue (0a55e42) - @rh389
  • Order modules in bundle by path. (978592f) - @amnn

Yoga

Packager

iOS

Breaking changes

Update podspecs to support and default to the C++ bridge

(5aca739) - @mhorowitz

If you are using Cocoapods, you will have to update your Podfile by adding a dependency of ‘BatchedBridge’ or ‘CxxBridge’ to the React subspec depending on your choice.

Bugfixes

  • Fix run-ios when specifying a scheme as cli arg (c58e19e) - @pesterhazy
  • Fix RCTMultipartDataTask memory leaks (47f834a) - @ywz2010
  • Fixed crash caused by NaN values in RCTTouchEvent (e7c6a4c) - @shergin
  • React.podspec fix for RCTAnimation header issue (7b7d6bb) - @vjeranc
  • Ship third-party-podspecs in the npm package (1ea4002) - @jeanregisser
  • Fixed issue where the copy item would be added to the tooltips (d5a6152) - @gabrielbull

New features and enhancements

  • Allow videos to be shown in the CameraRoll selector (a324dfb) - @fred2028
  • More verbose error messages for iOS (e443b73) - @cooperka
  • Add API to reset CxxModuleWrapper's module pointer (17020ff) - @javache
  • Remove RCTBatchedBridge rule and all uses from the tree (325228d) - @mhorowitz
  • Split off websocket related items to RCTPackagerConnection (db8efd9) - @javache
  • Immediately trigger renderApplication from RCTRootView init (59378f7) - @javach
  • Native Animated - Support decay on iOS (6c434f9) - @janicduplessis
  • Port perf metrics used in RCTBatchedBridge (1bc9d44) - @alexeylang
  • Added support for synchronous methods in native modules on iOS (db0c221) - @fromcelticpark
  • Added tests for synchronous methods in native modules on iOS (971b083) - @fromcelticpark
  • Adopting Yoga's YGConfig in RCTShadowView (ca07a5f) - @shergin
  • Cleanup Xcode project references to UIExplorer (3544b76) - @ericvicenti
  • Merge RCTPackagerClient into RCTPackagerConnection (e768013) - @javache
  • Remove RCTPackagerClientResponder references from Xcode projects (1dd7bc1) - @javache
  • Introducing RCTAssertUIManagerQueue() (2a98432) - @shergin
  • Introducing RCTUIManagerObserverCoordinator new way to subscribe for granular notifications from UIManager (712b1dd) - @shergin
  • Throw when failing to load script (f09fdcb) - @javache
  • Remove WebWorker support from NetworkingModule (ea93577) - @javache
  • Remove WebWorker support from Timers (a20882f) - @javache
  • Drop support for WebWorkers (34bc6bd) - @javache
  • Avoid presenting on view controller that's being dismissed (96d13b6) - @javache
  • List nested exception in Redbox (b493208) - @javache
  • Apple TV Support: Add tvOS build support for ART library (32eab54) - @danielfarrell
  • Expose shake-to-show dev menu setting via the bridge (39d1974) - @wschurman
  • Enable dev menu in tvOS simulator (3122328) - @cmcewen

Android

Bugfixes

  • Fix crash when tapping "Comments" at Settings (39c73a8) - @minjang
  • Fix touch target for views with z-index (6f092a4) - @janicduplessis
  • Fix NoSuchMethodError for Inspector#Page's constructor (3240180)
  • Fix Nodes not having correct view managers externally (c8bb422) - @sjkirby
  • Stop from incorrectly darkening translucent status bars (41518ca) - @dantman

New features and enhancements

  • Expose setPointScaleFactor to java (19e1ef9) - @emilsjolande
  • Expose print function to java (924b869) - @emilsjolande
  • Allow Android videos to be shown in the CameraRoll selector (a324dfb) - @fred202
  • Add symbolication support to DevServerHelper (102f990) - @devknoll
  • Add openStackFrameCall to DevServerHelper (ee91eb7) - @devknoll
  • Add appProperty to ReactRootView (57b0039) - @maicki
  • Bump up priority of RN threads during startup (82c4b9f) - @AaaChiuuu
  • Assert on UIBackground thread if UIBackground thread is available (83a58f6) - @AaaChiuuu
  • Add flag to test running BG UI operation on a separate thread from the native modules thread (3a3e5af) - @AaaChiuuu
  • Add explicit error message if e.getMessage is null (c6614f1) - @reneweb
  • Refactor interfaces (ac74d2a) - @theoy
  • Ability to create a background UI thread (6138e20) - @AaaChiuuu
  • Add more systraces (857be04) - @AaaChiuuu
  • Wrap CREATE_MODULE and INITIALIZE_MODULE markers with try/finally (8478767) - @AaaChiuuu
  • Don't run setupReactContext() on UI thread (350b6c6) - @AaaChiuuu
  • Clear DraweeControllerBuilder after usage (3fda6a9) - @AaaChiuuu
  • Launch conversion from ASyncTask to Thread (3e866e0) - @AaaChiuuu
  • Lower thread priority of native module and JS thread (97a8663) - @AaaChiuuu