Commit 9a17294
authored
chore: bump source submodules and update docs for icp-cli v1.0.0 (#297)
## Summary
Bumps pinned source submodules and updates docs to match. Driven by the
icp-cli v1.0.0 release.
### Submodule bumps
- `icp-cli` v0.3.1 → **v1.0.0** (`.sources/VERSIONS` updated)
- `icp-cli-recipes`, `icp-cli-templates`, `icskills` → latest `main`
- `icp-js-sdk-docs` already at tip
### icp-cli v1.0.0
- `--set-controller` was removed; `settings.mdx` now uses
`--remove-all-controllers` combined with `--add-controller`.
### Motoko recipe v5.0.0
The recipe now compiles via `mops build`, so the source file, Candid
file, and compiler args move from the recipe `configuration:` block into
`mops.toml`. Updated in `project-structure.mdx`, `candid.mdx`,
`optimization.md`, and `ethereum.mdx`. The GC-options example now shows
a real legacy-persistence alternative (`--legacy-persistence` +
`--compacting-gc`) rather than the now-default `--incremental-gc`.
### Latest recipes
- Rust recipe pins → **v3.3.0**; redundant `package` dropped where it
equals the canister name (v3.3.0 defaults it), with an explanatory note
kept in the getting-started page.
- asset-canister `v2.2.1` and prebuilt `v2.0.0` already current.
### Mainnet domain → `icp.net` / `id.ai`
The icp-cli mainnet **HTTP gateway** domain is now `icp.net` (was
`icp0.io`). Browser/canister-access URLs, `raw.*` domains, the
`custom-domains/v1/` API, live canister links, and the NNS app
(`nns.ic0.app` → `nns.icp.net`) were updated across the docs (all
verified resolving). The Internet Identity service link now points to
its canonical `https://id.ai`.
Deliberately left unchanged (these are not the gateway):
- JS `HttpAgent` / agent API hosts — the **API** endpoint is
`icp-api.io`/`icp0.io`, separate from the gateway.
- The Internet Identity `icp0.io` ↔ `ic0.app` delegation-rewriting
behavior.
- The verifiable-credentials `iss` (issuer) claim — a protocol
identifier that must match what II signs (already flagged for human
verification).
Reconciling the icskills to `icp.net` is tracked in
dfinity/icskills#224.
### Other
- Fixed a pre-existing broken link in `edge-infrastructure.md`
(`http-gateway-spec.md` → `http-gateway-protocol-spec.md`) surfaced by
validation, plus minor lint cleanup (em-dash, `mo:base` reference) in
files touched here.
## Notes
- `npm run build` and `scripts/validate.js` both pass (209 pages).
- Changes were reviewed by a subagent against `.sources/` with no
must-fix findings.
- 1 parent d6bab56 commit 9a17294
32 files changed
Lines changed: 114 additions & 104 deletions
File tree
- .sources
- docs
- concepts
- getting-started
- guides
- authentication
- canister-calls
- canister-management
- chain-fusion
- frontends
- governance
- security
- references
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
- .github/scripts/init-docker.sh+7
- .github/workflows/checks.yml+31-1
- .github/workflows/test.yml+84-9
- .github/workflows/validate-examples.yml+6
- CHANGELOG.md+10
- Cargo.lock+24-24
- Cargo.toml+1-1
- crates/icp-cli/src/commands/canister/call.rs+29-1
- crates/icp-cli/src/commands/canister/create.rs+1-1
- crates/icp-cli/src/commands/canister/install.rs+64-2
- crates/icp-cli/src/commands/canister/settings/update.rs+16-15
- crates/icp-cli/src/commands/identity/account_id.rs+3-1
- crates/icp-cli/src/commands/identity/delegation/sign.rs+1-1
- crates/icp-cli/src/commands/identity/link/web.rs+12-11
- crates/icp-cli/src/commands/identity/principal.rs+3-1
- crates/icp-cli/src/commands/identity/reauth.rs+118-50
- crates/icp-cli/src/commands/network/ping.rs+41-22
- crates/icp-cli/src/commands/settings.rs+85
- crates/icp-cli/src/main.rs+21-4
- crates/icp-cli/src/operations/install.rs+41-7
- crates/icp-cli/tests/canister_call_tests.rs+114
- crates/icp-cli/tests/canister_install_tests.rs+336
- crates/icp-cli/tests/canister_settings_tests.rs+5-3
- crates/icp-cli/tests/identity_tests.rs+190
- crates/icp-cli/tests/network_ping_tests.rs+71
- crates/icp/src/context/init.rs+6-1
- crates/icp/src/context/mod.rs+13-4
- crates/icp/src/context/tests.rs+4-4
- crates/icp/src/identity/key.rs+425-29
- crates/icp/src/identity/mod.rs+57-19
- crates/icp/src/lib.rs+2-2
- crates/icp/src/prelude.rs+1-1
- crates/icp/src/settings.rs+12
- docs/concepts/environments.md+1-1
- docs/reference/cli.md+51-11
- examples/icp-network-connected/networks/staging.yaml+1-1
- examples/icp-network-inline/icp.yaml+1-1
- network-launcher-version+1-1
- rust-toolchain.toml+1-1
Submodule icp-cli-templates updated 52 files
- .github/workflows/test-templates.yml+16
- Makefile+19
- README.md+1-1
- bitcoin-starter/motoko-backend/canister.yaml+1-4
- bitcoin-starter/motoko-backend/mops.toml+5-1
- hello-world/README.md+1-1
- hello-world/cargo-generate.toml+8-2
- hello-world/frontend/app/tsconfig.node.json-4
- hello-world/frontend/app/vite.config.ts-34
- hello-world/frontend/package.json-9
- hello-world/motoko-backend/canister.yaml+1-5
- hello-world/motoko-backend/mops.toml+5-1
- hello-world/react-frontend/.gitignore
- hello-world/react-frontend/.node-version
- hello-world/react-frontend/canister.yaml+3-6
- hello-world/react-frontend/eslint.config.js
- hello-world/react-frontend/index.html+2-2
- hello-world/react-frontend/package.json+3-3
- hello-world/react-frontend/public/icp.svg
- hello-world/react-frontend/public/react.svg+8
- hello-world/react-frontend/public/vite.svg
- hello-world/react-frontend/src/App.css+5
- hello-world/react-frontend/src/App.tsx+9-5
- hello-world/react-frontend/src/index.css
- hello-world/react-frontend/src/main.tsx
- hello-world/react-frontend/src/vite-env.d.ts
- hello-world/react-frontend/tsconfig.app.json
- hello-world/react-frontend/tsconfig.json
- hello-world/react-frontend/tsconfig.node.json+2-1
- hello-world/react-frontend/vite.config.ts+69
- hello-world/rename-dirs.rhai+12
- hello-world/vue-frontend/.gitignore+24
- hello-world/vue-frontend/canister.yaml+15
- hello-world/vue-frontend/index.html+16
- hello-world/vue-frontend/package.json+22
- hello-world/vue-frontend/public/icp.svg+100
- hello-world/vue-frontend/public/vite.svg+1
- hello-world/vue-frontend/public/vue.svg+2
- hello-world/vue-frontend/src/App.scss+120
- hello-world/vue-frontend/src/App.vue+74
- hello-world/vue-frontend/src/index.css+103
- hello-world/vue-frontend/src/main.js+7
- hello-world/vue-frontend/src/vite-env.d.ts+1
- hello-world/vue-frontend/tsconfig.json+22
- hello-world/vue-frontend/vite.config.ts+69
- motoko/icp.yaml+1-5
- motoko/mops.toml+4-1
- static-website/icp.yaml+2-1
- tests/README.md+69
- tests/lib.sh+180
- tests/matrix.yaml+51
- tests/run.sh+78
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
94 | 101 | | |
95 | 102 | | |
96 | 103 | | |
| |||
99 | 106 | | |
100 | 107 | | |
101 | 108 | | |
102 | | - | |
| 109 | + | |
103 | 110 | | |
104 | | - | |
105 | 111 | | |
106 | 112 | | |
107 | 113 | | |
| 114 | + | |
| 115 | + | |
108 | 116 | | |
109 | 117 | | |
110 | 118 | | |
| |||
0 commit comments