Releases: NativeScript/nativescript-cli
Releases · NativeScript/nativescript-cli
v6.2.0
New
- Implemented #5038: Deprecate support for markingMode:full
- Implemented #5049: Android App Bundle Improvements
- Implemented #5060: Kotlin usage tracking in android builds
- Implemented #5096: Reduce the npm requests when checking if the project should be migrated
- Implemented #5104: Allow tag and range versions in the preview app plugin versions validation
- Implemented #5107: Support V8 Snapshots on Windows
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 insrc
orapp
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
6.1.2 (2019, September 18)
Fixed
- Fixed #5018: Track runtime versions on add and on build, run, deploy
v6.1.1
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
6.1.0 (2019, September 04)
New
- Implemented #4229: Do not display command usage help after execution is started
- Implemented #4909: Support for Xcode 11 and iOS 13
- Implemented #4926: Android SDK 29 support
- Implemented #4947: Add tracking for both React NativeScript and Svelte Native projects
- Implemented #4966: Support LiveSync to iOS Wi-Fi devices
- Implemented #4974: Ask the users why they've uninstalled NativeScript CLI
- Implemented #4976: Handle changes in iOS and Android Runtime 6.1.0 logging
- Implemented #4980: Update message for subscribing to NativeScript newsletter
- Implemented #4992: Allow tns to be able to use npm configuration properly
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
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
6.0.2 (2019, July 22)
- Fixed #4885:
migrate
andupdate
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
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 updatenativescript-vue-template-compiler
- Fixed #4874: After
tns migrate
preview/build/run commands fail withERROR 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
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
andlegacy
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 innode_modules
. In 6.0 this is the default and only behavior - webpack watches all required files and CLI watches theplatforms
directories andpackage.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 deletedtns 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
- Implemented #2368: Compiling in other path (dist), no in same path (src/app)
- Implemented #2417: Show TypeScript line numbers in stack traces
- Implemented #2776: Add ability to ignore files from final package when build in release
- Implemented #3378: Running app with locally installed plugin should transpile the plugin's TypeScript files
- Implemented #4497: Ability to detect within webpack if app is being built for release
- Implemented #4604: Logs and errors from devices always point to bundle/vendor files
- Implemented #4646: Introduce command (
tns migrate
) to migrate old project to 6.0.0 requirements - Implemented #4648: Drop support for Node.js < 8
- Implemented #4649: Deprecate support for Node.js < 10
- Implemented #4650: Add official support for Node.js 12
- Implemented #4651: Add drawer navigation prompt when vue flavor is selected on
tns create
- Implemented #4667: Support yarn hoisted packages in a workspace context
- Implemented #4692: CLI should watch package.json files in the application
- Implemented #4731: Drop support for Xcode < 10
- Implemented #4863: Delete
tns init
command - Implemented #4863: Delete
tns clean app
command - Implemented #4865: Improve plugin development workflow
- Implemented #4867: Delete
--platformTemplate
option
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 toplatforms/.../res
(Android) orplatforms/.../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 innode_modules
does not start a new build process - Fixed #4500: Changes to
.js
files located innode_modules
causes thelivesync
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
v5.4.1
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