From e0f81fbb5b62bc87388b46d7c694c50b68ffd966 Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Mon, 24 Nov 2025 11:11:22 -0500 Subject: [PATCH] v0.6.7 --- tower-http/CHANGELOG.md | 18 ++++++++++++++++++ tower-http/Cargo.toml | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/tower-http/CHANGELOG.md b/tower-http/CHANGELOG.md index 0bb5d60e..29f508b2 100644 --- a/tower-http/CHANGELOG.md +++ b/tower-http/CHANGELOG.md @@ -7,13 +7,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 # Unreleased +# 0.6.7 + +## Added + +- `TimeoutLayer::with_status_code(status)` to define the status code returned + when timeout is reached. ([#599]) + +## Deprecated + +- `auth::require_authorization` is too basic for real-world. ([#591]) +- `TimeoutLayer::new()` should be replaced with + `TimeoutLayer::with_status_code()`. (Previously was + `StatusCode::REQUEST_TIMEOUT`) ([#599]) + ## Fixed - `on_eos` is now called even for successful responses. ([#580]) - `ServeDir`: call fallback when filename is invalid ([#586]) +- `decompression` will not fail when body is empty ([#618]) [#580]: https://github.com/tower-rs/tower-http/pull/580 [#586]: https://github.com/tower-rs/tower-http/pull/586 +[#591]: https://github.com/tower-rs/tower-http/pull/591 +[#599]: https://github.com/tower-rs/tower-http/pull/599 +[#618]: https://github.com/tower-rs/tower-http/pull/618 # 0.6.6 diff --git a/tower-http/Cargo.toml b/tower-http/Cargo.toml index 90c8116e..996d4e18 100644 --- a/tower-http/Cargo.toml +++ b/tower-http/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "tower-http" description = "Tower middleware and utilities for HTTP clients and servers" -version = "0.6.6" +version = "0.6.7" authors = ["Tower Maintainers "] edition = "2018" license = "MIT"