Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 2.3 KB

breaking-changes.md

File metadata and controls

27 lines (20 loc) · 2.3 KB

Breaking Changes

Breaking changes are now tracked as part of Release Notes.

0.16

  • Touch events on Android now have coordinates consistent with iOS: 0c2ee5
  • YellowBox enabled by default: 8ab518
  • React Native now uses Babel 6 (props to tadeuzagallo for upgrading!). We've been using React Native with Babel 6 at Facebook for quite a while now. Nevertheless, please report any errors related to Babel, such as transforms for some JS features not working as expected and we'll fix them.
  • Decorators won't work until T2645 lands in Babel.
  • Exporting default class that extends a base class won't work due to Babel's T2694.

0.15

  • React Native now uses React 0.14; see the linked blog post for a changelog (at this time, the package split has not been made in RN (i.e., please continue to use require('react-native')) and refs to native components have not changed)

0.14

  • D2533877: react-native bundle API changes:
    • API is now entry-file <path> based instead of url based.
    • Need to specify which platform you're bundling for --platform <ios|android>.
    • Option --out has been renamed for --bundle-output.
    • Source maps are no longer automatically generated. Need to specify --sourcemap-output <path> option to indicate where to put the source maps.
  • D2538070:
    • The --minify option is now infered based on the --dev value. To get a production minified bundle use --dev false as --dev defaults to true.
  • 28f6eb: removeClippedSubviews now defaults to true on ListView. This is generally the behavior people expect from ListView so we're making it default to true. If you see any issues please report them.
  • 82fad3: Remove redundant script to start packager, it can still be started using react-native start or npm start