Skip to content

v1.12.8-beta

Compare
Choose a tag to compare
@richardhuaaa 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:

  1. 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!
  2. Saving bundles and sourcemaps. Add a --outputDir/-o parameter to the release-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.
  3. 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 like env NODE_ARGS="--max-old-space-size=4096" code-push release-react APP_NAME ios. Thanks @zk!

Bug Fixes:

  1. Display an error message when running code-push debug android while multiple devices are active.
  2. Make the confirmation prompt more severe on app rm and deployment rm commands, to further prevent accidental deletion.
  3. Improve the robustness of the release-react command on Android when parsing gradle files.
  4. Check that the app and deployment exist before building releases, as opposed to after.