From 470477a4b196121fd95ef92c93ffcd8937dcdaed Mon Sep 17 00:00:00 2001 From: David Pedersen Date: Sat, 13 Nov 2021 20:37:50 +0100 Subject: [PATCH] Version 0.1.2 - 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` 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]: https://github.com/tower-rs/tower-http/pull/112 [#118]: https://github.com/tower-rs/tower-http/pull/118 [#140]: https://github.com/tower-rs/tower-http/pull/140 [#132]: https://github.com/tower-rs/tower-http/pull/132 [#137]: https://github.com/tower-rs/tower-http/pull/137 [#117]: https://github.com/tower-rs/tower-http/pull/117 [#129]: https://github.com/tower-rs/tower-http/pull/129 [#130]: https://github.com/tower-rs/tower-http/pull/130 [#122]: https://github.com/tower-rs/tower-http/pull/122 --- tower-http/CHANGELOG.md | 12 ++++-------- tower-http/Cargo.toml | 3 +-- tower-http/src/lib.rs | 1 - 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/tower-http/CHANGELOG.md b/tower-http/CHANGELOG.md index 5ba97bf5..e31e64c6 100644 --- a/tower-http/CHANGELOG.md +++ b/tower-http/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 # Unreleased +- None. + +# 0.1.2 (November 13, 2021) + - New middleware: Add `Cors` for setting [CORS] headers ([#112]) - New middleware: Add `AsyncRequireAuthorization` ([#118]) - `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 [#130]: https://github.com/tower-rs/tower-http/pull/130 [#122]: https://github.com/tower-rs/tower-http/pull/122 -## Breaking changes - -None. - # 0.1.1 (July 2, 2021) - Add example of using `SharedClassifier`. @@ -47,10 +47,6 @@ None. - Add `AddAuthorizationLayer` for setting the `Authorization` header on requests. -## Breaking changes - -None. - # 0.1.0 (May 27, 2021) - Initial release. diff --git a/tower-http/Cargo.toml b/tower-http/Cargo.toml index 1348d5a2..25527f93 100644 --- a/tower-http/Cargo.toml +++ b/tower-http/Cargo.toml @@ -1,14 +1,13 @@ [package] name = "tower-http" description = "Tower middleware and utilities for HTTP clients and servers" -version = "0.1.1" +version = "0.1.2" authors = ["Tower Maintainers "] edition = "2018" license = "MIT" readme = "../README.md" repository = "https://github.com/tower-rs/tower-http" homepage = "https://github.com/tower-rs/tower-http" -documentation = "https://docs.rs/tower-http/0.1.1/tower_http/" categories = ["asynchronous", "network-programming", "web-programming"] keywords = ["io", "async", "futures", "service", "http"] diff --git a/tower-http/src/lib.rs b/tower-http/src/lib.rs index 99105f9c..e19a0a57 100644 --- a/tower-http/src/lib.rs +++ b/tower-http/src/lib.rs @@ -175,7 +175,6 @@ //! [`Trace`]: crate::trace::Trace //! [examples]: https://github.com/tower-rs/tower-http/tree/master/examples -#![doc(html_root_url = "https://docs.rs/tower-http/0.1.1")] #![warn( clippy::all, clippy::dbg_macro,