Skip to content

Commit

Permalink
Release 0.36.0 (#566)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamspofford-dfinity authored Jun 4, 2024
1 parent 49b70e8 commit f943023
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 18 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ members = [
]

[workspace.package]
version = "0.35.0"
version = "0.36.0"
authors = ["DFINITY Stiftung <[email protected]>"]
edition = "2021"
repository = "https://github.com/dfinity/agent-rs"
Expand All @@ -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"
Expand Down
4 changes: 0 additions & 4 deletions ic-agent/src/agent/http_transport/hyper_transport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ pub struct HyperTransport<B1, S = Client<HttpsConnector<HttpConnector>, 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<Data = Self::BodyData, Error = Self::BodyError> + Send + Unpin + 'static
Expand Down
4 changes: 0 additions & 4 deletions ic-agent/src/agent/http_transport/reqwest_transport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f943023

Please sign in to comment.