Skip to content

Releases: NativeScript/nativescript-cli

v5.2.0

15 Feb 12:39
3569805
Compare
Choose a tag to compare

5.2.0 (2018, February 13)

Implemented

Fixed

  • Fixed #3122: tns debug ios --debug-brk fails the majority of the time
  • Fixed #3161: tns test command fails to find a running iOS simulator
  • Fixed #4232: Unit testing for freshly created angular project is broken on Android emulator
  • Fixed #4253: LiveSync stops working in Preview app when make change in scss file
  • Fixed #4255: Uninstalling NativeScript should also remove its extensions
  • Fixed #4283: tns run android fails with private npm registry
  • Fixed #4300: Strange logs after project built for Android
  • Fixed #4311: [iOS] Build with nativescript-plugin-firebase requires legacy build system
  • Fixed #4324: High CPU utilization during tns run
  • Fixed #4327: tns devices --availableDevices prompts to install Xcode command line tools
  • Fixed #4347: tns resources generate splashes <path to image> fails for newly created project

v5.1.1

17 Jan 15:01
793881d
Compare
Choose a tag to compare
Merge pull request #4294 from NativeScript/vladimirov/fix-ios-sim-sto…

v5.1.0

12 Dec 13:31
ac077f0
Compare
Choose a tag to compare

5.1.0 (2018, December 12)

Implemented

Fixed

  • Fixed #4075: tns preview - app is refreshed on ios devices when changing android specific files
  • Fixed #4141: Don't prepare the project on tns preview command
  • Fixed #4178: Broken files pattern in karma config
  • Fixed #4198: The NativeScript Inspector is not closed on Ctrl + C
  • Fixed #4049: tns commands Removing Newline Added by npm from package.json

v5.0.3

04 Dec 07:52
c8f1ee9
Compare
Choose a tag to compare

5.0.3 (2018, December 4)

Fixed

  • Fixed #4186: Fix stuck http requests/responses
  • Fixed #4189: API: Fix "Cannot read property 'removeListener' of undefined" error on second stop of livesync to preview app

v5.0.2

29 Nov 12:34
e470e25
Compare
Choose a tag to compare

5.0.2 (2018, November 29)

Implemented

  • Implemented #4167: API: Expose previewAppLiveSyncError event when some error is thrown while livesyncing to preview app

Fixed

  • Fixed #3962: If command 'tns plugin create .. ' failed , directory with plugin repository name must be deleted
  • Fixed #4053: Update Nativescript cli setup scripts to use android sdk 28
  • Fixed #4077: Platform add with framework path and custom version breaks run with "--bundle"
  • Fixed #4129: tns preview doesn't sync changes when download 2 Playground projects
  • Fixed #4135: Too many TypeScript "Watching for file changes" messages in console during build
  • Fixed #4158: API: reset devices list when stopLiveSync method is called
  • Fixed #4161: API: raise deviceLost event after timeout of 5 seconds

v5.0.1

14 Nov 14:10
b8e7861
Compare
Choose a tag to compare

5.0.1 (2018, November 14)

Implemented

  • Implemented #4083: API: Add public API for deviceFound and deviceLost for preview devices
  • Implemented #4087: API: Expose public method for getting the qr code of playground app
  • Implemented #4093: API: Expose public api for starting the livesync operation to preview app

Fixed

  • Fixed #2670: Command line tns run android --clean rebuilds
  • Fixed #4043: tns preview fails when local plugin is referenced with tag in package.json
  • Fixed #4046:tns debug ios does not work with bigger projects on slower devices
  • Fixed #4055: API: Remove persisted emulator's data on deviceLost event
  • Fixed #4056: API: TypeError: Invalid Version: null is thrown when emulator is stopped immediately after start
  • Fixed #4071: Unable to run tns test <platform>
  • Fixed #4073: Error is thrown when Node.js 11 is used
  • Fixed #4076: Cannot connect to device socket when run debug with justlaunch
  • Fixed #4079: API: Reset errors when fallback to list avds from director
  • Fixed #4090: tns preview and tns platform add ... issue
  • Fixed #4096: NativeScript v4 is not using the v4 of the app templates during project creation
  • Fixed #4100: Apply before-plugins.gradle file in the plugin build.gradle

v5.0.0

14 Nov 12:49
a9b5644
Compare
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
Compare
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
Compare
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
Compare
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