diff --git a/CHANGELOG.md b/CHANGELOG.md index 244ace63..0eaba61e 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.36.0] - 2024-06-04 + * Added a default request timeout to `ReqwestTransport`. * Introduced transparent http request retry logic for network-related failures. `ReqwestTransport::with_max_tcp_errors_retries()`, `HyperTransport::with_max_tcp_errors_retries()`. * Changed the SyncCall and AsyncCall traits to use an associated type for their output instead of a generic parameter. diff --git a/Cargo.lock b/Cargo.lock index bc449421..611ff2c0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1225,7 +1225,7 @@ dependencies = [ [[package]] name = "ic-agent" -version = "0.35.0" +version = "0.36.0" dependencies = [ "async-lock", "backoff", @@ -1290,7 +1290,7 @@ dependencies = [ [[package]] name = "ic-identity-hsm" -version = "0.35.0" +version = "0.36.0" dependencies = [ "hex", "ic-agent", @@ -1302,7 +1302,7 @@ dependencies = [ [[package]] name = "ic-transport-types" -version = "0.35.0" +version = "0.36.0" dependencies = [ "candid", "hex", @@ -1318,7 +1318,7 @@ dependencies = [ [[package]] name = "ic-utils" -version = "0.35.0" +version = "0.36.0" dependencies = [ "async-trait", "candid", @@ -1367,7 +1367,7 @@ dependencies = [ [[package]] name = "icx" -version = "0.35.0" +version = "0.36.0" dependencies = [ "anyhow", "candid", @@ -1385,7 +1385,7 @@ dependencies = [ [[package]] name = "icx-cert" -version = "0.35.0" +version = "0.36.0" dependencies = [ "anyhow", "base64 0.13.1", diff --git a/Cargo.toml b/Cargo.toml index c9b7b194..3412a0d8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ members = [ ] [workspace.package] -version = "0.35.0" +version = "0.36.0" authors = ["DFINITY Stiftung "] edition = "2021" repository = "https://github.com/dfinity/agent-rs" @@ -22,9 +22,9 @@ rust-version = "1.70.0" license = "Apache-2.0" [workspace.dependencies] -ic-agent = { path = "ic-agent", version = "0.35.0", default-features = false } -ic-utils = { path = "ic-utils", version = "0.35.0" } -ic-transport-types = { path = "ic-transport-types", version = "0.35.0" } +ic-agent = { path = "ic-agent", version = "0.36.0", default-features = false } +ic-utils = { path = "ic-utils", version = "0.36.0" } +ic-transport-types = { path = "ic-transport-types", version = "0.36.0" } ic-certification = "2.2" candid = "0.10.1" diff --git a/ic-agent/src/agent/http_transport/hyper_transport.rs b/ic-agent/src/agent/http_transport/hyper_transport.rs index 48add84a..5b372b8c 100644 --- a/ic-agent/src/agent/http_transport/hyper_transport.rs +++ b/ic-agent/src/agent/http_transport/hyper_transport.rs @@ -36,10 +36,6 @@ pub struct HyperTransport, B1>> { service: S, } -#[doc(hidden)] -#[deprecated(since = "0.30.0", note = "use HyperTransport")] -pub use HyperTransport as HyperReplicaV2Transport; // delete after 0.31 - /// Trait representing the contraints on [`HttpBody`] that [`HyperTransport`] requires pub trait HyperBody: Body + Send + Unpin + 'static diff --git a/ic-agent/src/agent/http_transport/reqwest_transport.rs b/ic-agent/src/agent/http_transport/reqwest_transport.rs index 52042706..a6f7dabd 100644 --- a/ic-agent/src/agent/http_transport/reqwest_transport.rs +++ b/ic-agent/src/agent/http_transport/reqwest_transport.rs @@ -32,10 +32,6 @@ pub struct ReqwestTransport { max_tcp_error_retries: usize, } -#[doc(hidden)] -#[deprecated(since = "0.30.0", note = "use ReqwestTransport")] -pub use ReqwestTransport as ReqwestHttpReplicaV2Transport; // delete after 0.31 - impl ReqwestTransport { /// Creates a replica transport from a HTTP URL. By default a request timeout of 6 minutes is used. /// Use `create_with_client` to configure this and other client options.