Skip to content

January 2017

Compare
Choose a tag to compare
@grabbou grabbou released this 04 Jan 13:02
· 24805 commits to main since this release

This is 0.41.0 release, referred to as "January 2017" according to the new release schedule.

New features

Android: Nodes

This feature is currently experimental. You can turn it on by applying this in your ReactNativeHost subclass.

Nodes is an experimental, alternate version of UIImplementation for ReactNative on Android. It has two main advantages over the existing UIImplementation:

  • Support for overflow:visible on Android.
  • More efficient generation of view hierarchies.

The intention is to ultimately replace the existing UIImplementation on Android with Nodes (after all the issues are ironed out).

Feature development and bug-fixes related to Nodes are listed below in a separate section for better clarity.

Check the readme for more details.

Breaking changes

Android: Change ReactNativeHost getUseDeveloperSupport to public

f3c8158 - @jpshelley

This changes the visibility of getUseDeveloperSupport from protected to public. In order to upgrade, you should replace the following in your MainApplication.java:

protected boolean getUseDeveloperSupport() {

with

public boolean getUseDeveloperSupport() {

Android: ReactClippingViewGroup is moved to another package

57ebb98 - @astreet

Developers using ReactClippingViewGroup may need to update their imports from:

import com.facebook.react.views.view.ReactClippingViewGroupHelper;

to

import com.facebook.react.uimanager.ReactClippingViewGroupHelper;

General

Bugfixes

New features and enhancements

  • Expose pressRetentionOffset for Text (550469b) - @evollu
  • NavigationExperimental: Support custom card style interpolators (c8a7f9e) - @dingbat

Android

New features and enhancements

  • allowFontScaling is now supported (4394419) - @sdg9
  • Throw on redundant callback invocations from native modules (e646183) - @theoy
  • ART: Support dashes in ARTShape (e1b0d32) - @tepamid
  • ART: Fix OutOfMemoryException in ARTSurfaceShadowNode (e1b0d32) - @tepamid
  • Yoga: Correctly check if child is flex by also accounting for undefined (18a2c23) - @emilsjolander
  • Yoga: Convert max cache count into a define (05e0b67) - @emilsjolander

iOS

Bugfixes

New features and enhancements

  • CocoaPods: Make Core subspec use a Ruby string array for exclude_files (01af9ee) - @ide
  • Show Yellow Box when we fail to load a local image (ac11eed) - @mmmulani
  • Apple TV support 5 (fd5af61) - @dlowder-salesforce