diff --git a/tower-http/CHANGELOG.md b/tower-http/CHANGELOG.md index aa7c9638..0c293002 100644 --- a/tower-http/CHANGELOG.md +++ b/tower-http/CHANGELOG.md @@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +# 0.6.2 + +## Changed: + +- `CompressionBody` now propagates `B`'s size hint in its `http_body::Body` + implementation, if compression is disabled ([#531]) + - this allows a `content-length` to be included in an HTTP message with this + body for those cases + +[#531]: https://github.com/tower-rs/tower-http/pull/531 + # 0.6.1 ## Fixed diff --git a/tower-http/Cargo.toml b/tower-http/Cargo.toml index fbff7fe3..69d28805 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.1" +version = "0.6.2" authors = ["Tower Maintainers "] edition = "2018" license = "MIT" @@ -132,6 +132,7 @@ allowed = [ "http", "http_body", "mime", + "pin-project-lite", "tokio", "tower", "tower_layer",