Release Notes
- feat(sync-plugin): the compute-time limit for
plugin sync steps is now configurable via the ICP_CLI_PLUGIN_COMPUTE_LIMIT_SECS environment variable (default 60). Raise it for compute-heavy plugins (e.g. brotli-compressing a large asset bundle) that legitimately exceed the default, especially on slower CI runners. The limit-exceeded error now names the variable and the current limit, and a malformed value is rejected rather than silently ignored.
- feat:
icp canister link assigns an existing canister principal to a project canister
- feat:
icp canister create --with-icp (not supported in icp deploy) uses the CMC to create canisters. Only needed for deploying to restricted system subnets.
- feat:
icp deploy --no-create will error if any canisters do not exist, rather than creating them.
- fix:
icp deploy now prints the frontend URL for any canister that exposes an http_request endpoint. Previously a canister whose http_request signature differed from a hard-coded shape (e.g. some certified-asset canisters) was misdetected and shown a Candid UI URL instead of its site URL. Deploy URLs are also now grouped by kind (frontends vs. Candid UI) instead of interleaved.
Install icp-cli 1.2.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/dfinity/icp-cli/releases/download/v1.2.0/icp-cli-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/dfinity/icp-cli/releases/download/v1.2.0/icp-cli-installer.ps1 | iex"
Download icp-cli 1.2.0