Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

v1.6.0-beta

Compare
Choose a tag to compare
@lostintangent lostintangent released this 22 Mar 00:06
· 400 commits to master since this release

This release primarily introduces client-side support for the new rollout release feature in the CLI, as well as some key bug fixes. It is now available on NPM and can be updated immediately by running cordova plugin add cordova-plugin-code-push@latest.

New Features

  1. Added client-side support for the new release rollout feature in the CLI This version of the Cordova SDK is required in order to begin taking advantage of this new capability, so make sure to upgrade your apps before attempting to release updates with a rollout percentage. More details

    code-push release-cordova MyApp ios --rollout 25%
  2. Better diagnostic logging when calling checkForUpdate and sync, so that it's easier to understand what the CodePush runtime is doing and whether any errors were encountered. When in doubt, always check the Safari and/or Chrome dev tools console for info!

Bug Fixes

  1. The sync method can no longer be called multiple times concurrently. When sync is called while a previous call is outstanding, the second one will complete by firing an IN_PROGRESS status to the syncStatusCallback (if provided). Being able to call sync concurrently could have led to some subtle bugs, so this change simply ensures that your app can't get into an odd state if you accidentally call sync multiple times.
  2. We updated some of our d.ts files to accommodate Cordova devs using TypeScript with CodePush