Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Aug 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions tower-layer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions tower-layer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[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-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.
"""
Expand All @@ -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" }
10 changes: 8 additions & 2 deletions tower-service/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
4 changes: 2 additions & 2 deletions tower-service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[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-service/0.3.1"
documentation = "https://docs.rs/tower-service/0.3.3"
description = """
Trait representing an asynchronous, request / response based, client or server.
"""
Expand Down
4 changes: 4 additions & 0 deletions tower-test/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion tower-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>"]
license = "MIT"
readme = "README.md"
Expand Down
26 changes: 23 additions & 3 deletions tower/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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)

Expand Down
4 changes: 2 additions & 2 deletions tower/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[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.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.
Expand Down
4 changes: 2 additions & 2 deletions tower/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down