mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-01-13 09:20:50 +08:00
2.3 KiB
2.3 KiB
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 bundleAPI 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
--outhas 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.
- API is now
- D2538070:
- The
--minifyoption is now infered based on the--devvalue. To get a production minified bundle use--dev falseas--devdefaults to true.
- The
- 28f6eb:
removeClippedSubviewsnow defaults totrueonListView. This is generally the behavior people expect fromListViewso we're making it default totrue. If you see any issues please report them. - 82fad3: Remove redundant script to start packager, it can still be started using
react-native startornpm start