This is a comprehensive list of the breaking changes introduced in the major version releases.
The following bundle commands have been deprecated and will be removed in future versions:
apps:bundles:create- Useapps:liveupdates:uploadorapps:liveupdates:registerinstead.apps:bundles:update- No longer supported.apps:bundles:delete- No longer supported.
The new commands better separate the concerns of uploading and registering live update artifacts.
Attention: The rollout parameter is now expressed as a percentage (0-100) and renamed to rolloutPercentage.
The manifests:generate command has been renamed to apps:liveupdates:generatemanifest to better align with the new command structure.
The --bundle-limit parameter has been removed from the apps:channels:create and apps:channels:update commands as it is no longer necessary. Channels only support a single active build at a time, making this parameter redundant.
The minimum required Node.js version has been updated to 20.0.0. Please ensure that your environment meets this requirement before using the CLI. You can still use the CLI with older Node.js versions, but it is no longer officially supported.
The minimum required npm version has been updated to 10.0.0. Please ensure that your environment meets this requirement before using the CLI. You can still use the CLI with older npm versions, but it is no longer officially supported.
The --json flag in the apps:builds:create command now displays logs alongside JSON output. Previously, specifying --json would suppress all logs and print only JSON. The JSON output is now appended after the logs, which may break scripts that parse the entire output as JSON.
To extract only the JSON output, for example to get the build ID, you can use the following command:
npx @capawesome/cli apps:builds:create [...] --json | sed -n '/^{/,$p' | jq -r '.id'The CLI will now throw an error if you use an unsupported option. This change helps to ensure that users are aware of deprecated or invalid options and encourages the use of supported features.
You should now call the CLI using @capawesome/cli instead of just capawesome.
- npx capawesome --help
+ npx @capawesome/cli --helpThis change ensures that the CLI is properly namespaced and avoids potential conflicts with other packages.
The minimum required Node.js version has been updated to 18.0.0. Please ensure that your environment meets this requirement before using the CLI. You can still use the CLI with older Node.js versions, but it is no longer officially supported.
The minimum required npm version has been updated to 8.0.0. Please ensure that your environment meets this requirement before using the CLI. You can still use the CLI with older npm versions, but it is no longer officially supported.