From e1760d385d06c2f55dbd0b0b8054f176cff8c505 Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Sat, 27 Feb 2021 04:59:31 -0800 Subject: [PATCH] tower: prepare to release v0.4.6 (#573) Deprecated - **util**: Deprecated `ServiceExt::ready_and` (renamed to `ServiceExt::ready`). ([#567]) - **util**: Deprecated `ReadyAnd` future (renamed to `Ready`). ([#567]) Added - **builder**: Add `ServiceBuilder::layer_fn` to add a layer built from a function. ([#560]) - **builder**: Add `ServiceBuilder::map_future` for transforming the futures produced by a service. ([#559]) - **builder**: Add `ServiceBuilder::service_fn` for applying `Layer`s to an async function using `util::service_fn`. ([#564]) - **util**: Add example for `service_fn`. ([#563]) - **util**: Add `BoxLayer` for creating boxed `Layer` trait objects. ([#569]) [#567]: https://github.com/tower-rs/tower/pull/567 [#560]: https://github.com/tower-rs/tower/pull/560 [#559]: https://github.com/tower-rs/tower/pull/559 [#564]: https://github.com/tower-rs/tower/pull/564 [#563]: https://github.com/tower-rs/tower/pull/563 [#569]: https://github.com/tower-rs/tower/pull/569 Signed-off-by: Eliza Weisman --- tower/CHANGELOG.md | 29 ++++++++++++++++++++++++----- tower/Cargo.toml | 4 ++-- tower/src/lib.rs | 2 +- 3 files changed, 27 insertions(+), 8 deletions(-) diff --git a/tower/CHANGELOG.md b/tower/CHANGELOG.md index 1fde5ef9..8a1021be 100644 --- a/tower/CHANGELOG.md +++ b/tower/CHANGELOG.md @@ -6,12 +6,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 # Unreleased -- **builder**: Add `ServiceBuilder::layer_fn` to add a layer built from a function. -- **builder**: Add `ServiceBuilder::map_future` for transforming the futures produced + +# 0.4.6 (February 26, 2021) + +### Deprecated + +- **util**: Deprecated `ServiceExt::ready_and` (renamed to `ServiceExt::ready`). + ([#567]) +- **util**: Deprecated `ReadyAnd` future (renamed to `Ready`). ([#567]) +### Added + +- **builder**: Add `ServiceBuilder::layer_fn` to add a layer built from a + function. ([#560]) +- **builder**: Add `ServiceBuilder::map_future` for transforming the futures + produced by a service. ([#559]) - **builder**: Add `ServiceBuilder::service_fn` for applying `Layer`s to an - async function using `util::service_fn`. -- **util**: Add example for `service_fn`. -- **util**: Add `BoxLayer` for creating boxed `Layer` trait objects. + async function using `util::service_fn`. ([#564]) +- **util**: Add example for `service_fn`. ([#563]) +- **util**: Add `BoxLayer` for creating boxed `Layer` trait objects. ([#569]) + +[#567]: https://github.com/tower-rs/tower/pull/567 +[#560]: https://github.com/tower-rs/tower/pull/560 +[#559]: https://github.com/tower-rs/tower/pull/559 +[#564]: https://github.com/tower-rs/tower/pull/564 +[#563]: https://github.com/tower-rs/tower/pull/563 +[#569]: https://github.com/tower-rs/tower/pull/569 # 0.4.5 (February 10, 2021) diff --git a/tower/Cargo.toml b/tower/Cargo.toml index 6fea9231..9f00e601 100644 --- a/tower/Cargo.toml +++ b/tower/Cargo.toml @@ -8,13 +8,13 @@ name = "tower" # - README.md # - Update CHANGELOG.md. # - Create "vX.X.X" git tag. -version = "0.4.5" +version = "0.4.6" authors = ["Tower Maintainers "] license = "MIT" readme = "README.md" repository = "https://github.com/tower-rs/tower" homepage = "https://github.com/tower-rs/tower" -documentation = "https://docs.rs/tower/0.4.5" +documentation = "https://docs.rs/tower/0.4.6" description = """ Tower is a library of modular and reusable components for building robust clients and servers. diff --git a/tower/src/lib.rs b/tower/src/lib.rs index a0699ead..552eff63 100644 --- a/tower/src/lib.rs +++ b/tower/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/tower/0.4.5")] +#![doc(html_root_url = "https://docs.rs/tower/0.4.6")] #![warn( missing_debug_implementations, missing_docs,