Skip to content

Commit 2c110d2

Browse files
authored
Version 0.1.2 (#162)
- New middleware: Add `Cors` for setting [CORS] headers ([#112]) - New middleware: Add `AsyncRequireAuthorization` ([#118]) - `Compression`: Don't recompress HTTP responses ([#140]) - `Compression` and `Decompression`: Pass configuration from layer into middleware ([#132]) - `ServeDir` and `ServeFile`: Improve performance ([#137]) - `Compression`: Remove needless `ResBody::Error: Into<BoxError>` bounds ([#117]) - `ServeDir`: Percent decode path segments ([#129]) - `ServeDir`: Use correct redirection status ([#130]) - `ServeDir`: Return `404 Not Found` on requests to directories if `append_index_html_on_directories` is set to `false` ([#122]) [#112]: #112 [#118]: #118 [#140]: #140 [#132]: #132 [#137]: #137 [#117]: #117 [#129]: #129 [#130]: #130 [#122]: #122
1 parent c785742 commit 2c110d2

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

tower-http/CHANGELOG.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
# Unreleased
99

10+
- None.
11+
12+
# 0.1.2 (November 13, 2021)
13+
1014
- New middleware: Add `Cors` for setting [CORS] headers ([#112])
1115
- New middleware: Add `AsyncRequireAuthorization` ([#118])
1216
- `Compression`: Don't recompress HTTP responses ([#140])
@@ -28,10 +32,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2832
[#130]: https://github.com/tower-rs/tower-http/pull/130
2933
[#122]: https://github.com/tower-rs/tower-http/pull/122
3034

31-
## Breaking changes
32-
33-
None.
34-
3535
# 0.1.1 (July 2, 2021)
3636

3737
- Add example of using `SharedClassifier`.
@@ -47,10 +47,6 @@ None.
4747
- Add `AddAuthorizationLayer` for setting the `Authorization` header on
4848
requests.
4949

50-
## Breaking changes
51-
52-
None.
53-
5450
# 0.1.0 (May 27, 2021)
5551

5652
- Initial release.

tower-http/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
[package]
22
name = "tower-http"
33
description = "Tower middleware and utilities for HTTP clients and servers"
4-
version = "0.1.1"
4+
version = "0.1.2"
55
authors = ["Tower Maintainers <[email protected]>"]
66
edition = "2018"
77
license = "MIT"
88
readme = "../README.md"
99
repository = "https://github.com/tower-rs/tower-http"
1010
homepage = "https://github.com/tower-rs/tower-http"
11-
documentation = "https://docs.rs/tower-http/0.1.1/tower_http/"
1211
categories = ["asynchronous", "network-programming", "web-programming"]
1312
keywords = ["io", "async", "futures", "service", "http"]
1413

tower-http/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@
175175
//! [`Trace`]: crate::trace::Trace
176176
//! [examples]: https://github.com/tower-rs/tower-http/tree/master/examples
177177
178-
#![doc(html_root_url = "https://docs.rs/tower-http/0.1.1")]
179178
#![warn(
180179
clippy::all,
181180
clippy::dbg_macro,

0 commit comments

Comments
 (0)