Skip to content

Releases: NativeScript/nativescript-cli

v5.0.0

14 Nov 12:49
a9b5644

Choose a tag to compare

Breaking

  • Existing applications that are using older Android runtime (not 5.0.0 one), but are built with CLI 5.0.0, may experience some changes - until now CLI was always passing parameter to gradle -PsupportVersion=26.0.0-alpha1. As CLI no longer passes this version, the default one from build.gradle will be used (for example 27.0.1). Check this issue for more information. In case you want to use the old version in your application, add the following in your app.gradle:
project.ext.supportVersion = "26.0.0-alpha1"
  • CLI will not allow building for iOS with Xcode 8 or below. Check this issue for more information.
  • CLI no longer support macOS Sierra and below. In case you are using such OS, CLI will print error message on each command. It will not stop you, but certain features will not work and we will not investigate them. tns debug ios --inspector will not work on macOS Sierra and below.
  • You will not be able to build applications for Android without installing Android SDK 28. You can install Android SDK 28 and build tools 28 by executing the following commands:
$ANDROID_HOME/tools/bin/sdkmanager "build-tools;28.0.1"
$ANDROID_HOME/tools/bin/sdkmanager "platforms;android-28"
  • tns create command is interactive now. In case you are using it in CI environment where the shell is marked as TTY (Travis for example), the CI will hang as it will wait for selection. You can get back the old behavior by passing --js: tns create <name> --js. In case the terminal is not interactive, CLI will use the old behavior. More information is available in this issue.

New

Fixed

  • Fixed #3549: Podfile generation broken on livesync
  • Fixed #3686: Pod install fails with non-error message for fresh installations
  • Fixed #3878: Prompter for mail on postinstall is very obligatory
  • Fixed #3910: tns platform add ios should not be executed on non-macOS
  • Fixed #3912: Build fails with Xcode 10 with error could not find included file ../plugins-debug.xcconfig in search paths
  • Fixed #3920: iOS apps will not start with Xcode 10
  • Fixed #3932: Plugins' platforms directory should not exist in tns_modules
  • Fixed #3934: Unable to create project from scoped package
  • Fixed #3937: The app cannot be recovered with livesync after an unhandled exception on iOS
  • Fixed #3957: Always have to run plugin tests twice on iOS - Failed to load Info.plist from bundle at path
  • Fixed #3984: Files are not deleted from platforms folder on tns run command
  • Fixed #3986: tns debug ios command fails in some cases on iOS Simulator
  • Fixed #4007: Application built in release has TypeScript files
  • Fixed #4010: node_modules are prepared twice on initial run

v4.2.4

19 Sep 10:48
0e8aafa

Choose a tag to compare

Fixed

  • Fixed #3832: Unable to work with devices with numeric identifiers
  • Fixed #3881: Replace forum references with stack overflow.
  • Fixed #3883: CLI installs the app on every change
  • Fixed #3893: [API] Errors are raised when emulator lost/found event is raised.
  • Fixed #3893: [API] Android emulator image display names are not correct.
  • Fixed #3894: Socket Error: Error: write ECONNABORTED is raised when trying to run on Android

v4.2.3

27 Aug 14:14
ffbceb6

Choose a tag to compare

Fixed

  • Fixed #3840: Unable to reconnect to iOS Simulator when debugging
  • Fixed #3824: tns create command not using proxy set with tns proxy set

v3.4.4

21 Aug 14:35
957f5f8

Choose a tag to compare

v3.4.4 Pre-release
Pre-release

Fixed

  • Fixed #3830: Add support for building projects with Xcode 10 beta versions

v4.2.2

16 Aug 11:11
a3ebf5d

Choose a tag to compare

4.2.2 (2018, August 16)

Fixed

  • Fixed #3818: Unable to start application on Android device with a custom activity containing capital letters
  • Fixed #3820: A command help is shown on native build error
  • Fixed #3821: [Sporadic] Unable to start iOS debugger from VSCode extension

v4.2.1

10 Aug 11:59
5fa0308

Choose a tag to compare

v4.2.1

Fixed

  • Fixed #3763: Duplicated entries in tns run log while livesyncing
  • Fixed #3802: Unable to use templates without App_Resources
  • Fixed #3803: tns run ios command fails if tns-ios version is a tag
  • Fixed #3805: tns run android fails in case you do not have Android emulator images

v4.2.0

07 Aug 06:21
4db0a8e

Choose a tag to compare

New

Fixed

  • Fixed #2485: EACCES (Permission denied) when livesync Angular projects on Samsung devices
  • Fixed #2547: tns-android remains inside dependencies when tns build/run android fails
  • Fixed #3132: Xcode 9: Requires Provisioning Profile Error
  • Fixed #3602: Livesync does not work on Android P
  • Fixed #3610: Livesync ignores aar file changes inside a plugin
  • Fixed #3672: tns run/debug ios --syncAllFiles with cocoapods has issues
  • Fixed #3707: CLI generates aar files on changes in app/ (livesync with webpack)
  • Fixed #3710: CLI regenerates ALL aar files on changes in node_modules
  • Fixed #3723: iOS build for device fails with Xcode 10 beta versions
  • Fixed #3729: File references inside .pbxproject are incorrect when there's space in project path
  • Fixed #3741: Platforms folder need to be removed after a bitcode error
  • Fixed #3744: During all gradle operations "Gradle build" message is printed
  • Fixed #3751: Problem building nativescript-google-maps-sdk on Android
  • Fixed #3752: Increase the default timeout for debug command from 5 to 10 seconds
  • Fixed #3768: Skip preparation of plugins native files in case they are not changed
  • Fixed #3794: Update lodash to fix a security vulnerability.

v4.1.2

26 Jun 14:05
07558bf

Choose a tag to compare

Fixed

  • Fixed #2283: On adding test frameworks their peerDependencies are not installed
  • Fixed #3689: tns test <platform> throws exception

v4.1.1

19 Jun 07:27
421867f

Choose a tag to compare

Fixed

  • Fixed #3625: tns run ios --device fakeId start random emulator
  • Fixed #3633: iOS Debugging: Close frontend socket unconditionally
  • Fixed #3644: tns run ios --justlaunch do not exit on real iOS devices
  • Fixed #3658: Don't rebuild application for android when something is changed in App_Resources/iOS
  • Fixed #3660: A deprecation warning is shown when tns debug ios command is executed with node v10
  • Fixed #3662: Fix project creation when template v2 is used
  • Fixed #3666: Unable to generate icons when the Contents.json is not generated by Xcode
  • Fixed #3675: File connections to iOS device work for a single app only
  • Fixed #3677: docs: Add alias to plugin add/install
  • Fixed #3682: Use google as default repo when building plugins

v4.1.0

31 May 10:21
07570ae

Choose a tag to compare

4.1.0 (2018, May 31)

New

Fixed

  • Fixed #1398: CLI detects iOS devices connected over Wi-fi and fails to work with them
  • Fixed #2831: tns debug android --start releases the terminal session
  • Fixed #3580: API: isValidNativeScriptProject returns incorrect result
  • Fixed #3593: Tracking for used Debug tools is not correct
  • Fixed #3629: tns debug android --start does not print application console.logs