From 27c5663bd4c4c5e065ac340889c6f0aaa18a26a9 Mon Sep 17 00:00:00 2001 From: Adam Spofford Date: Mon, 18 Mar 2024 13:36:39 -0700 Subject: [PATCH] Release v0.34.0 --- CHANGELOG.md | 2 ++ Cargo.lock | 20 ++++++++++---------- Cargo.toml | 9 +++++---- 3 files changed, 17 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 59bf1367..179f1759 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +## [0.34.0] - 2024-03-18 + * Changed `AgentError::ReplicaError` to `CertifiedReject` or `UncertifiedReject`. `CertifiedReject`s went through consensus, and `UncertifiedReject`s did not. If your code uses `ReplicaError`: * for queries: use `UncertifiedReject` in all cases (for now) * for updates: use `CertifiedReject` for errors raised after the message successfully reaches the canister, and `UncertifiedReject` otherwise diff --git a/Cargo.lock b/Cargo.lock index 8b6697fb..499dba00 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -319,9 +319,9 @@ dependencies = [ [[package]] name = "candid" -version = "0.10.3" +version = "0.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "182543fbc03b4ad0bfc384e6b68346e0b0aad0b11d075b71b4fcaa5d07f8862c" +checksum = "088c2e3d22a0fb1ada78b968946b0f7b96027ac8669973fe7c0815a98e8d13ef" dependencies = [ "anyhow", "binread", @@ -342,9 +342,9 @@ dependencies = [ [[package]] name = "candid_derive" -version = "0.6.5" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "970c220da8aa2fa6f7ef5dbbf3ea5b620a59eb3ac107cfb95ae8c6eebdfb7a08" +checksum = "3de398570c386726e7a59d9887b68763c481477f9a043fb998a2e09d428df1a9" dependencies = [ "lazy_static", "proc-macro2", @@ -1172,7 +1172,7 @@ dependencies = [ [[package]] name = "ic-agent" -version = "0.33.0" +version = "0.34.0" dependencies = [ "backoff", "cached", @@ -1236,7 +1236,7 @@ dependencies = [ [[package]] name = "ic-identity-hsm" -version = "0.33.0" +version = "0.34.0" dependencies = [ "hex", "ic-agent", @@ -1248,7 +1248,7 @@ dependencies = [ [[package]] name = "ic-transport-types" -version = "0.33.0" +version = "0.34.0" dependencies = [ "candid", "hex", @@ -1264,7 +1264,7 @@ dependencies = [ [[package]] name = "ic-utils" -version = "0.33.0" +version = "0.34.0" dependencies = [ "async-trait", "candid", @@ -1313,7 +1313,7 @@ dependencies = [ [[package]] name = "icx" -version = "0.33.0" +version = "0.34.0" dependencies = [ "anyhow", "candid", @@ -1331,7 +1331,7 @@ dependencies = [ [[package]] name = "icx-cert" -version = "0.33.0" +version = "0.34.0" dependencies = [ "anyhow", "base64 0.13.1", diff --git a/Cargo.toml b/Cargo.toml index 1ae4e7b3..d860d2df 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,4 +1,5 @@ [workspace] +resolver = "2" members = [ "ic-agent", "icx-cert", @@ -10,7 +11,7 @@ members = [ ] [workspace.package] -version = "0.33.0" +version = "0.34.0" authors = ["DFINITY Stiftung "] edition = "2021" repository = "https://github.com/dfinity/agent-rs" @@ -21,9 +22,9 @@ rust-version = "1.70.0" license = "Apache-2.0" [workspace.dependencies] -ic-agent = { path = "ic-agent", version = "0.33.0", default-features = false } -ic-utils = { path = "ic-utils", version = "0.33.0" } -ic-transport-types = { path = "ic-transport-types", version = "0.33.0" } +ic-agent = { path = "ic-agent", version = "0.34.0", default-features = false } +ic-utils = { path = "ic-utils", version = "0.34.0" } +ic-transport-types = { path = "ic-transport-types", version = "0.34.0" } ic-certification = "2.2" candid = "0.10.1"