v1.12.8-beta
richardhuaaa
released this
25 Feb 01:46
·
187 commits
to master
since this release
This release introduces more user control over how versions are released and promoted, as well as multiple bug fixes. It is available now on NPM and can be installed by running npm i -g code-push-cli@latest
.
New Features:
- Promoting specific versions. The
code-push
promote command will now accept a--label
/-l
parameter to promote a specific label from one deployment to the other, as opposed to the latest version. This was a highly requested feature! - Saving bundles and sourcemaps. Add a
--outputDir
/-o
parameter to therelease-react
command to write the bundle and sourcemap to a specified directory. This should help make debugging easier, as well as allowing integration with crash reporting solutions. - Customizing the node environment. Allow arguments to node to be specified when running the
release-react
command. For example, out-of-memory issues for very large apps can be overcome by running a command likeenv NODE_ARGS="--max-old-space-size=4096" code-push release-react APP_NAME ios
. Thanks @zk!
Bug Fixes:
- Display an error message when running
code-push debug android
while multiple devices are active. - Make the confirmation prompt more severe on
app rm
anddeployment rm
commands, to further prevent accidental deletion. - Improve the robustness of the
release-react
command on Android when parsing gradle files. - Check that the app and deployment exist before building releases, as opposed to after.