From aade4e34ff9b0af27ae14fd7245841ff57f21aaa Mon Sep 17 00:00:00 2001 From: katelyn martin Date: Tue, 11 Mar 2025 16:42:38 -0400 Subject: [PATCH] chore: add breaking changes to changelog (#815) in #637, breaking changes were made to the `Either` service. this commit adds documentation of these breaking changes to the changelog, so that users upgrading from 0.4 to 0.5 have record of what changed when, and why. --- tower/CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tower/CHANGELOG.md b/tower/CHANGELOG.md index fe82bfb5..47b8e9b8 100644 --- a/tower/CHANGELOG.md +++ b/tower/CHANGELOG.md @@ -43,6 +43,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **filter**: Derive `Clone` for `AsyncFilterLayer` ([#731]) - **general**: Update IndexMap ([#741]) - **MSRV**: Increase MSRV to 1.63.0 ([#741]) +- **util**: **Breaking Change** `Either::A` and `Either::B` have been renamed `Either::Left` and `Either::Right`, respectively. ([#637]) +- **util**: **Breaking Change** `Either` now requires its two services to have the same error type. ([#637]) +- **util**: **Breaking Change** `Either` no longer implemenmts `Future`. ([#637]) [#702]: https://github.com/tower-rs/tower/pull/702 [#652]: https://github.com/tower-rs/tower/pull/652 @@ -57,6 +60,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#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 +[#637]: https://github.com/tower-rs/tower/pull/637 # 0.4.12 (February 16, 2022)