You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Summary
- Pins `.sources/icp-cli` to v0.3.1 (`c4c4618`)
- Updates all CLI doc link slugs from `/0.2/` → `/0.3/` across 12 files
- Updates `@dfinity/asset-canister` recipe from `v2.1.0` → `v2.2.1` in
10 locations (4 files) — required because v0.3 removes the built-in
`assets` sync step that v2.1.0 emitted internally; v2.2.1 replaces it
with a plugin-based sync step
- Fixes an inconsistent `@dfinity/rust@v3.1.0` → `v3.2.0` in
`project-structure.mdx`
## Notable v0.3 changes (from CHANGELOG)
**Breaking:** `type: assets` sync step removed from icp-cli core. Asset
uploading now lives in the `@dfinity/asset-canister` recipe as a sync
plugin. Projects using `@dfinity/asset-canister` below `v2.2.1` will
fail to load their manifest after upgrading. The icp-cli docs site hosts
an [upgrading-from-v0-2
guide](https://cli.internetcomputer.org/0.3/migration/upgrading-from-v0-2)
for any user still on v0.2 projects.
**New features:** `icp identity link web` (Internet Identity sign-in),
project bundling, `{{_.canister.name}}` recipe template variable, sync
plugin system, `--of-principal` for token/cycles balance.
## Verification
- All previously linked CLI doc paths verified present in the new
submodule
- `npm run build` passes cleanly
Copy file name to clipboardExpand all lines: docs/developer-tools/index.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,13 +18,13 @@ Key features:
18
18
-**Environments**: named deployment targets that combine a network, canister set, and settings (e.g., local, staging, production)
19
19
-**Project scaffolding**: `icp new` bootstraps new projects from official templates
20
20
21
-
For installation, see the [Quickstart](../getting-started/quickstart.md) or the [full CLI documentation](https://cli.internetcomputer.org/0.2/).
21
+
For installation, see the [Quickstart](../getting-started/quickstart.md) or the [full CLI documentation](https://cli.internetcomputer.org/0.3/).
22
22
23
-
Advanced: [creating recipes](https://cli.internetcomputer.org/0.2/guides/creating-recipes) and [creating templates](https://cli.internetcomputer.org/0.2/guides/creating-templates) are documented on the CLI docs site.
23
+
Advanced: [creating recipes](https://cli.internetcomputer.org/0.3/guides/creating-recipes) and [creating templates](https://cli.internetcomputer.org/0.3/guides/creating-templates) are documented on the CLI docs site.
24
24
25
25
icp-cli collects anonymous usage telemetry. Opt out with `icp settings telemetry false` or `DO_NOT_TRACK=1`.
26
26
27
-
Coming from dfx? See the [migration guide](https://cli.internetcomputer.org/0.2/migration/from-dfx).
27
+
Coming from dfx? See the [migration guide](https://cli.internetcomputer.org/0.3/migration/from-dfx).
Copy file name to clipboardExpand all lines: docs/getting-started/project-structure.mdx
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,7 @@ Beyond canisters, `icp.yaml` can also define **networks** (where to deploy) and
72
72
| `local` | `local` (managed, localhost:8000) | Local development |
73
73
| `ic` | `ic` (connected, https://icp-api.io) | Mainnet production |
74
74
75
-
You only need to add custom networks or environments when you have staging environments, testnets, or other deployment targets. See the [icp-cli configuration reference](https://cli.internetcomputer.org/0.2/reference/configuration#networks) for the full schema.
75
+
You only need to add custom networks or environments when you have staging environments, testnets, or other deployment targets. See the [icp-cli configuration reference](https://cli.internetcomputer.org/0.3/reference/configuration#networks) for the full schema.
76
76
77
77
## Canister configuration (canister.yaml)
78
78
@@ -99,7 +99,7 @@ The Rust backend uses the `@dfinity/rust` recipe:
99
99
```yaml
100
100
name: backend
101
101
recipe:
102
-
type: "@dfinity/rust@v3.1.0"
102
+
type: "@dfinity/rust@v3.2.0"
103
103
configuration:
104
104
package: backend
105
105
shrink: true
@@ -115,7 +115,7 @@ The frontend uses the `@dfinity/asset-canister` recipe, which builds the fronten
115
115
```yaml
116
116
name: frontend
117
117
recipe:
118
-
type: "@dfinity/asset-canister@v2.1.0"
118
+
type: "@dfinity/asset-canister@v2.2.1"
119
119
configuration:
120
120
build:
121
121
- npm install
@@ -147,7 +147,7 @@ icp project show
147
147
148
148
This outputs the effective configuration, including all expanded recipe steps and implicit defaults.
149
149
150
-
Recipes are Handlebars templates hosted at [dfinity/icp-cli-recipes](https://github.com/dfinity/icp-cli-recipes). You can also create local or remote recipes for custom build patterns. See the [icp-cli recipes documentation](https://cli.internetcomputer.org/0.2/guides/creating-recipes) for details.
150
+
Recipes are Handlebars templates hosted at [dfinity/icp-cli-recipes](https://github.com/dfinity/icp-cli-recipes). You can also create local or remote recipes for custom build patterns. See the [icp-cli recipes documentation](https://cli.internetcomputer.org/0.3/guides/creating-recipes) for details.
151
151
152
152
## The .icp/ directory
153
153
@@ -246,6 +246,6 @@ For a deep dive on binding generation, see [Binding generation](../guides/canist
246
246
- [Binding generation](../guides/canister-calls/candid.md#binding-generation): deep dive on generating type-safe client code
247
247
- [Asset canister](../guides/frontends/asset-canister.md): how the frontend recipe and asset upload work
248
248
- [Canister lifecycle](../guides/canister-management/lifecycle.md): build, deploy, upgrade, and manage canisters
249
-
- [icp-cli reference](https://cli.internetcomputer.org/0.2/reference/cli): full CLI and configuration documentation
249
+
- [icp-cli reference](https://cli.internetcomputer.org/0.3/reference/cli): full CLI and configuration documentation
250
250
251
251
{/* Upstream: informed by dfinity/icp-cli docs/concepts/project-model.md, docs/concepts/recipes.md, docs/concepts/binding-generation.md, docs/concepts/canister-discovery.md */}
Copy file name to clipboardExpand all lines: docs/guides/canister-management/cycles-management.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -307,7 +307,7 @@ icp deploy -e staging
307
307
icp deploy -e production
308
308
```
309
309
310
-
Each environment maintains separate canister IDs. Mainnet IDs are stored in `.icp/data/mappings/<environment>.ids.json` and should be committed to version control. See [Managing environments](https://cli.internetcomputer.org/0.2/guides/managing-environments) for full configuration options.
310
+
Each environment maintains separate canister IDs. Mainnet IDs are stored in `.icp/data/mappings/<environment>.ids.json` and should be committed to version control. See [Managing environments](https://cli.internetcomputer.org/0.3/guides/managing-environments) for full configuration options.
-[Cycles ledger reference](../../references/system-canisters.md#cycles-ledger): Canister IDs and interface specification
376
376
-[Calls with attached cycles](../canister-calls/inter-canister-calls.md#calls-with-attached-cycles): attach cycles to an inter-canister call and accept them in the callee
377
377
-[Reproducible builds](reproducible-builds.md): Verify your WASM is trustworthy before deploying
378
-
-[icp-cli docs](https://cli.internetcomputer.org/0.2/reference/cli#icp-cycles): Full command reference for `icp cycles` and `icp canister top-up`
378
+
-[icp-cli docs](https://cli.internetcomputer.org/0.3/reference/cli#icp-cycles): Full command reference for `icp cycles` and `icp canister top-up`
Additional flags: `--reserved-cycles-limit`, `--wasm-memory-threshold`, `--log-memory-limit`, `--add-environment-variable`. Run `icp canister settings update --help` for the full list.
334
334
335
-
For the full list of CLI flags, see the [icp-cli reference](https://cli.internetcomputer.org/0.2/reference/cli#icp-canister-settings-update).
335
+
For the full list of CLI flags, see the [icp-cli reference](https://cli.internetcomputer.org/0.3/reference/cli#icp-canister-settings-update).
Copy file name to clipboardExpand all lines: docs/guides/canister-management/snapshots.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -181,6 +181,6 @@ icp canister status my-canister -e ic
181
181
-[Canister lifecycle](lifecycle.md): Understand how snapshots fit into the upgrade workflow
182
182
-[Canister migration](canister-migration.md): Complete guide for moving a canister to a different subnet using the snapshot transfer workflow
183
183
-[Canister upgrades security](../security/canister-upgrades.md): Security considerations when using snapshot-based rollbacks
184
-
-[icp-cli canister snapshot reference](https://cli.internetcomputer.org/0.2/guides/canister-snapshots): Full command reference for all snapshot subcommands
184
+
-[icp-cli canister snapshot reference](https://cli.internetcomputer.org/0.3/guides/canister-snapshots): Full command reference for all snapshot subcommands
185
185
186
186
<!-- Upstream: informed by dfinity/icp-cli docs/guides/canister-snapshots.md; dfinity/portal docs/building-apps/canister-management/snapshots.mdx -->
0 commit comments