From 18219fca9ba728899e54e70f11026dd7dddf6d7e Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Fri, 23 Feb 2024 09:15:43 +0100 Subject: [PATCH] Release 0.5.2 (#475) --- tower-http/CHANGELOG.md | 6 +++++- tower-http/Cargo.toml | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tower-http/CHANGELOG.md b/tower-http/CHANGELOG.md index 852f77dc..2d7ee4be 100644 --- a/tower-http/CHANGELOG.md +++ b/tower-http/CHANGELOG.md @@ -5,20 +5,24 @@ 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). -# Unreleased +# 0.5.2 ## Added: - **compression:** Will now send a `vary: accept-encoding` header on compressed responses ([#399]) +- **compression:** Support `x-gzip` as equivalent to `gzip` in `accept-encoding` request header ([#467]) ## Fixed - **compression:** Skip compression for range requests ([#446]) +- **compression:** Skip compression for SSE responses by default ([#465]) - **cors:** *Actually* keep Vary headers set by the inner service when setting response headers ([#473]) - Version 0.5.1 intended to ship this, but the implementation was buggy and didn't actually do anything [#399]: https://github.com/tower-rs/tower-http/pull/399 [#446]: https://github.com/tower-rs/tower-http/pull/446 +[#465]: https://github.com/tower-rs/tower-http/pull/465 +[#467]: https://github.com/tower-rs/tower-http/pull/467 [#473]: https://github.com/tower-rs/tower-http/pull/473 # 0.5.1 (January 14, 2024) diff --git a/tower-http/Cargo.toml b/tower-http/Cargo.toml index 45f8a785..b71e9c84 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.5.1" +version = "0.5.2" authors = ["Tower Maintainers "] edition = "2018" license = "MIT"