From 3b68fe3747a27c92f4f41fdd750db66eb438586c Mon Sep 17 00:00:00 2001 From: Jason <98767015+dfx-json@users.noreply.github.com> Date: Thu, 14 Nov 2024 13:50:58 -0800 Subject: [PATCH] chore: promote 0.24.2 (#3997) * chore: update motoko version * chore: update motoko version * chore: Release 0.24.2-beta.0 (#3961) Signed-off-by: Jason I * fix: dfx deploy to the playground fails for a fresh project; CLI reads DFX_NETWORK (#3987) Fixes https://dfinity.atlassian.net/browse/SDK-1882 Fixes https://dfinity.atlassian.net/browse/SDK-1860 Fixes https://dfinity.atlassian.net/browse/SDK-1605 (cherry picked from commit ca58ec788a1199aea18ae6a0eded72dc62161a7f) * chore: cherry pick ca58ec788a1199aea18ae6a0eded72dc62161a7f * chore: Release 0.24.2 (#3996) Signed-off-by: Jason <98767015+dfx-json@users.noreply.github.com> * chore: update manifest.json --------- Signed-off-by: Jason I Signed-off-by: Jason <98767015+dfx-json@users.noreply.github.com> Co-authored-by: Eric Swanson <64809312+ericswanson-dfinity@users.noreply.github.com> --- CHANGELOG.md | 9 +++++++++ Cargo.lock | 2 +- public/manifest.json | 7 ++++--- src/dfx/Cargo.toml | 2 +- 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2fc0250a13..8f62628890 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -92,6 +92,15 @@ This incorporates the following executed proposals: # 0.24.2 +### feat: all commands will use the DFX_NETWORK from the environment + +If `DFX_NETWORK` is set in the environment, all commands will use that network by default. +The `--network` parameter will take precedence if provided. + +### fix: dfx generate now honors the --network parameter +This fixes an issue where `dfx deploy --playground` would fail if the project +had not been previously built for the local network. + ### feat: Support canister log allowed viewer list Added support for the canister log allowed viewer list, enabling specified users to access a canister's logs without needing to be set as the canister's controller. diff --git a/Cargo.lock b/Cargo.lock index 54c4f6319e..bf50fb84af 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1514,7 +1514,7 @@ checksum = "322ef0094744e63628e6f0eb2295517f79276a5b342a4c2ff3042566ca181d4e" [[package]] name = "dfx" -version = "0.24.1" +version = "0.24.2" dependencies = [ "actix", "aes-gcm", diff --git a/public/manifest.json b/public/manifest.json index 0b83ac42d8..eb8d44fcfb 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,6 +1,6 @@ { "tags": { - "latest": "0.24.1" + "latest": "0.24.2" }, "versions": [ "0.5.0", @@ -73,6 +73,7 @@ "0.22.0", "0.23.0", "0.24.0", - "0.24.1" + "0.24.1", + "0.24.2" ] -} \ No newline at end of file +} diff --git a/src/dfx/Cargo.toml b/src/dfx/Cargo.toml index 3aac54abdd..91ef990def 100644 --- a/src/dfx/Cargo.toml +++ b/src/dfx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dfx" -version = "0.24.1" +version = "0.24.2" authors.workspace = true edition.workspace = true repository.workspace = true