Releases: deploypulseio/dpctl
Releases · deploypulseio/dpctl
v1.1.1
Changes
Features
Adds dpctl commands to manage auto-rollback configuration per deployment.
dpctl deployment auto-rollback get <appName> <deploymentName>dpctl deployment auto-rollback enable <appName> <deploymentName> [--errorRate] [--minDevices]dpctl deployment auto-rollback disable <appName> <deploymentName>
Connects to the new API endpoints at GET/PUT/DELETE /apps/:appName/deployments/:deploymentName/auto-rollback.
v1.1.0
Changes
Features
- Upgrades code signing from a raw base64 signature to a proper RS256 JWT
embedded asCodePush/.codepushreleaseinside the release zip. This aligns
with what the SDK expects on-device for bundle integrity verification. - Adds
dpctl app set-public-key <appName> <publicKeyPath>command to upload
an RSA public key to an app directly from the CLI. --private-keynow accepts either a file path or inline PEM content, making
it easier to use in CI environments where the key is stored as a secret
environment variable.
Fixes
- Resolves
package.jsonpath for compiledbin/output sodpctl --version
works correctly when installed globally. - Updates
rimrafto v4 promise-based API. - Renames tmp directory from
DeployPulsetodpctl.
Tests & CI
- Adds Mocha test suite with
ts-noderunner covering CLI commands, hash
utilities, and the management SDK. - Adds GitHub Actions test workflow that runs on every push and PR to
main.
Breaking Change
The code signing format has changed from a raw base64 signature to an RS256 JWT.
If you were already using --private-key with the previous release, you will
need to update your app's signature verification logic accordingly.
v1.0.0
This is the initial release of the dpctl CLI tool. This is a fork of the original code-push-standalone CLI released by Microsoft. It's been updated to work seamlessly with DeployPulse.
- Updated dependencies
- Added the ability to authenticate via the DEPLOYPULSE_ACCESS_KEY environment variable to avoid using the
logincommand for CI/CD purposes - Prepare package.json for npm publish