diff --git a/tower-http/CHANGELOG.md b/tower-http/CHANGELOG.md index 3a7f3346..3ba10b09 100644 --- a/tower-http/CHANGELOG.md +++ b/tower-http/CHANGELOG.md @@ -9,16 +9,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Added +- None. + +## Changed + +- None. + +## Removed + +- None. + +## Fixed + +- None. + +# 0.2.0 (December 1, 2021) + +## Added + - **builder**: Add `ServiceBuilderExt` which adds methods to `tower::ServiceBuilder` for - adding middleware from tower-http. + adding middleware from tower-http ([#106]) - **request_id**: Add `SetRequestId` and `PropagateRequestId` middleware ([#150]) - **trace**: Add `DefaultMakeSpan::level` to make log level of tracing spans easily configurable ([#124]) -- **trace**: Add `LatencyUnit::Seconds` for formatting latencies as seconds. +- **trace**: Add `LatencyUnit::Seconds` for formatting latencies as seconds ([#179]) - **trace**: Support customizing which status codes are considered failures by `GrpcErrorsAsFailures` ([#189]) - **compression**: Support specifying predicates to choose when responses should be compressed. This can be used to disable compression of small responses, responses with a certain `content-type`, or something user defined ([#172]) - **fs**: Ability to serve precompressed files ([#156]) +- **fs**: Support `Range` requests ([#173]) +- **fs**: Properly support HEAD requests which return no body and have the `Content-Length` header set ([#169]) ## Changed @@ -33,24 +53,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 `Box`. This makes them usable if the body they're wrapping uses `Box` as its error type which they previously weren't ([#166]) (BREAKING) -- **compression, decompression**: Remove the `compression` and `decompression` feature. They were unnecessary - and `compression-full`/`decompression-full` can be used to get full - compression/decompression support. For more granular control `[compression|decompression]-gzip`, - `[compression|decompression]-br` and `[compression|decompression]-deflate` may - be used instead ([#170]) (BREAKING) -- **fs**: Changed response body type of `ServeDir` and `ServeFile` to +- **fs**: Change response body type of `ServeDir` and `ServeFile` to `ServeFileSystemResponseBody` and `ServeFileSystemResponseFuture` ([#187]) (BREAKING) -- **auth**: Change `AuthorizeRequest` and `AsyncAuthorizeRequest` traits to be simpler ([#???]) (BREAKING) +- **auth**: Change `AuthorizeRequest` and `AsyncAuthorizeRequest` traits to be simpler ([#192]) (BREAKING) ## Removed - **compression, decompression**: Remove `BodyOrIoError`. Its been replaced with `Box` ([#166]) (BREAKING) +- **compression, decompression**: Remove the `compression` and `decompression` feature. They were unnecessary + and `compression-full`/`decompression-full` can be used to get full + compression/decompression support. For more granular control, `[compression|decompression]-gzip`, + `[compression|decompression]-br` and `[compression|decompression]-deflate` may + be used instead ([#170]) (BREAKING) -## Fixed - -- **fs**: Properly support HEAD requests which return no body and have the `Content-Length` header set ([#169]) - +[#106]: https://github.com/tower-rs/tower-http/pull/106 [#124]: https://github.com/tower-rs/tower-http/pull/124 [#148]: https://github.com/tower-rs/tower-http/pull/148 [#150]: https://github.com/tower-rs/tower-http/pull/150 @@ -59,9 +76,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#169]: https://github.com/tower-rs/tower-http/pull/169 [#170]: https://github.com/tower-rs/tower-http/pull/170 [#172]: https://github.com/tower-rs/tower-http/pull/172 +[#173]: https://github.com/tower-rs/tower-http/pull/173 +[#179]: https://github.com/tower-rs/tower-http/pull/179 [#182]: https://github.com/tower-rs/tower-http/pull/182 [#187]: https://github.com/tower-rs/tower-http/pull/187 [#189]: https://github.com/tower-rs/tower-http/pull/189 +[#192]: https://github.com/tower-rs/tower-http/pull/192 # 0.1.2 (November 13, 2021) diff --git a/tower-http/Cargo.toml b/tower-http/Cargo.toml index 40319e53..26dfd833 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.1.2" +version = "0.2.0" authors = ["Tower Maintainers "] edition = "2018" license = "MIT"