Skip to content

Releases: NativeScript/nativescript-cli

v6.2.0

05 Nov 16:27
a0434f3
Compare
Choose a tag to compare

New

Fixed

  • Fixed #3785: NativeScript CLI doesn't pause on webpack compilation errors
  • Fixed #4681: tns update ios is not working
  • Fixed #4963: Difference in hookArgs.prepareData.platform on prepare and run command
  • Fixed #4995: Building plugin and running demo app fails if plugins has a surrounding gradle build
  • Fixed #5005: Apple Watch extension with space in the name of .entitlements file is not working
  • Fixed #5020: Stuck at "Restarting application on device" on Windows 10, iPad mini 2, compiled with NativeScript Sidekick cloud service.
  • Fixed #5030: The tns devices command lists appletv as iOS platform
  • Fixed #5034: Broken build when passing --i-cloud-container-environment
  • Fixed #5056: Unable to process native iOS files and frameworks from scoped packages
  • Fixed #5061: Unable to resolve cocoapods version conflicts
  • Fixed #5063: Splash Screen asset generation fails for iOS
  • Fixed #5070: The tns test command cannot work if the source code is not in src or app folder
  • Fixed #5077: Pass allowProvisioningUpdates to xcodebuild only when building for device
  • Fixed #5094: Add Theme v2 name to non-external modules when starting webpack

v6.1.2

19 Sep 06:03
bc5e0e1
Compare
Choose a tag to compare

6.1.2 (2019, September 18)

Fixed

  • Fixed #5018: Track runtime versions on add and on build, run, deploy

v6.1.1

17 Sep 09:40
c6c4214
Compare
Choose a tag to compare

6.1.1 (2019, September 17)

Fixed

  • Fixed #5015: CLI passes --preserve-symlinks to the webpack itself, not to the Node.js
  • Fixed #4893: tns preview crashes when scanning on devices with different platforms
  • Fixed #4939: Xcode 11 warning: CFBundleIdentifier value must be the same as PRODUCT_BUNDLE_IDENTIFIER

v6.1.0

04 Sep 11:49
7ecd4d6
Compare
Choose a tag to compare

6.1.0 (2019, September 04)

New

Fixed

  • Fixed #4936: HMR not recovering after exception in Angular lazy routes
  • Fixed #4958: tns doctor fails when setup is not correct and user selects to fix it manually
  • Fixed #4971: Not needed checks are executed on pod install

v6.0.3

13 Aug 08:53
71be391
Compare
Choose a tag to compare

6.0.3 (2019, August 05)

  • Fixed #4914: livesync not working with command tns test android
  • Fixed #4746: Unable to work with karma-webpack@4.0.2 on test command
  • Fixed #4586: publish ios fails because of hsa2

v6.0.2

22 Jul 13:59
15fdf19
Compare
Choose a tag to compare

6.0.2 (2019, July 22)

  • Fixed #4885: migrate and update commands are failing where everything is up-to-date
  • Fixed #4887: Include forgotten Angular dependency from the code-sharing apps
  • Fixed #4888: Sidekick: multiple errors in Sidekick

v6.0.1

18 Jul 13:53
121b065
Compare
Choose a tag to compare

6.0.1 (2019, July 18)

  • Fixed #4814: Missing yargs-parser dependency
  • Fixed #4846: Xcode running on devices crashes with error Unable to create file *.hot-update.json
  • Fixed #4871: Issues when stopping the LiveSync process
  • Fixed #4872: Sidekick: debug operation fails on iOS when Developer Disk Image is not installed on device
  • Fixed #4873: tns migrate should update nativescript-vue-template-compiler
  • Fixed #4874: After tns migrate preview/build/run commands fail with ERROR in The Angular Compiler requires TypeScript >=3.1.1 and <3.3.0 but 3.4.5 was found instead.
  • Fixed #4876:tns migrate does not update @ngtools/webpack
  • Fixed #4878: tns migrate does not update @angular/animations
  • Fixed #4879: --platform-template option is still shown in CLI's help

v6.0.0

17 Jul 11:18
d2f7bc9
Compare
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
Compare
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
Compare
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