Skip to content

Commit c9c72fe

Browse files
authored
Release 0.5.1 (#459)
1 parent 7189afe commit c9c72fe

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

tower-http/CHANGELOG.md

+8-12
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
# Unreleased
99

10+
# 0.5.1 (January 14, 2024)
11+
1012
## Added
1113

14+
- **fs:** Support files precompressed with `zstd` in `ServeFile`
1215
- **trace:** Add default generic parameters for `ResponseBody` and `ResponseFuture` ([#455])
1316
- **trace:** Add type aliases `HttpMakeClassifier` and `GrpcMakeClassifier` ([#455])
1417

15-
## Changed
16-
17-
- None.
18-
19-
## Removed
20-
21-
- None.
22-
2318
## Fixed
2419

25-
- None.
20+
- **cors:** Keep Vary headers set by the inner service when setting response headers ([#398])
21+
- **fs:** `ServeDir` now no longer redirects from `/directory` to `/directory/`
22+
if `append_index_html_on_directories` is disabled ([#421])
2623

24+
[#398]: https://github.com/tower-rs/tower-http/pull/398
25+
[#421]: https://github.com/tower-rs/tower-http/pull/421
2726
[#455]: https://github.com/tower-rs/tower-http/pull/455
2827

2928
# 0.5.0 (November 21, 2023)
@@ -39,9 +38,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3938

4039
- Accepts range headers with ranges where the end of range goes past the end of the document by bumping
4140
http-range-header to `0.4`
42-
- cors: Keep Vary headers set by the inner service when setting response headers ([#398])
43-
44-
[#398]: https://github.com/tower-rs/tower-http/pull/398
4541

4642
[#418]: https://github.com/tower-rs/tower-http/pull/418
4743
[#433]: https://github.com/tower-rs/tower-http/pull/433

tower-http/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "tower-http"
33
description = "Tower middleware and utilities for HTTP clients and servers"
4-
version = "0.5.0"
4+
version = "0.5.1"
55
authors = ["Tower Maintainers <team@tower-rs.com>"]
66
edition = "2018"
77
license = "MIT"

0 commit comments

Comments
 (0)