From 027cb39d51401083bfd469b8f0e5e5b2b341032a Mon Sep 17 00:00:00 2001 From: Adam Spofford Date: Tue, 3 Feb 2026 10:02:15 -0800 Subject: [PATCH 1/2] Release v0.1.0 --- CHANGELOG.md | 2 ++ Cargo.lock | 8 ++++---- Cargo.toml | 2 +- docs/guides/installation.md | 12 ++++++------ examples/icp-canister-environment-variables/icp.yaml | 2 +- examples/icp-canister-settings/icp.yaml | 2 +- examples/icp-empty/icp.yaml | 2 +- examples/icp-environments/icp.yaml | 2 +- .../backend/canister.yaml | 2 +- .../frontend/canister.yaml | 2 +- examples/icp-frontend-environment-variables/icp.yaml | 2 +- examples/icp-motoko-mops/icp.yaml | 2 +- examples/icp-motoko-recipe/icp.yaml | 2 +- examples/icp-motoko/icp.yaml | 2 +- examples/icp-network-connected/icp.yaml | 2 +- examples/icp-network-connected/networks/staging.yaml | 2 +- examples/icp-network-inline/icp.yaml | 2 +- examples/icp-pre-built/icp.yaml | 2 +- examples/icp-progress-bar-test-bed/icp.yaml | 2 +- examples/icp-project-multi-canister-inline/icp.yaml | 2 +- .../canisters/canister-1/canister.yaml | 2 +- .../canisters/canister-2/canister.yaml | 2 +- examples/icp-project-multi-canister/icp.yaml | 2 +- examples/icp-project-single-canister/icp.yaml | 2 +- examples/icp-proxy-canister/icp.yaml | 2 +- examples/icp-recipe-local-file/icp.yaml | 2 +- examples/icp-recipe-registry-official/icp.yaml | 2 +- examples/icp-recipe-remote-url-official/icp.yaml | 2 +- examples/icp-recipe-remote-url/icp.yaml | 2 +- examples/icp-rust-recipe/icp.yaml | 2 +- examples/icp-rust/icp.yaml | 2 +- examples/icp-static-assets-recipe/icp.yaml | 2 +- examples/icp-static-assets/icp.yaml | 2 +- examples/icp-static-react-site/icp.yaml | 2 +- examples/icp-sync/icp.yaml | 2 +- examples/icp-wasm-metadata-recipe/icp.yaml | 2 +- examples/icp-wasm-metadata/icp.yaml | 2 +- examples/icp-wasm-optimization-recipe/icp.yaml | 2 +- examples/icp-wasm-optimization/icp.yaml | 2 +- npm/icp-cli-darwin-arm64/bin/README.md | 4 ++-- npm/icp-cli-darwin-arm64/package.json | 2 +- npm/icp-cli-darwin-x64/bin/README.md | 4 ++-- npm/icp-cli-darwin-x64/package.json | 2 +- npm/icp-cli-linux-arm64/bin/README.md | 4 ++-- npm/icp-cli-linux-arm64/package.json | 2 +- npm/icp-cli-linux-x64/bin/README.md | 4 ++-- npm/icp-cli-linux-x64/package.json | 2 +- npm/icp-cli-win32-x64/bin/README.md | 4 ++-- npm/icp-cli-win32-x64/package.json | 2 +- npm/icp-cli/package.json | 12 ++++++------ npm/scripts/verify-binaries.sh | 2 +- 51 files changed, 70 insertions(+), 68 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b96c00d5..b2737a1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Unreleased +# v0.1.0 + * feat: `icp canister snapshot` - create, delete, restore, list, download, and upload canister snapshots * feat: `icp canister call` now supports `--proxy` flag to route calls through a proxy canister * Use `--proxy ` to forward the call through a proxy canister's `proxy` method diff --git a/Cargo.lock b/Cargo.lock index e287b198..0acf4f52 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3126,7 +3126,7 @@ dependencies = [ [[package]] name = "icp" -version = "0.1.0-beta.6" +version = "0.1.0" dependencies = [ "async-dropper", "async-trait", @@ -3194,7 +3194,7 @@ dependencies = [ [[package]] name = "icp-canister-interfaces" -version = "0.1.0-beta.6" +version = "0.1.0" dependencies = [ "bigdecimal", "candid", @@ -3203,7 +3203,7 @@ dependencies = [ [[package]] name = "icp-cli" -version = "0.1.0-beta.6" +version = "0.1.0" dependencies = [ "anstyle", "anyhow", @@ -5507,7 +5507,7 @@ dependencies = [ [[package]] name = "schema-gen" -version = "0.1.0-beta.6" +version = "0.1.0" dependencies = [ "icp", "schemars 1.2.0", diff --git a/Cargo.toml b/Cargo.toml index b6e95a5e..081f51ea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ resolver = "3" [workspace.package] authors = ["DFINITY Stiftung "] edition = "2024" -version = "0.1.0-beta.6" +version = "0.1.0" repository = "https://github.com/dfinity/icp-cli" rust-version = "1.88.0" license = "Apache-2.0" diff --git a/docs/guides/installation.md b/docs/guides/installation.md index 9692a996..e0048194 100644 --- a/docs/guides/installation.md +++ b/docs/guides/installation.md @@ -4,11 +4,11 @@ Set up everything you need to build and deploy canisters on the Internet Compute **What you'll install:** -| Tool | Purpose | -|------|---------| -| **icp-cli** | Core CLI for building and deploying canisters | -| **ic-wasm** | Optimizes WebAssembly for the Internet Computer | -| **Language toolchain** | Motoko compiler (via mops) or Rust compiler | +| Tool | Purpose | +|------------------------|-------------------------------------------------| +| **icp-cli** | Core CLI for building and deploying canisters | +| **ic-wasm** | Optimizes WebAssembly for the Internet Computer | +| **Language toolchain** | Motoko compiler (via mops) or Rust compiler | > **Windows users:** Local networks require [Docker Desktop](https://docs.docker.com/desktop/setup/install/windows-install/), and Motoko requires [WSL](https://learn.microsoft.com/en-us/windows/wsl/install). For the full experience, install both and run commands inside WSL. Rust-only projects deploying to mainnet can run natively on Windows. @@ -76,7 +76,7 @@ powershell -ExecutionPolicy Bypass -c "irm https://github.com/dfinity/icp-cli/re Restart your terminal after installation. -**Homebrew (macOS only):** +**Homebrew (macOS/Linux only):** ```bash brew install dfinity/tap/icp-cli diff --git a/examples/icp-canister-environment-variables/icp.yaml b/examples/icp-canister-environment-variables/icp.yaml index 60d73652..da3585da 100644 --- a/examples/icp-canister-environment-variables/icp.yaml +++ b/examples/icp-canister-environment-variables/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-canister-settings/icp.yaml b/examples/icp-canister-settings/icp.yaml index eaff4227..ba630fb2 100644 --- a/examples/icp-canister-settings/icp.yaml +++ b/examples/icp-canister-settings/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-empty/icp.yaml b/examples/icp-empty/icp.yaml index b66b9000..5a1746de 100644 --- a/examples/icp-empty/icp.yaml +++ b/examples/icp-empty/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - canisters/* diff --git a/examples/icp-environments/icp.yaml b/examples/icp-environments/icp.yaml index 3e0f29b6..61501828 100644 --- a/examples/icp-environments/icp.yaml +++ b/examples/icp-environments/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-frontend-environment-variables/backend/canister.yaml b/examples/icp-frontend-environment-variables/backend/canister.yaml index ab9dc660..e688adc4 100644 --- a/examples/icp-frontend-environment-variables/backend/canister.yaml +++ b/examples/icp-frontend-environment-variables/backend/canister.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/canister-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/canister-yaml-schema.json name: backend diff --git a/examples/icp-frontend-environment-variables/frontend/canister.yaml b/examples/icp-frontend-environment-variables/frontend/canister.yaml index fc6e29c5..1eb2bcea 100644 --- a/examples/icp-frontend-environment-variables/frontend/canister.yaml +++ b/examples/icp-frontend-environment-variables/frontend/canister.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/canister-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/canister-yaml-schema.json name: frontend diff --git a/examples/icp-frontend-environment-variables/icp.yaml b/examples/icp-frontend-environment-variables/icp.yaml index cdb0d2f1..1fbaef6e 100644 --- a/examples/icp-frontend-environment-variables/icp.yaml +++ b/examples/icp-frontend-environment-variables/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - backend diff --git a/examples/icp-motoko-mops/icp.yaml b/examples/icp-motoko-mops/icp.yaml index 0a055711..4874d281 100644 --- a/examples/icp-motoko-mops/icp.yaml +++ b/examples/icp-motoko-mops/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-motoko-recipe/icp.yaml b/examples/icp-motoko-recipe/icp.yaml index 8d2a149d..42fff230 100644 --- a/examples/icp-motoko-recipe/icp.yaml +++ b/examples/icp-motoko-recipe/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-motoko/icp.yaml b/examples/icp-motoko/icp.yaml index 2da14127..997b586c 100644 --- a/examples/icp-motoko/icp.yaml +++ b/examples/icp-motoko/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-network-connected/icp.yaml b/examples/icp-network-connected/icp.yaml index 903bcf31..1759a028 100644 --- a/examples/icp-network-connected/icp.yaml +++ b/examples/icp-network-connected/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-network-connected/networks/staging.yaml b/examples/icp-network-connected/networks/staging.yaml index 269f2ad9..02dc188e 100644 --- a/examples/icp-network-connected/networks/staging.yaml +++ b/examples/icp-network-connected/networks/staging.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/network-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/network-yaml-schema.json # This "staging" network is an alias for mainnet # "icp deploy --network staging" would deploy a second set of canisters to mainnet diff --git a/examples/icp-network-inline/icp.yaml b/examples/icp-network-inline/icp.yaml index 83aa2cab..e016d0cf 100644 --- a/examples/icp-network-inline/icp.yaml +++ b/examples/icp-network-inline/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-pre-built/icp.yaml b/examples/icp-pre-built/icp.yaml index bba2e406..b354e148 100644 --- a/examples/icp-pre-built/icp.yaml +++ b/examples/icp-pre-built/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-progress-bar-test-bed/icp.yaml b/examples/icp-progress-bar-test-bed/icp.yaml index 5291c606..65374a2e 100644 --- a/examples/icp-progress-bar-test-bed/icp.yaml +++ b/examples/icp-progress-bar-test-bed/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - name: canister-1 diff --git a/examples/icp-project-multi-canister-inline/icp.yaml b/examples/icp-project-multi-canister-inline/icp.yaml index 51804ae6..5158e3a1 100644 --- a/examples/icp-project-multi-canister-inline/icp.yaml +++ b/examples/icp-project-multi-canister-inline/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - name: canister-1 diff --git a/examples/icp-project-multi-canister/canisters/canister-1/canister.yaml b/examples/icp-project-multi-canister/canisters/canister-1/canister.yaml index a26e0a28..39b4f6d8 100644 --- a/examples/icp-project-multi-canister/canisters/canister-1/canister.yaml +++ b/examples/icp-project-multi-canister/canisters/canister-1/canister.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/canister-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/canister-yaml-schema.json name: canister-1 diff --git a/examples/icp-project-multi-canister/canisters/canister-2/canister.yaml b/examples/icp-project-multi-canister/canisters/canister-2/canister.yaml index 42b69a03..c0bd7abc 100644 --- a/examples/icp-project-multi-canister/canisters/canister-2/canister.yaml +++ b/examples/icp-project-multi-canister/canisters/canister-2/canister.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/canister-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/canister-yaml-schema.json name: canister-2 diff --git a/examples/icp-project-multi-canister/icp.yaml b/examples/icp-project-multi-canister/icp.yaml index b66b9000..5a1746de 100644 --- a/examples/icp-project-multi-canister/icp.yaml +++ b/examples/icp-project-multi-canister/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - canisters/* diff --git a/examples/icp-project-single-canister/icp.yaml b/examples/icp-project-single-canister/icp.yaml index fb036c11..e0a7ae3b 100644 --- a/examples/icp-project-single-canister/icp.yaml +++ b/examples/icp-project-single-canister/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-proxy-canister/icp.yaml b/examples/icp-proxy-canister/icp.yaml index 2a2484de..fedd55f8 100644 --- a/examples/icp-proxy-canister/icp.yaml +++ b/examples/icp-proxy-canister/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json # # This example demonstrates using a proxy canister to forward calls to other canisters. # diff --git a/examples/icp-recipe-local-file/icp.yaml b/examples/icp-recipe-local-file/icp.yaml index 4f11373f..62172256 100644 --- a/examples/icp-recipe-local-file/icp.yaml +++ b/examples/icp-recipe-local-file/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-recipe-registry-official/icp.yaml b/examples/icp-recipe-registry-official/icp.yaml index 56dc2b4c..0504b8ba 100644 --- a/examples/icp-recipe-registry-official/icp.yaml +++ b/examples/icp-recipe-registry-official/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-recipe-remote-url-official/icp.yaml b/examples/icp-recipe-remote-url-official/icp.yaml index aea56958..82c398f7 100644 --- a/examples/icp-recipe-remote-url-official/icp.yaml +++ b/examples/icp-recipe-remote-url-official/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-recipe-remote-url/icp.yaml b/examples/icp-recipe-remote-url/icp.yaml index 66e6c7e0..5ad020f0 100644 --- a/examples/icp-recipe-remote-url/icp.yaml +++ b/examples/icp-recipe-remote-url/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-rust-recipe/icp.yaml b/examples/icp-rust-recipe/icp.yaml index c232b061..32b44b36 100644 --- a/examples/icp-rust-recipe/icp.yaml +++ b/examples/icp-rust-recipe/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-rust/icp.yaml b/examples/icp-rust/icp.yaml index 075d00de..46073627 100644 --- a/examples/icp-rust/icp.yaml +++ b/examples/icp-rust/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-static-assets-recipe/icp.yaml b/examples/icp-static-assets-recipe/icp.yaml index 51a328a5..efdb27a9 100644 --- a/examples/icp-static-assets-recipe/icp.yaml +++ b/examples/icp-static-assets-recipe/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-static-assets/icp.yaml b/examples/icp-static-assets/icp.yaml index eee1043b..9778c8ed 100644 --- a/examples/icp-static-assets/icp.yaml +++ b/examples/icp-static-assets/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-static-react-site/icp.yaml b/examples/icp-static-react-site/icp.yaml index 7d3629fa..bd3fb280 100644 --- a/examples/icp-static-react-site/icp.yaml +++ b/examples/icp-static-react-site/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-sync/icp.yaml b/examples/icp-sync/icp.yaml index 225f47d8..57f50cf3 100644 --- a/examples/icp-sync/icp.yaml +++ b/examples/icp-sync/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-wasm-metadata-recipe/icp.yaml b/examples/icp-wasm-metadata-recipe/icp.yaml index 44d1bd17..f9fa12dd 100644 --- a/examples/icp-wasm-metadata-recipe/icp.yaml +++ b/examples/icp-wasm-metadata-recipe/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-wasm-metadata/icp.yaml b/examples/icp-wasm-metadata/icp.yaml index 4c01564a..8d040850 100644 --- a/examples/icp-wasm-metadata/icp.yaml +++ b/examples/icp-wasm-metadata/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-wasm-optimization-recipe/icp.yaml b/examples/icp-wasm-optimization-recipe/icp.yaml index 95a8a4f5..2f6e0873 100644 --- a/examples/icp-wasm-optimization-recipe/icp.yaml +++ b/examples/icp-wasm-optimization-recipe/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-wasm-optimization/icp.yaml b/examples/icp-wasm-optimization/icp.yaml index b33d2f42..0748275e 100644 --- a/examples/icp-wasm-optimization/icp.yaml +++ b/examples/icp-wasm-optimization/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.2/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/npm/icp-cli-darwin-arm64/bin/README.md b/npm/icp-cli-darwin-arm64/bin/README.md index 27bae37d..2505aad4 100644 --- a/npm/icp-cli-darwin-arm64/bin/README.md +++ b/npm/icp-cli-darwin-arm64/bin/README.md @@ -8,13 +8,13 @@ Run from the npm directory: ```bash cd npm -./scripts/download-binaries.sh 0.1.0-beta.4 +./scripts/download-binaries.sh 0.1.0 ``` Or manually download: ```bash -VERSION="0.1.0-beta.4" +VERSION="0.1.0" curl -L "https://github.com/dfinity/icp-cli/releases/download/v${VERSION}/icp-aarch64-apple-darwin.tar.gz" -o darwin-arm64.tar.gz tar -xzf darwin-arm64.tar.gz -C icp-cli-darwin-arm64/bin/ chmod +x icp-cli-darwin-arm64/bin/icp diff --git a/npm/icp-cli-darwin-arm64/package.json b/npm/icp-cli-darwin-arm64/package.json index 7a31fe5b..5a1ce0b6 100644 --- a/npm/icp-cli-darwin-arm64/package.json +++ b/npm/icp-cli-darwin-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@icp-sdk/icp-cli-darwin-arm64", - "version": "0.1.0-beta.4", + "version": "0.1.0", "description": "icp-cli binary for macOS ARM64 (Apple Silicon)", "repository": { "type": "git", diff --git a/npm/icp-cli-darwin-x64/bin/README.md b/npm/icp-cli-darwin-x64/bin/README.md index 39960617..e98b011b 100644 --- a/npm/icp-cli-darwin-x64/bin/README.md +++ b/npm/icp-cli-darwin-x64/bin/README.md @@ -8,13 +8,13 @@ Run from the npm directory: ```bash cd npm -./scripts/download-binaries.sh 0.1.0-beta.4 +./scripts/download-binaries.sh 0.1.0 ``` Or manually download: ```bash -VERSION="0.1.0-beta.4" +VERSION="0.1.0" curl -L "https://github.com/dfinity/icp-cli/releases/download/v${VERSION}/icp-x86_64-apple-darwin.tar.gz" -o darwin-x64.tar.gz tar -xzf darwin-x64.tar.gz -C icp-cli-darwin-x64/bin/ chmod +x icp-cli-darwin-x64/bin/icp diff --git a/npm/icp-cli-darwin-x64/package.json b/npm/icp-cli-darwin-x64/package.json index 03f6e1f5..653e5f64 100644 --- a/npm/icp-cli-darwin-x64/package.json +++ b/npm/icp-cli-darwin-x64/package.json @@ -1,6 +1,6 @@ { "name": "@icp-sdk/icp-cli-darwin-x64", - "version": "0.1.0-beta.4", + "version": "0.1.0", "description": "icp-cli binary for macOS x64 (Intel)", "repository": { "type": "git", diff --git a/npm/icp-cli-linux-arm64/bin/README.md b/npm/icp-cli-linux-arm64/bin/README.md index b0d6727a..0ffe90a0 100644 --- a/npm/icp-cli-linux-arm64/bin/README.md +++ b/npm/icp-cli-linux-arm64/bin/README.md @@ -8,13 +8,13 @@ Run from the npm directory: ```bash cd npm -./scripts/download-binaries.sh 0.1.0-beta.4 +./scripts/download-binaries.sh 0.1.0 ``` Or manually download: ```bash -VERSION="0.1.0-beta.4" +VERSION="0.1.0" curl -L "https://github.com/dfinity/icp-cli/releases/download/v${VERSION}/icp-aarch64-unknown-linux-gnu.tar.gz" -o linux-arm64.tar.gz tar -xzf linux-arm64.tar.gz -C icp-cli-linux-arm64/bin/ chmod +x icp-cli-linux-arm64/bin/icp diff --git a/npm/icp-cli-linux-arm64/package.json b/npm/icp-cli-linux-arm64/package.json index 67ade7d4..3091f129 100644 --- a/npm/icp-cli-linux-arm64/package.json +++ b/npm/icp-cli-linux-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@icp-sdk/icp-cli-linux-arm64", - "version": "0.1.0-beta.4", + "version": "0.1.0", "description": "icp-cli binary for Linux ARM64", "repository": { "type": "git", diff --git a/npm/icp-cli-linux-x64/bin/README.md b/npm/icp-cli-linux-x64/bin/README.md index 9cf41905..47d0f840 100644 --- a/npm/icp-cli-linux-x64/bin/README.md +++ b/npm/icp-cli-linux-x64/bin/README.md @@ -8,13 +8,13 @@ Run from the npm directory: ```bash cd npm -./scripts/download-binaries.sh 0.1.0-beta.4 +./scripts/download-binaries.sh 0.1.0 ``` Or manually download: ```bash -VERSION="0.1.0-beta.4" +VERSION="0.1.0" curl -L "https://github.com/dfinity/icp-cli/releases/download/v${VERSION}/icp-x86_64-unknown-linux-gnu.tar.gz" -o linux-x64.tar.gz tar -xzf linux-x64.tar.gz -C icp-cli-linux-x64/bin/ chmod +x icp-cli-linux-x64/bin/icp diff --git a/npm/icp-cli-linux-x64/package.json b/npm/icp-cli-linux-x64/package.json index 285dc28e..dfd427e6 100644 --- a/npm/icp-cli-linux-x64/package.json +++ b/npm/icp-cli-linux-x64/package.json @@ -1,6 +1,6 @@ { "name": "@icp-sdk/icp-cli-linux-x64", - "version": "0.1.0-beta.4", + "version": "0.1.0", "description": "icp-cli binary for Linux x64", "repository": { "type": "git", diff --git a/npm/icp-cli-win32-x64/bin/README.md b/npm/icp-cli-win32-x64/bin/README.md index 4df88de1..dab656d1 100644 --- a/npm/icp-cli-win32-x64/bin/README.md +++ b/npm/icp-cli-win32-x64/bin/README.md @@ -8,13 +8,13 @@ Run from the npm directory: ```bash cd npm -./scripts/download-binaries.sh 0.1.0-beta.4 +./scripts/download-binaries.sh 0.1.0 ``` Or manually download: ```bash -VERSION="0.1.0-beta.4" +VERSION="0.1.0" curl -L "https://github.com/dfinity/icp-cli/releases/download/v${VERSION}/icp-x86_64-pc-windows-msvc.zip" -o win32-x64.zip unzip -o win32-x64.zip -d icp-cli-win32-x64/bin/ rm win32-x64.zip diff --git a/npm/icp-cli-win32-x64/package.json b/npm/icp-cli-win32-x64/package.json index fbd1ca24..ffb66855 100644 --- a/npm/icp-cli-win32-x64/package.json +++ b/npm/icp-cli-win32-x64/package.json @@ -1,6 +1,6 @@ { "name": "@icp-sdk/icp-cli-win32-x64", - "version": "0.1.0-beta.4", + "version": "0.1.0", "description": "icp-cli binary for Windows x64", "repository": { "type": "git", diff --git a/npm/icp-cli/package.json b/npm/icp-cli/package.json index 69a48253..be5a3e8d 100644 --- a/npm/icp-cli/package.json +++ b/npm/icp-cli/package.json @@ -1,6 +1,6 @@ { "name": "@icp-sdk/icp-cli", - "version": "0.1.0-beta.4", + "version": "0.1.0", "description": "npm wrapper for icp-cli - Internet Computer Protocol command-line interface", "main": "index.js", "bin": { @@ -30,10 +30,10 @@ "node": ">=18.0.0" }, "optionalDependencies": { - "@icp-sdk/icp-cli-darwin-arm64": "0.1.0-beta.4", - "@icp-sdk/icp-cli-darwin-x64": "0.1.0-beta.4", - "@icp-sdk/icp-cli-linux-arm64": "0.1.0-beta.4", - "@icp-sdk/icp-cli-linux-x64": "0.1.0-beta.4", - "@icp-sdk/icp-cli-win32-x64": "0.1.0-beta.4" + "@icp-sdk/icp-cli-darwin-arm64": "0.1.0", + "@icp-sdk/icp-cli-darwin-x64": "0.1.0", + "@icp-sdk/icp-cli-linux-arm64": "0.1.0", + "@icp-sdk/icp-cli-linux-x64": "0.1.0", + "@icp-sdk/icp-cli-win32-x64": "0.1.0" } } diff --git a/npm/scripts/verify-binaries.sh b/npm/scripts/verify-binaries.sh index ba55368a..6d0fe241 100755 --- a/npm/scripts/verify-binaries.sh +++ b/npm/scripts/verify-binaries.sh @@ -87,6 +87,6 @@ else echo -e "${RED}Missing binaries:${NC} $MISSING/$TOTAL" echo "" echo "Download missing binaries with:" - echo " ./scripts/download-binaries.sh 0.1.0-beta.5" + echo " ./scripts/download-binaries.sh 0.1.0" exit 1 fi From eeda7a71d2861e6c44d31cfa7653c8d1f49d5d31 Mon Sep 17 00:00:00 2001 From: Adam Spofford Date: Tue, 3 Feb 2026 10:04:57 -0800 Subject: [PATCH 2/2] fix audit --- Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0acf4f52..3e7a8889 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -811,9 +811,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.11.0" +version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b35204fbdc0b3f4446b89fc1ac2cf84a8a68971995d0bf2e925ec7cd960f9cb3" +checksum = "1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33" [[package]] name = "cached"