mirror of
https://github.com/tower-rs/tower.git
synced 2025-09-28 21:41:16 +00:00
chore: prepare to release tower-0.5.0, tower-layer-0.3.3, tower-service-0.3.3, and tower-test-0.4.1 (#781)
This commit is contained in:
parent
7202cfeecd
commit
646804d77e
@ -1,3 +1,21 @@
|
||||
# 0.3.3 (August 1, 2024)
|
||||
|
||||
### Added
|
||||
|
||||
- **builder,util**: add convenience methods for boxing services ([#616])
|
||||
- **all**: new functions const when possible ([#760])
|
||||
|
||||
[#616]: https://github.com/tower-rs/tower/pull/616
|
||||
[#760]: https://github.com/tower-rs/tower/pull/760
|
||||
|
||||
# 0.3.2 (Octpber 10, 2022)
|
||||
|
||||
## Added
|
||||
|
||||
- Implement `Layer` for tuples of up to 16 elements ([#694])
|
||||
|
||||
[#694]: https://github.com/tower-rs/tower/pull/694
|
||||
|
||||
# 0.3.1 (January 7, 2021)
|
||||
|
||||
### Added
|
||||
|
@ -6,13 +6,13 @@ name = "tower-layer"
|
||||
# - README.md
|
||||
# - Update CHANGELOG.md.
|
||||
# - Create "v0.1.x" git tag.
|
||||
version = "0.3.2"
|
||||
version = "0.3.3"
|
||||
authors = ["Tower Maintainers <team@tower-rs.com>"]
|
||||
license = "MIT"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/tower-rs/tower"
|
||||
homepage = "https://github.com/tower-rs/tower"
|
||||
documentation = "https://docs.rs/tower-layer/0.3.0-alpha.2"
|
||||
documentation = "https://docs.rs/tower-layer/0.3.3"
|
||||
description = """
|
||||
Decorates a `Service` to allow easy composition between `Service`s.
|
||||
"""
|
||||
@ -23,4 +23,4 @@ edition = "2018"
|
||||
|
||||
[dev-dependencies]
|
||||
tower-service = { version = "0.3.0", path = "../tower-service" }
|
||||
tower = { version = "0.4", path = "../tower" }
|
||||
tower = { version = "0.5.0", path = "../tower" }
|
||||
|
@ -1,6 +1,12 @@
|
||||
# Unreleased
|
||||
# 0.3.2
|
||||
|
||||
- Clarify subtlety around cloning and readiness in the `Service` docs.
|
||||
- **all**: new functions const when possible ([#760])
|
||||
- **documentation**: Clarify subtlety around cloning and readiness in the `Service` docs. ([#622])
|
||||
- **documentation**: service: Call inner.poll_ready() in docs when cloning inner ([#679])
|
||||
|
||||
[#760]: https://github.com/tower-rs/tower/pull/760
|
||||
[#622]: https://github.com/tower-rs/tower/pull/662
|
||||
[#679]: https://github.com/tower-rs/tower/pull/679
|
||||
|
||||
# 0.3.1 (November 29, 2019)
|
||||
|
||||
|
@ -6,13 +6,13 @@ name = "tower-service"
|
||||
# - README.md
|
||||
# - Update CHANGELOG.md.
|
||||
# - Create "v0.2.x" git tag.
|
||||
version = "0.3.2"
|
||||
version = "0.3.3"
|
||||
authors = ["Tower Maintainers <team@tower-rs.com>"]
|
||||
license = "MIT"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/tower-rs/tower"
|
||||
homepage = "https://github.com/tower-rs/tower"
|
||||
documentation = "https://docs.rs/tower-service/0.3.1"
|
||||
documentation = "https://docs.rs/tower-service/0.3.3"
|
||||
description = """
|
||||
Trait representing an asynchronous, request / response based, client or server.
|
||||
"""
|
||||
|
@ -1,3 +1,7 @@
|
||||
# 0.5.0 (August 1, 2023)
|
||||
|
||||
- Update dependency on tower to 0.5.0-alpha.1.
|
||||
|
||||
# 0.4.0 (January 7, 2021)
|
||||
|
||||
- Updated `tokio-test` dependency to 0.4
|
||||
|
@ -6,7 +6,7 @@ name = "tower-test"
|
||||
# - README.md
|
||||
# - Update CHANGELOG.md.
|
||||
# - Create "v0.1.x" git tag.
|
||||
version = "0.4.0"
|
||||
version = "0.4.1"
|
||||
authors = ["Tower Maintainers <team@tower-rs.com>"]
|
||||
license = "MIT"
|
||||
readme = "README.md"
|
||||
|
@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
# Unreleased
|
||||
# 0.5.0
|
||||
|
||||
### Fixed
|
||||
|
||||
@ -17,11 +17,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
future ([#652])
|
||||
- **retry**: **Breaking Change** `retry::Policy::retry` now accepts `&mut Req` and `&mut Res` instead of the previous mutable versions. This
|
||||
increases the flexibility of the retry policy. To update, update your method signature to include `mut` for both parameters. ([#584])
|
||||
- **retry**: **Breaking Change** Change Policy to accept &mut self ([#681])
|
||||
- **retry**: Add generic backoff utilities ([#685])
|
||||
- **retry**: Add Budget trait. This allows end-users to implement their own budget and bucket implementations. ([#703])
|
||||
- **reconnect**: **Breaking Change** Remove unused generic parameter from `Reconnect::new` ([#755])
|
||||
- **ready-cache**: Allow iteration over ready services ([#700])
|
||||
- **discover**: Implement `Clone` for Change ([#701])
|
||||
- **util**: Add a BoxCloneServiceLayer ([#708])
|
||||
- **rng**: use a simpler random 2-sampler ([#716])
|
||||
- **filter**: Derive `Clone` for `AsyncFilterLayer` ([#731])
|
||||
- **general**: Update IndexMap ([#741])
|
||||
- **MSRV**: Increase MSRV to 1.63.0 ([#741])
|
||||
|
||||
|
||||
[#702]: https://github.com/tower-rs/tower/pull/702
|
||||
[#652]: https://github.com/tower-rs/tower/pull/652
|
||||
[#584]: https://github.com/tower-rs/tower/pull/584
|
||||
[#702]: https://github.com/tower-rs/tower/pull/702
|
||||
[#681]: https://github.com/tower-rs/tower/pull/681
|
||||
[#685]: https://github.com/tower-rs/tower/pull/685
|
||||
[#703]: https://github.com/tower-rs/tower/pull/703
|
||||
[#755]: https://github.com/tower-rs/tower/pull/755
|
||||
[#700]: https://github.com/tower-rs/tower/pull/700
|
||||
[#701]: https://github.com/tower-rs/tower/pull/701
|
||||
[#708]: https://github.com/tower-rs/tower/pull/708
|
||||
[#716]: https://github.com/tower-rs/tower/pull/716
|
||||
[#731]: https://github.com/tower-rs/tower/pull/731
|
||||
[#741]: https://github.com/tower-rs/tower/pull/741
|
||||
|
||||
# 0.4.12 (February 16, 2022)
|
||||
|
||||
|
@ -6,13 +6,13 @@ name = "tower"
|
||||
# - README.md
|
||||
# - Update CHANGELOG.md.
|
||||
# - Create "vX.X.X" git tag.
|
||||
version = "0.4.13"
|
||||
version = "0.5.0"
|
||||
authors = ["Tower Maintainers <team@tower-rs.com>"]
|
||||
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.12"
|
||||
documentation = "https://docs.rs/tower/0.5.0"
|
||||
description = """
|
||||
Tower is a library of modular and reusable components for building robust
|
||||
clients and servers.
|
||||
|
@ -141,14 +141,14 @@ To get started using all of Tower's optional middleware, add this to your
|
||||
`Cargo.toml`:
|
||||
|
||||
```toml
|
||||
tower = { version = "0.4", features = ["full"] }
|
||||
tower = { version = "0.5.0", features = ["full"] }
|
||||
```
|
||||
|
||||
Alternatively, you can only enable some features. For example, to enable
|
||||
only the [`retry`] and [`timeout`][timeouts] middleware, write:
|
||||
|
||||
```toml
|
||||
tower = { version = "0.4", features = ["retry", "timeout"] }
|
||||
tower = { version = "0.5.0", features = ["retry", "timeout"] }
|
||||
```
|
||||
|
||||
See [here][all_layers] for a complete list of all middleware provided by
|
||||
|
Loading…
x
Reference in New Issue
Block a user