Skip to content

Commit

Permalink
tower: prepare to release v0.5.6 (#573)
Browse files Browse the repository at this point in the history
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]: #567
[#560]: #560
[#559]: #559
[#564]: #564
[#563]: #563
[#569]: #569
  • Loading branch information
hawkw authored Feb 27, 2021
1 parent f2505d2 commit 4fb257c
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 8 deletions.
29 changes: 24 additions & 5 deletions tower/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 2 additions & 2 deletions tower/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>"]
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.
Expand Down
2 changes: 1 addition & 1 deletion tower/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit 4fb257c

Please sign in to comment.