diff --git a/tower-http/CHANGELOG.md b/tower-http/CHANGELOG.md index 7e4e14a2..4e949efb 100644 --- a/tower-http/CHANGELOG.md +++ b/tower-http/CHANGELOG.md @@ -7,23 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 # Unreleased +# 0.5.1 (January 14, 2024) + ## Added +- **fs:** Support files precompressed with `zstd` in `ServeFile` - **trace:** Add default generic parameters for `ResponseBody` and `ResponseFuture` ([#455]) - **trace:** Add type aliases `HttpMakeClassifier` and `GrpcMakeClassifier` ([#455]) -## Changed - -- None. - -## Removed - -- None. - ## Fixed -- None. +- **cors:** Keep Vary headers set by the inner service when setting response headers ([#398]) +- **fs:** `ServeDir` now no longer redirects from `/directory` to `/directory/` + if `append_index_html_on_directories` is disabled ([#421]) +[#398]: https://github.com/tower-rs/tower-http/pull/398 +[#421]: https://github.com/tower-rs/tower-http/pull/421 [#455]: https://github.com/tower-rs/tower-http/pull/455 # 0.5.0 (November 21, 2023) @@ -39,9 +38,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Accepts range headers with ranges where the end of range goes past the end of the document by bumping http-range-header to `0.4` -- cors: Keep Vary headers set by the inner service when setting response headers ([#398]) - -[#398]: https://github.com/tower-rs/tower-http/pull/398 [#418]: https://github.com/tower-rs/tower-http/pull/418 [#433]: https://github.com/tower-rs/tower-http/pull/433 diff --git a/tower-http/Cargo.toml b/tower-http/Cargo.toml index c5b46c46..45f8a785 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.5.0" +version = "0.5.1" authors = ["Tower Maintainers "] edition = "2018" license = "MIT"