Skip to content

Latest commit

 

History

History
343 lines (258 loc) · 29.6 KB

CHANGELOG.md

File metadata and controls

343 lines (258 loc) · 29.6 KB

NativeScript CLI Changelog

1.5.1 (2015, December 03)

New

Fixed

  • Fixed #1234: LiveSync does not work for iOS platform specific .xml/.css files on iOS Simulator.
  • Fixed #1242: ANDROID_HOME environment variable is not set correctly error is thrown when tns run ios --log trace command is executed.
  • Fixed #1245: TypeError: Cannot read property 'match' of null error is thrown on various commands.
  • Fixed #1246: LiveSync on android device is throwing ENAMTOOLONG error on Windows.
  • Fixed #1253: iOS debugger does not work with iOS Simulator with Xcode7+.
  • Fixed #1268: Hook failures treated as bad user input.

1.5.0 (2015, November 24)

New

Fixed

  • Fixed #727: Double logging with tns run ios.
  • Fixed #1044: iOS debug break on Simulator causes app crash when the debugger is paused on the first line for a long time.
  • Fixed #1086: --key-store-path option to look for the keystore file path relative to the app root.
  • Fixed #1106: Livesync double restarts for TS projects.
  • Fixed #1110: tns doctor command should detect invalid java version.
  • Fixed #1167: tns run, tns emulate and tns deploy commands do not check if device is available before build.
  • Fixed #1177: tns run command fails when multiple devices with same platform are attached.
  • Fixed #1185: tns device command fails when VS Emulator is running.
  • Fixed #1204: Incorrect prepare when using npm 3.x.

1.4.3 (2015, October 21)

New

Fixed

  • Fixed #1031: Command emulate android after LiveSync starts the last synced app on the emulator.
  • Fixed #1044: iOS debug break on Simulator causes app crash when the debugger is paused on the first line for a long time.
  • Fixed #1054: ENOENT error is thrown when tns platform add ios command is executed.
  • Fixed #1066: Merge Info.plist fails second build.
  • Fixed #1080: Using --symlink for android runtime is modifying the original one.

1.4.2 (2015, October 15)

Fixed

  • Fixed #1041: Unable to run the application when project root directory is renamed.

1.4.0 (2015, October 07)

Breaking

  • Application cannot be built with android-21 SDK. You need at least android-22 SDK in order to build or run your application on connected device or in emulator.

New

Fixed

  • Fixed #393: Unable to build when app contains .gz file.
  • Fixed #748: Debug --stop option does not detach the debug tools.
  • Fixed #936: javac version is not getting properly extracted in case of open jdk systems.
  • Fixed #941: tns doctor command reports Ant is not installed.
  • Fixed #942: Updating some files in App_Resources kills livesync.
  • Fixed #943: tns run android or tns debug android after tns livesync android starts the last synced app on the android device with api level 21 or greater.
  • Fixed #944: Using CocosPods does not update the app deployment target to iOS 8.
  • Fixed #947: Creash for missing module at runtime after upgrade a project from 1.2.0 version to 1.3.0 version.
  • Fixed #961: tns build command crashes when NativeScript CLI is added as dev dependency to project.
  • Fixed #977: tns livesync <Platform> --watch installs the application on the device on every change.
  • Fixed #989: tns doctor command is failing when installed Gradle version contains more than 2 numbers.
  • Fixed #1018: ProjectName is incorrect in settings.gradle when projectDir name is different from projectId.
  • Fixed #1019: Check if shasum is correct for all cached packages.

1.3.0 (2015, September 16)

Breaking

library add command is deprecated and will be removed completely in one of our next releases (currently scheduled for 1.5). You cannot create NativeScript plugins with Android native code using Eclipse projects. You need to import your Eclipse project into Android Studio, convert it to Gradle build and consume the produced AAR file. You cannot use Apache Ant to create new projects for Android but you can continue build your existing Ant-based projects. Starting with NativeScript 1.3, Android builds require Gradle. Run tns doctor on the command line to learn more. Building NativeScript projects for Android requires Android SDK 22, Android SDK Build-tools 22, Android Support Repository and ANDROID_HOME environment variable set. Run android to configure Android SDK.

New

Fixed

  • Fixed #662: Failed tns platform add android command leaves the project in inconsistent state.
  • Fixed #730: tns livesync android throws stdout maxBuffer exceeded.
  • Fixed #772: tns platform update ios command does not update metadata generator.
  • Fixed #793: The NativeScript CLI writes errors on stdout.
  • Fixed #797: Plugin add does not merge plugins's Info.plist file.
  • Fixed #811: tns livesync <Platform> --watch reports an error when platform specific file is changed.
  • Fixed #826: Failed tns prepare <Platform> command leaves the project in inconsistent state.
  • Fixed #829: Fail to build the project when nativescript-telerik-ui plugin is added before the platform.
  • Fixed #866: The NativeScript CLI is not able to detect java on Ubuntu.
  • Fixed #896: tns run <Platform> after tns livesync <Platform> starts the last synced app on the device.

1.2.4 (2015, August 24)

Fixed

  • Fixed #806: tns library add android command does not execute android project update if target 17 is not installed.
  • Fixed #807: Android native libs are not respected correctly if the plugin is added as depedency to another plugin.

1.2.3 (2015, August 18)

Fixed

  • Fixed #776: tns livesync ios --emulator --watch doesn't sync changes.
  • Fixed #777: tns library add ios does not build correct relative paths to referenced frameworks for mdgenerator.
  • Fixed #779: Command failed due to space in library reference path.

1.2.2 (2015, August 11)

New

Fixed

  • Fixed #470: Command failed due to space in file path.
  • Fixed #632: Android debugger does not work on some OS X systems.
  • Fixed #652: tns debug ios does not load inspector from the added iOS runtime.
  • Fixed #663: Verify that Java is at least 1.7.
  • Fixed #671: tns debug ios doesn't work for projects created with framework versions earlier than 1.2.0.
  • Fixed #679: tns library add ios adds the framework with its full path in the Xcode project.
  • Fixed #695: Exceptions tracking is not correctly set in the user settings.
  • Fixed #699: Unable to update Android platform when npm cache is in an inconsistent state.
  • Fixed #722: tns debug builds and installs the app twice.
  • Fixed #742: tns livesync android doesn't work on some Android devices.
  • Fixed #747: New files are not respected by tns livesync.

1.2.1 (2015, July 27)

Fixed

  • Fixed #690: The $ tns debug ios --debug-brk command does not work.

1.2.0 (2015, July 24)

New

  • Implemented #621: Added the $ tns error-reporting command. By default, anonymous error reporting is enabled.
  • Implemented #620: Renamed the $ tns feature-usage-tracking command to $ tns usage-reporting. By default, anonymous usage reporting is enabled.
  • Implemented #523: Added the $ tns livesync <Platform> command. You can use it to quickly synchronize changes to connected devices without re-building and re-deploying your apps.
  • Implemented #510: Improvements and updates to the $ tns plugin sets of commands.
    • You can create and work with custom NativeScript plugins which contain Android native libraries.
    • You can create and work with custom NativeScript plugins which contain iOS dynamic native libraries.
    • The $ tns plugin remove command removes the Android native libraries carried by the plugin.
  • Implemented #480: Added the $ tns doctor command. You can use it to quickly check for any configuration issues which might prevent the NativeScript CLI from working properly.

Fixed

  • Fixed #658: The $ tns platform remove command does not remove framework data from package.json for the project.
  • Fixed #644: You cannot build your app for Android, if it contains a custom styles.xml.
  • Fixed #632: On OS X systems with custom Chrome builds, you cannot debug Android apps. To be able to debug Android apps, you need to set the name of the custom Chrome build in the ANDROID_DEBUG_UI_MAC setting in config.json.
  • Fixed #629: The $ tns prepare command does not populate the platform-specific directories correctly, if your project contains both an npm module, installed using $ npm install, and a NativeScript plugin, installed using $ tns plugin add.
  • Fixed #574: The $ tns prepare ios command does not preserve file name casing when populating the platform-specific directories.
  • Fixed #538: The NativeScript CLI interprets files whose names contain ios or android as platform-specific files and renames them, even if they are not platform-specific.
  • Fixed #281: The $ tns platform remove command does not print any status message when the operation is successful.
  • Fixed #271: The $ tns create command does not validate the path provided with the --copy-from option.
  • Fixed #139: The $ tns prepare command does not remove files from the platform-specific directories correctly.

1.1.2 (2015, July 2)

New

  • Implemented #600: Added the $ tns init command. You can use it to initialize a NativeScript project for development. The command recreates or updates the package.json file of the project. You can then run $ tns install to install the platforms and dependencies described in the package.json file.
  • Implemented #587: Added the $ tns install command. You can use it to quickly install all platforms and dependencies described in a package.json file.

Fixed

  • Fixed #606: The NativeScript CLI lets you run <Platform>-based commands on operating systems which do not support development for this platform. For example, you can run $ tns build ios on a Windows system.
  • Fixed #601: The NativeScript CLI does not treat the dependencies of devDependencies as devDependencies.
  • Fixed #599: The NativeScript CLI always creates a tmp directory in the current directory when you run any command and modifies the package.json file for the project.
  • Fixed #584: The NativeScript CLI references the files in the project with their absolute paths instead of their relative paths. This might cause the project to stop working when transfered to another location and might cause issues with your application packages.
  • Fixed #578: Platform-specific files in NativeScript plugins are not processed correctly. The NativeScript CLI copies them to the correct platform-specific directory but does not rename them correctly.
  • Fixed #520: iOS resources from the App_Resources folder are not included in the native Xcode project and are not accessible in the application package.

1.1.1 (2015, June 17)

New

  • Implemented #551: You can now develop for Android 5.1.1 (API Level 22). If you have this SDK installed on your system, the CLI will set it as the default target SDK when you run $ tns platform add android
  • Implemented #552: You can now set the target Android SDK for your project by specifying the --sdk option for $ tns platform add android operations.

Fixed

  • Fixed #555: In some cases, the CLI merges incorrectly the plugin platform-specific AndroidManifest.xml or Info.plist with the respective platform-specific configuration files from the project.
  • Fixed #567: You cannot use npm as a package manager inside your project.
  • Fixed #569: On some Windows systems, the CLI installation shows errors in the console.

1.1.0 (2015, June 10)

Breaking

  • Replaced .tnsproject with package.json to let you use npm and work with custom plugins in your project.
    The first time you run any NativeScript command on an existing project, your .tnsproject file will be automatically transformed into a package.json file describing your project configuration and data. After this, make sure to commit and push your changes if you are using version control.
    After the transformation is complete, you can install and use custom NativeScript plugins inside your project.

New

  • Implemented #510: You can work with custom NativeScript plugins in your project. You can add a plugin from an npm package, a local folder, a URL or a .tar.gz file. For more information, run $ tns help plugin
  • Implemented #362: You can use npm as package manager for your NativeScript projects.

Updated

  • Updated #358: Multiple improvements and bug fixes for iOS debugging.

Fixed

  • Fixed #446: Autocompletion might continue to work after disabling because tns autocomplete disable does not update .profile files.
  • Fixed #391: The default 9-patch image for Android projects is malformed and causes error messages in the build log.
  • Fixed #324: When you run commands for the ios platform, the NativeScript CLI might show the following unrelated adb warning: Unable to find adb in PATH. Default one from %s resources will be used.
  • Fixed #309: You cannot open the device log for streaming with the tns device log command.

1.0.2 (2015, May 27)

Fixed

  • Fixed #498: On some Linux and OS X systems, when the USER or SUDO_USER environment variables are missing, you cannot run NativeScript CLI commands. The following error appears when you attempt to run nativescript or tns commands: TypeError: Arguments to path.join must be strings.

1.0.1 (2015, May 8)

Fixed

  • Fixed #459: You cannot add a third-party iOS native library to your project, if the path to the library contains spaces.
  • Fixed #458: If you have installed Xcode 6.2 or earlier on your system, you cannot debug in the iOS Simulator.
  • Fixed #413: If your project name contains a hyphen, the NativeScript CLI sets your application identifier inconsistently across the project.

1.0.0 (2015, April 28)

New

Fixed

  • Fixed #446: tns autocomplete disable might not disable command-line completion properly.
  • Fixed #445: For some commands, HTML help is shown instead of the console help.
  • Fixed #444: When you attempt to install the nativescript npm module using sudo, errors might be shown.
  • Fixed #443: When you attempt to configure command-line completion during installation, ENOENT error might be shown.
  • Fixed #442: The console does not show links properly.
  • Fixed #394: On OS X or Linux systems, the NativeScript CLI does not resolve symlinks and you cannot build your apps.
  • Fixed #391: The Android splash screen image in the template is malformed and causes errors in the build log.
  • Fixed #324: If the Android SDK is not properly configured, when you run tns build ios, run ios, tns deploy ios or tns emulate ios, the NativeScript CLI prints an irrelevant adb-related warning.
  • Fixed #309: You cannot open the device log for streaming with tns device log.
  • Fixed #276: On bash consoles, command-line completion does not work.

0.10.0 (2015, April 21)

Breaking

  • Introduced new project structure. To migrate to the new structure, complete the following steps.
    1. Manually move all files and folders from the inner app folder one level up inside the outer app folder.
    2. Remove the now empty inner app folder.
    3. Verify that your project structure reflects the structure described here.

New

  • Implemented #388: Improved the --log trace global option.
  • Implemented #387: Improved installation.
  • Implemented #350: Improved command-line completion.
  • Implemented #175: You can run your app in Android virtual devices, created from the Google APIs images from the Android SDK.
  • Implemented #88, #291: Introduced context-aware console help which you can access by running tns <Command> -h and extended HTML help which you access by running tns help <Command>.

Fixed

  • Fixed #380: When you run tns build android, tns run android, tns deploy android or tns emulate android, the NativeScript CLI builds your project twice.
  • Fixed #371: On Android 5.x devices, NativeScript apps load very slowly on first run.
  • Fixed #260: On bash consoles, the open command might stop working.
  • Fixed #257: On bash consoles, you cannot pass arguments with spaces, even if escaped.
  • Fixed #251: On OS X systems, the command validation might not work properly.
  • Fixed #248: On OS X systems, the tns deploy command might not release the console.
  • Fixed #169: The native Xcode project is created with an incorrect name.

0.9.4 (2015, March 18)

Fixed

  • Fixed #348: tns platform add ios downloads the latest experimental version of the ios runtime instead of the latest stable version.

0.9.3 (2015, March 18)

Fixed

  • Fixed #312: tns platform add ios does not preserve your app ID, if not default.

0.9.2 (2015, March 17)

New

  • Implemented #305, #322: You can quickly add or update your platform runtime to a specific version by running tns platform update platform@version
    For example: tns platform update [email protected]
    The NativeScript team will publish experimental support for the latest versions of iOS and Android.
    To list all available versions for android, run $ npm view tns-android versions
    To list only experimental versions for android, run $ npm view tns-android dist-tags To list all available versions for ios, run $ npm view tns-ios versions
    To list only experimental versions for ios, run $ npm view tns-ios dist-tags
  • Implemented #302: You can configure proxy settings for the NativeScript CLI.

Fixed

  • Fixed #299: You cannot build the default Hello World app for Android on OS X systems.
  • Fixed #297: You cannot install the NativeScript CLI.