From 3789c0c44f8a09e73bdc8f0829bce7395b556a08 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Mon, 18 Nov 2024 20:30:17 +0100 Subject: [PATCH] v0.6.2 --- tower-http/CHANGELOG.md | 11 +++++++++++ tower-http/Cargo.toml | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) 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",