diff --git a/README.md b/README.md index dcc7352..3e27018 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ Some other features of tarpc: Add to your `Cargo.toml` dependencies: ```toml -tarpc = "0.27" +tarpc = "0.28" ``` The `tarpc::service` attribute expands to a collection of items that form an rpc service. @@ -82,7 +82,7 @@ your `Cargo.toml`: ```toml anyhow = "1.0" futures = "0.3" -tarpc = { version = "0.27", features = ["tokio1"] } +tarpc = { version = "0.28", features = ["tokio1"] } tokio = { version = "1.0", features = ["macros"] } ``` diff --git a/RELEASES.md b/RELEASES.md index f061b4e..057f5de 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,17 @@ +## 0.28.0 (2022-04-06) + +### Breaking Changes + +- The minimum supported Rust version has increased to 1.58.0. +- The version of opentelemetry depended on by tarpc has increased to 0.17.0. + +## 0.27.2 (2021-10-08) + +### Fixes + +Clients will now close their transport before dropping it. An attempt at a clean shutdown can help +the server drop its connections more quickly. + ## 0.27.1 (2021-09-22) ### Breaking Changes diff --git a/example-service/Cargo.toml b/example-service/Cargo.toml index c7959b8..d0f1179 100644 --- a/example-service/Cargo.toml +++ b/example-service/Cargo.toml @@ -21,7 +21,7 @@ futures = "0.3" opentelemetry = { version = "0.16", features = ["rt-tokio"] } opentelemetry-jaeger = { version = "0.15", features = ["rt-tokio"] } rand = "0.8" -tarpc = { version = "0.27", path = "../tarpc", features = ["full"] } +tarpc = { version = "0.28", path = "../tarpc", features = ["full"] } tokio = { version = "1", features = ["macros", "net", "rt-multi-thread"] } tracing = { version = "0.1" } tracing-opentelemetry = "0.15" diff --git a/tarpc/Cargo.toml b/tarpc/Cargo.toml index 2964807..47e793e 100644 --- a/tarpc/Cargo.toml +++ b/tarpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tarpc" -version = "0.27.2" +version = "0.28.0" rust-version = "1.58.0" authors = [ "Adam Wright ", diff --git a/tarpc/src/lib.rs b/tarpc/src/lib.rs index e04f9fa..441e733 100644 --- a/tarpc/src/lib.rs +++ b/tarpc/src/lib.rs @@ -54,7 +54,7 @@ //! Add to your `Cargo.toml` dependencies: //! //! ```toml -//! tarpc = "0.27" +//! tarpc = "0.28" //! ``` //! //! The `tarpc::service` attribute expands to a collection of items that form an rpc service. @@ -69,7 +69,7 @@ //! ```toml //! anyhow = "1.0" //! futures = "0.3" -//! tarpc = { version = "0.27", features = ["tokio1"] } +//! tarpc = { version = "0.28", features = ["tokio1"] } //! tokio = { version = "1.0", features = ["macros"] } //! ``` //!