Releases: microsoft/code-push
v1.4.0-beta
This is largely a bug fix release that also introduces a feature enhancement to the existing rollback
command. You can update your global code-push-cli
installation from NPM immediately to take advantage of these improvements.
New Features
- The
rollback
command accepts a new optional flag called--targetRelease
(or-r
) that allows you to roll back to an arbitrary version within the deployment, as opposed to simply the previous release. This change was made after lots of customer feedback, and we're happy to unblock this scenario!
Bug fixes
- The
description
parameter of therelease
command now correctly parses whitespace characters (e.g. \n, \t), so you can add newlines/etc. to your release descriptions. - The
Package Hash
field has been removed from thePackage Metadata
column that is displayed when runningcode-push deployment ls
. This field required the table to be unnecessarily wide in order to render correctly, and it also wasn't adding a lot of value to users anyways.
v1.3.0-beta
This is a feature release which introduces a few new capabilities and no breaking changes. You can update your global code-push-cli
installation from NPM immediately to take advantage of these improvements.
New Features
-
A new
code-push rollback
command lets you easily "undo" a release that was unintended or has issues. This was a top user request, so we're happy to get it in! See the docs for more info on how to use it. -
A progress bar is now displayed when releasing an update, so that you have a better idea of how long it will take. This was also a frequent request from users.
-
We now display an update notification if you are running an out-of-date version of the CLI. To keep it unobtrusive, it is only displayed at most once a day, and only shows up when running
code-push
. Running any other command (e.g.code-push app ls
) won't display the update notification.
v1.2.3-beta
This is a bug-fix release which adds better error logging when releasing an update and improves the output of various commands. You can update your global code-push-cli
installation from NPM immediately to take advantage of these improvements.
Bug fixes (App management)
- The
ID
column was removed from the output of theapp ls
command. This value was completely internal and didn't make any sense being displayed to users. - A new
Deployments
column has been added to theapp ls
command which displays a comma-separated list of deployments that each app has. - The
Package
column has been removed from the list of deployments that are auto-created when adding a new app via theapp add
command. This column was always blank since a newly created deployment obviously couldn't have had any releases made to it yet.
Bug fixes (Releasing updates)
- The
release
command now reports an error when theappStoreVersion
parameter isn't semver compliant. This has always been a requirement on the server, but the CLI didn't enforce it. - The
release
command now rejects specifying a zip file via thepackage
parameter. This has always been a requirement on the server, but the CLI didn't enforce it. - The
deployment history
command now sorts the releases in ascending order so that the most recent update is at the bottom. This makes it easier to use since most terminals will automatically scroll you to the bottom of a command's output.