Skip to content

Releases: NativeScript/nativescript-cli

v6.0.0

17 Jul 11:18
d2f7bc9

Choose a tag to compare

6.0.0 (2019, July 17)

Breaking changes

  • Applications can be build only with bundle workflow - in previous versions there were two ways to build your application - bundle and legacy workflow. With this release CLI allows building your app only in case you are using the bundle workflow. More information is available in this blopost
  • With older CLI versions you were able to run tns debug android and continue debugging after the command exits. In this release, when CLI exits, it clears all used resources, so you will not be able to continue the debug session. More information is available in this issue for more information.
  • --syncAllFiles option is not supported anymore - this option was added to force CLI to watch all files in node_modules. In 6.0 this is the default and only behavior - webpack watches all required files and CLI watches the platforms directories and package.json files of the plugins added as dependencies of the application.
  • Drop support for Xcode versions below 10 - new features for iOS require the latest Xcode versions, so we decided to require at least Xcode 10 for building the applications
  • Drop support for Node.js below 8 - Node.js 8 does not support these version anymore and so does our CLI. In case you are using such Node.js version, CLI will not allow you to execute any command, so you should upgrade to latest LTS version.
  • --platformTemplate option has been deleted. More information can be found in this issue.
  • tns init command has been deleted
  • tns clean app command has been deleted
  • Improved plugin development workflow may require changes in your daily work when creating plugins. More information can be found in this issue
  • When you pass --release, CLI will switch webpack in production mode. More information can be found in this issue
  • CLI now forces sourceMap generation by default when building in debug mode. You can disable them by passing --env.sourceMap false. souceMaps are disabled by default in release builds, you can enable them by passing --env.sourceMap.

New

Fixed

  • Fixed #2739: Unit test runner do not work in --watch mode
  • Fixed #2963: Confusing messages on preparing plugin
  • Fixed #3028: Local dependency brakes build
  • Fixed #3146: tns run ios shows "No reachable hosts" after running unit tests
  • Fixed #3351: If you delete the whole css data or the css file itself the changes are not going to be applied to the app
  • Fixed #3546: Your project have installed babel-traverse version null but Android platform requires version ^6.4.5
  • Fixed #3568: EXPORT FAILED fse.node has conflicting provisioning settings
  • Fixed #3630: cp: copyFileSync: could not write to dest file (code=EPERM)
  • Fixed #3767: Exception when delete a file from <plugin>/platforms/android
  • Fixed #3849: The livesync check if a file has modifications doesn't work as expected
  • Fixed #4219: Android debugging is leaking the debug session
  • Fixed #4239: Copy App_Resources directly to platforms/.../res (Android) or platforms/.../Resources (iOS) instead of copying them with Webpack
  • Fixed #4264 : When using --syncAllFiles on Android frequently crashes with error
  • Fixed #4480: [TypeScript & Vue project] When using --bundle changes made to a platform specific file in node_modules does not start a new build process
  • Fixed #4500: Changes to .js files located in node_modules causes the livesync to take upto 30 sec
  • Fixed #4513: Error when building for Android and using bcryptjs
  • Fixed #4607: Image replacement is not respected during tns run with hmr
  • Fixed #4647: CLI's checkForChanges method should not check all node_modules
  • Fixed #4658: [iOS] tns preview is including tns-core-modules in vendor.js
  • Fixed #4770: Incorrect execution of hooks where there is unresolved injected dependency

v5.4.2

19 Jun 08:48
761d1d1

Choose a tag to compare

Fixed

  • Fixed #4732: HMR does not work with tns cloud run ios ... on Windows

v5.4.1

17 Jun 13:57
c7a762e

Choose a tag to compare

Fixed
Fixed #4226: Slowly attaching to debugger on real iOS device with bundle
Fixed #4584: Invalid App Store Icon Error, while uploading an iOS app with CLI generated icons
Fixed #4608: Misleading message for min runtime version
Fixed #4664: tns cloud run... command does not respect useLegacyWorkflow flag
Fixed #4665: Incorrect error is shown when unsupported Node.js version is used
Fixed #4664: $logger fails to print null objects
Fixed #4665: Deprecate support for tns init command

v5.4.0

15 May 14:08
fa18afc

Choose a tag to compare

Implemented

Fixed

  • Fixed #4280: Incorrect message if you delete app's folder and run command with --path in it
  • Fixed #4512: App's Podfile should be applied last
  • Fixed #4573: logcat process is not restarted in some cases
  • Fixed #4593: Node.js processes not killed after tns create on macOS when analytics are enabled
  • Fixed #4598: app.css changes don't apply when debugging with --debug-brk
  • Fixed #4606: Unable to build application for iOS with nativescript-bottombar
  • Fixed #4616: tns plugin create command hangs

v5.3.4

24 Apr 12:23
53d0741

Choose a tag to compare

Merge pull request #4559 from NativeScript/vladimirov/prepare-xcconfi…

v5.3.3

23 Apr 08:03
85843c6

Choose a tag to compare

Merge pull request #4547 from NativeScript/fatme/publish

fix: fix upload to appstore for accounts without 2 factor authentication

v5.3.2

12 Apr 13:18
f057e90

Choose a tag to compare

Fixed

  • Fixed #1798: Test init command doesn't add a sample test in TypeScript for TypeScript/Angular projects
  • Fixed #4498: API: Change the AppStore ids for kinvey scanner and preview app
  • Fixed #4504: Custom tagged versions of android runtime are not supported
  • Fixed #4510: Handle HTTP 304 response status code

v5.3.1

03 Apr 10:17
45219d3

Choose a tag to compare

Merge pull request #4496 from NativeScript/fatme/change-kinvey-schema

fix: change ksplay to kspreview schema

v5.3.0

28 Mar 11:56
5dc2d9f

Choose a tag to compare

Implemented

Fixed

  • Fixed #4403: Exception in iOS app entry point not shown in terminal
  • Fixed #4440: NativeScript can only run in Xcode version 6.0 or greater error is shown on every iOS command
  • Fixed #4441: Nothing happens with app on device if you delete a file with bundle
  • Fixed #4458: Warnings for short imports are shown for browser code
  • Fixed #4459: API: Raise debuggerAttached only if app is restarted during debug

v5.2.4

21 Mar 12:24
465b806

Choose a tag to compare

Merge pull request #4434 from NativeScript/vladimirov/fix-short-imports

fix: warnings for short imports should be shown correctly