Skip to content

2.0

Compare
Choose a tag to compare
@thymikee thymikee released this 04 Jul 08:34

Stable 2.0 is here and it comes with many improvements 🚀.

Highlights

  • Compatibility with React Native 0.60+
  • Autolinking for iOS and Android - no more react-native link (make sure to unlink manually linked deps)
  • Improved logs, warnings and error messages
  • New init command
  • Documentation

Breaking Changes

  • remove legacy core/findPlugins (#235)
  • bump metro to 0.54.1 (#420)
  • remove dependencies command (#100)
  • remove eject command (#275)
  • remove library command (#358)
  • link only assets by default; add --all flag with legacy behavior (#416)
  • rename "installDebug" -> "task" in run-android (#372)

Features

  • autolinking for Android with Gradle (#258, #339, #340, #407, #384, #451, #457, #449, #439, #435)
  • autolinking for iOS with CocoaPods(#256, #331, #355, #354, #355, #384, #393, #451, #449, #428)
  • add warnings for run-ios and run-android when manually linked packages detected (#447)
  • check ios-deploy installation before proceeding to build on device (#332)
  • support platforms that ship with project (#335)
  • refactor run-ios for readability and better error messages (#328)
  • extract platform-specific commands out to platform packages (#302)
  • infer package and project name for upgrade from config (#299)
  • improve upgrade when patches fail to apply (#461)
  • use logkitty to format android logs (#294)
  • extract iOS and Android specific linking files out of the core (#290)
  • make legacy link use new configuration (#281)
  • new init command (#241, #285, #292, #300, #320, #353, #357, #361, #362, #363, #364, #365, #386, #389, #390, #373)
  • standardize configuration mechanism; new config command (#254, #295, #309, #333, #336, #341, #345, #395, #398, #378, #442, #436)
  • upgrade envinfo for better output of info command (#265)
  • support eslint in react native project template. (#229)
  • only pass hasteImplModulePath if the hasteImpl file is available in RN (#417)
  • notify of new major RN version at most once a week (#268)
  • log error stacktrace by default (#396)
  • add openURLMiddleware (#383)
  • improve run-android error messages; rename "installDebug" -> "task" (#372)
  • prevent unnecessary actions if android build failed (#325)
  • pass along CLI port configuration for Android (#421)
  • log console invocations to the terminal (#426)

Fixes

  • open Metro in the correct terminal (#310)
  • add new line to the help message (#319)
  • resolve relative paths for reactNativePath (#297)
  • no active iOS device case in logIOS (#410)

Chore & maintenance

  • change upgrade to use new diff files approach (#348)
  • update and rearrange documentation (#316, #338, #345, #347, #349, #350, #454, #450, #444)
  • move shared types to root; moar link styles; bye promiseWaterfall (#312)
  • use files instead of npmignore for publishing (#314)
  • fix typo in link debug message (#311)
  • don't apply RN config automatically (#306)
  • set correct peer dep of RN 0.60 for CLI@2.x (#280)
  • setup e2e tests (#264, #289)
  • migrate @react-native-community/cli-tools to TypeScript (#296)
  • remove deprecations in DevTools middleware (#415)
  • update CONTRIBUTING.md (#409)
  • migrate to Circle 2.1, add Node LTS tests (#402)
  • refactor packageManager.js for less redundancy (#433)