Skip to content

chore: bump icp-cli to v1.1.0 and update CLI docs#314

Merged
marc0olo merged 1 commit into
mainfrom
infra/bump-icp-cli-v1.1
Jul 17, 2026
Merged

chore: bump icp-cli to v1.1.0 and update CLI docs#314
marc0olo merged 1 commit into
mainfrom
infra/bump-icp-cli-v1.1

Conversation

@marc0olo

Copy link
Copy Markdown
Member

Summary

Bumps the icp-cli source submodule to v1.1.0 and updates the docs that its changelog affects.

Submodule bump

  • Pin .sources/icp-cli to fe4af7c (v1.1.0); update .sources/VERSIONS.

Content

  • Canister deletion (guides/canister-management/lifecycle.mdx): v1.1.0 returns the canister's remaining cycles to the caller via the cycles ledger (with --no-recover-cycles to burn them instead). Corrects the previous note (fix: clarify consequences of canister delete #303) that said cycles were lost, which referenced the now-resolved icp-cli#431.
  • ICRC-2 allowances (guides/digital-assets/ledgers.mdx): add a cross-reference to the new icp token approve / icp token allowance CLI commands (links to the CLI reference; no flag duplication).

CLI doc-link slug: 0.3/1.01.1

  • v1.1 is now the advertised version (icp-cli#649). Bumped all 22 cli.internetcomputer.org links across 13 files. All target files and anchors verified against the v1.1.0 submodule.

Tooling/guidance fixes

  • AGENTS.md (and CLAUDE.md via symlink): correct the current CLI slug and stop relying on versions.json at the pinned tag (it lags the advertised slug by one follow-up commit); derive the slug from the release major.minor and confirm at the live docs-site root.
  • .agents/submodule-bumping.md: same slug-source fix, plus a portable (GNU/BSD) slug-replacement snippet.

Not affected: connected-network root-key change (no doc shows that config; built-in ic network unchanged) and experimental project dependencies (intentionally undocumented).

- Pin icp-cli submodule to v1.1.0 (fe4af7c) and update .sources/VERSIONS
- Correct canister delete note: cycles are now returned to the caller via
  the cycles ledger as of v1.1.0 (--no-recover-cycles to opt out)
- Bump all cli.internetcomputer.org doc-link slugs 0.3 -> 1.1
- Add CLI cross-reference (icp token approve/allowance) to the ICRC-2 section
- Fix slug-verification guidance: versions.json at a release tag lags the
  advertised slug; derive slug from the release major.minor instead
- Make the slug-replacement snippet portable across GNU/BSD sed
@marc0olo
marc0olo requested a review from a team as a code owner July 16, 2026 10:41
@marc0olo
marc0olo merged commit 585d226 into main Jul 17, 2026
8 checks passed
@marc0olo
marc0olo deleted the infra/bump-icp-cli-v1.1 branch July 17, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

icp canister delete does not recover cycles (behavior differs from dfx)

2 participants