From baae15c16633776eae8135f511932f1646018186 Mon Sep 17 00:00:00 2001 From: Linwei Shang Date: Thu, 15 Jan 2026 10:53:46 -0500 Subject: [PATCH 1/4] chore: Release 0.31.0-beta.0 (#4465) Signed-off-by: Linwei Shang --- Cargo.lock | 2 +- public/manifest.json | 3 ++- src/dfx/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3cdc7d2503..3caba540db 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1619,7 +1619,7 @@ checksum = "abd57806937c9cc163efc8ea3910e00a62e2aeb0b8119f1793a978088f8f6b04" [[package]] name = "dfx" -version = "0.30.1" +version = "0.31.0-beta.0" dependencies = [ "actix", "aes-gcm", diff --git a/public/manifest.json b/public/manifest.json index 50f8cc9641..9304b3552e 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -85,6 +85,7 @@ "0.29.0", "0.29.1", "0.29.2", - "0.30.1" + "0.30.1", + "0.31.0-beta.0" ] } diff --git a/src/dfx/Cargo.toml b/src/dfx/Cargo.toml index 02501c19fa..e0752ac54e 100644 --- a/src/dfx/Cargo.toml +++ b/src/dfx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dfx" -version = "0.30.1" +version = "0.31.0-beta.0" authors.workspace = true edition.workspace = true repository.workspace = true From 441f0eb43f9ab80447f6e32c8683acbeb003794a Mon Sep 17 00:00:00 2001 From: Linwei Shang Date: Thu, 22 Jan 2026 10:56:20 -0500 Subject: [PATCH 2/4] chore: Release 0.31.0-beta.1 (#4467) Signed-off-by: Linwei Shang --- Cargo.lock | 2 +- public/manifest.json | 3 ++- src/dfx/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bff53fcd7d..c1c1590b16 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1619,7 +1619,7 @@ checksum = "abd57806937c9cc163efc8ea3910e00a62e2aeb0b8119f1793a978088f8f6b04" [[package]] name = "dfx" -version = "0.31.0-beta.0" +version = "0.31.0-beta.1" dependencies = [ "actix", "aes-gcm", diff --git a/public/manifest.json b/public/manifest.json index c72f6e1e40..c9d401f97d 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -87,6 +87,7 @@ "0.29.2", "0.30.1", "0.30.2", - "0.31.0-beta.0" + "0.31.0-beta.0", + "0.31.0-beta.1" ] } diff --git a/src/dfx/Cargo.toml b/src/dfx/Cargo.toml index 14e1ed7428..4c59ccc3b7 100644 --- a/src/dfx/Cargo.toml +++ b/src/dfx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dfx" -version = "0.31.0-beta.0" +version = "0.31.0-beta.1" authors.workspace = true edition.workspace = true repository.workspace = true From 17743e4b337550ed9f9439189599fe6d75f9e90d Mon Sep 17 00:00:00 2001 From: Linwei Shang Date: Mon, 2 Mar 2026 17:41:00 -0500 Subject: [PATCH 3/4] chore: Release 0.31.0 (#4485) --- Cargo.lock | 2 +- public/manifest.json | 3 ++- src/dfx/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 11d4b4a9a3..b6756495b6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1619,7 +1619,7 @@ checksum = "abd57806937c9cc163efc8ea3910e00a62e2aeb0b8119f1793a978088f8f6b04" [[package]] name = "dfx" -version = "0.31.0-beta.1" +version = "0.31.0" dependencies = [ "actix", "aes-gcm", diff --git a/public/manifest.json b/public/manifest.json index c9d401f97d..cc5e52dd8a 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -88,6 +88,7 @@ "0.30.1", "0.30.2", "0.31.0-beta.0", - "0.31.0-beta.1" + "0.31.0-beta.1", + "0.31.0" ] } diff --git a/src/dfx/Cargo.toml b/src/dfx/Cargo.toml index 4c59ccc3b7..e5e49e02fa 100644 --- a/src/dfx/Cargo.toml +++ b/src/dfx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dfx" -version = "0.31.0-beta.1" +version = "0.31.0" authors.workspace = true edition.workspace = true repository.workspace = true From e472f561ca507a924211cb68d59f09c1d2f6392e Mon Sep 17 00:00:00 2001 From: Ian Blenke Date: Wed, 4 Mar 2026 13:54:25 -0500 Subject: [PATCH 4/4] fix: correct dfx sns example commands in documentation The examples for `dfx sns validate` and `dfx sns deploy` incorrectly used `dfx sns config create` and `dfx sns config validate` instead of the correct `dfx sns create` and `dfx sns validate` commands. Co-Authored-By: Claude Opus 4.6 --- CHANGELOG.md | 6 ++++++ docs/cli-reference/dfx-sns.mdx | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e1daded19e..67dde521a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,12 @@ Updated Motoko to [1.1.0](https://github.com/dfinity/motoko/releases/tag/1.1.0) - Module hash: 04e565b3425fe7510ee16b02adcfe3f01abc9a2725c82a21cb08969241debd62 - https://github.com/dfinity/sdk/pull/4474 +## Fixes + +### fix: correct `dfx sns` example commands in documentation + +Fixed incorrect commands `dfx sns config create` and `dfx sns config validate` in the `dfx sns` CLI reference examples. The correct commands are `dfx sns create` and `dfx sns validate`. + # 0.31.0 ### chore!: `dfx generate` now imports `@icp-sdk/core` instead of `@dfinity/` packages diff --git a/docs/cli-reference/dfx-sns.mdx b/docs/cli-reference/dfx-sns.mdx index cb1f40ebd1..a475f3013c 100644 --- a/docs/cli-reference/dfx-sns.mdx +++ b/docs/cli-reference/dfx-sns.mdx @@ -67,12 +67,12 @@ dfx sns validate You can use the `dfx sns validate` command to verify that a configuration template is valid. It is not, it needs details such as token name: ``` bash -dfx sns config create +dfx sns create ``` Fill in the blank fields, then: ``` bash -dfx sns config validate +dfx sns validate ``` ## dfx sns deploy @@ -92,13 +92,13 @@ dfx sns deploy --network=ic Create an SNS on the local testnet: ``` bash -dfx sns config create +dfx sns create ``` Fill in the blank fields, then: ``` bash -dfx sns config validate +dfx sns validate dfx sns deploy ```