Skip to content

June 2017

Compare
Choose a tag to compare
@grabbou grabbou released this 12 Jul 23:02

General

Breaking changes

react-native-xcode.sh now lives in a different location

If you're seeing this error during iOS builds:

../node_modules/react-native/packager/react-native-xcode.sh: No such file or directory

then you need to go into Xcode, click the root of your project, go to 'Build Phases', find the one that says 'React Native', then update the command to point to:

export NODE_BINARY=node
../node_modules/react-native/scripts/react-native-xcode.sh

This change is caused by react-native-packager being extracted into a separate project (now, named metro-bundler). Further discussion happens here: #13976 (comment)

Other

  • Better TextInput: contentSize property was removed from TextInput.onChange event (bac84ce) - @shergin
  • Using Image with nested content now causes warning (yellowbox) (279f5f1) - @shergin

Bugfixes

  • Fix code generation for indexed RAM bundles (f91e376) - @davidaurelio
  • Fix react-native link issue when using multiple manifests (1ad08aa) - @dantman
  • Fix stickySectionHeader re-render issue (872fbc2) - @nihgwu
  • Fix KeyboardAvoidingView component (a975c1e)
  • Fix Native Animated - Call x.__makeNative before super.__makeNative (08f41bc) - @janicduplessis
  • Fix TextInput's padding and border size computation and layout (44af4d1) - @shergin
  • Fixed ListViewMock unique key error when many sections (a324965) - @tszajna0
  • Replace React.PropTypes with prop-types (8e9322c, 50b11aa) - @mojodna,
    @andrewimm
  • Replace React.createClass with create-react-class (658c7bb) - @mojodna
  • Fix configure glog script when building from xcodebuild (5c53f89) - @janicduplessis
  • Removing test-driver symlink in ios third party install script (713ca68) - @ArturKlajnerok

New features and enhancements

  • Native Animated: Prevent views driven by native animated from being optimized away (c87524e) - @janicduplessis
  • Fail gracefully for node<4 in react-native-cli (const->var) (699a0be) - @rh389
  • Add more prop type for View (05ec850) - @mjmahone
  • Add flexWrap warning when used with FlatList (eac399b)
  • Add error message when calling sync methods from the Chrome debugger (7837bdb) - @javache
  • Add message to remind user to enable wifi (f1284b8) - @sebirdman
  • Introducing ImageBackground, replacement for Image which supports nesting views (9637dd4) - @shergin
  • Only call callImmediates once per batch (07ee2fb) - @javache
  • Automatically request location permission when accessing geolocation (9e026ec)
  • Exposes requestAuthorization method (3c64d95)
  • Render section footer in SectionList sections with no data (f702cbe)
  • ART: Call toString on fontWeight else throws error if passed an integer (7cddaa0) - @davidlrnt
  • XMLHttpRequest withCredentials defaults to "true" (9b4a644) - @DanielZlotin
  • CLI: Adding shebang to setup_env.sh script (f16df60) - @gabriel-laet
  • Forcing to alignSelf: stretch was removed from TextInput (4e40521) - @shergin
  • Singleline TextInput now has intrinsic size (ea9d674) - @shergin
  • Multiline TextInput was fixed to match layout logic of singlelined one (4865022) - @shergin
  • VirtualizedList: Pass data prop instead of props to _updateViewableItems in _onScroll (803a916) - @Ashoat
  • Update inquirer package to better support interactive command line prompts (bada25d) - @Yu-w
  • Allow lazy modules registration with the BatchedBridge (485bb70) - @fromcelticpark
  • Refactor of Fiber integration with React Fiber + Stack (59e41b4) - @trueadm
  • Improve View props and style stuff (1f3140c) - @sahrens
  • Cleanup PerformanceLogger (2a3de8f) - @sahrens
  • Support options param for requestIdleCallback (cf51aee) - @jhen0409
  • Adding the ability to run GC on a different thread than the one JSContext was created in (578227d)
  • Create JS executor and context on main thread w/ custom JSC (e284a9d)

Docs

  • Update Getting Started, Upgrading for CRNA (2d1c721) - @hramos
  • Additional doc improvements (9bde0fb) - @hramos
  • Expand Getting Started, Debugging, Running on Device guides. (674a642) - @hramos
  • Clarify pros/cons on different navigation libraries (84f6880) - @hramos
  • Update ListView Basics to use FlatList, SectionList. (c419ae8) - @hramos
  • Fixed grammar/sentence structure (6b6d269) - @panzer-planet

Yoga

Packager

iOS

Bugfixes

  • Native Animations - Fix edge case with restore default values (fc45471) - @janicduplessis
  • Fix data race on read/write _instance variable in ModuleData class (5e97be8) - @makadaw

New Features and enhancements

  • Add ART library to UIExplorer for iOS, with sample and snapshot test (9e8a39c) - @dlowder-salesforce
  • Add newly recommended method for RCTLinkingManager due to deprecation (ff78a8d) - @jasonnoahchoi
  • Add support for flashScrollIndicators on iOS (5114b61) - @jeanregisser
  • Introduce API for moving screen reader's focus (e40d1a1) - @rigdern
  • Support Animated.loop on iOS (11424a8) - @janicduplessis
  • Improve z-index implementation on iOS (1658f36) - @janicduplessis
  • Introduce API for making screen reader announcements (cfe0032) - @rigdern
  • Introducing -[RCTView reactAccessibleView] (072d270) - @shergin
  • Improve accessibility of multiline TextInputs (863f585) - @rigdern
  • Expose category property of iOS notifications (dd8ed62) - @webmariner
  • Add note for DevSupport in Podfile (152dbcb) - @sunnylqm
  • Minimize time holding lock in UIViewOperationQueue (53169b0) - @javache
  • Added Cookie Header to XML and Websocket request (047961f)
  • Using drawViewHierarchyInRect instead of renderInContext for snapshot tests (3df537a) - @shergin
  • Play sound in local notification only if soundName is specified (9fae268) - @aljs
  • Ignore "Frame load interrupted" errors in UIWebView (23a34d4) - @adamjmcgrath
  • Fixing compiler warning (407b8b4)

Android

Bugfixes

New Features and enhancements

  • Add viewIsDescendantOf for UIManager on Android (663df57) - @Swordsman-Inaction
  • Add missing Java files to RN fbjni sync (f0e4a6c) - @javache
  • Allow WebView to handle about:blank (26ee9b9) - @rigdern
  • Update CatalystInstanceImpl.java (c2eb9f4) - @chnfeeeeeef
  • Updating shake handling for Android in ShakeDetector and DevSupportManagerImpl (aeccbd6) - @sumkit
  • Remove DialogWhenLarge style from devsupport (37d4fd3)
  • Stop SystraceMessage markers with SystraceMessage.endSection (46b3a89) - @michalgr
  • Don't include JNI dep in OSS build (964c3a1) - @javache
  • Add prop on WebView to enable third party cookies (7807247) - @saleel
  • Handle [native code] stack frames (0ee8786) - @adamjernst
  • Don't enqueue another UI operation if we're already on the UI thread (213ea30) - @AaaChiuuu
  • Move to{HashMap,ArrayList} up to Readable{Map,Array} (fe229f8) - @dcestari
  • Remove useless code from ReactImageView.RoundedCornerPostprocessor (e0bdb7c) - @plamenko
  • Don't block attaching ReactRootView on measuring (8125ce5) - @AaaChiuuu