From 657057637dc4d40be523634cbc2189560d316548 Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Tue, 9 Nov 2021 09:42:57 -0800 Subject: [PATCH] v0.3.2 --- CHANGELOG.md | 13 +++++++++++++ Cargo.toml | 2 +- src/lib.rs | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eef12edf9..fd297c61d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +### v0.3.2 (November 9, 2021) + +- **Features**: + - Add `Filter::then()`, which is like `Filter::map()` in that it's infallible, but is async like `Filter::and_then()`. + - Add `redirect::found()` reply helper that returns `302 Found`. + - Add `compression-brotli` and `compression-gzip` cargo features to enable only the compression you need. + - Allow `HEAD` requests to be served to `fs::dir()` filters. + - Allow `path!()` with no arguments. +- **Fixes**: + - Update private dependencies Tungstenite and Multipart. + - Replaces uses of `futures` with `futures-util`, which is a smaller dependency. + + ### v0.3.1 (March 24, 2021) - **Features**: diff --git a/Cargo.toml b/Cargo.toml index 152599bb7..efbb69c42 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "warp" -version = "0.3.1" # don't forget to update html_root_url +version = "0.3.2" # don't forget to update html_root_url description = "serve the web at warp speeds" authors = ["Sean McArthur "] license = "MIT" diff --git a/src/lib.rs b/src/lib.rs index d220f9f78..6b71f785b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/warp/0.3.1")] +#![doc(html_root_url = "https://docs.rs/warp/0.3.2")] #![deny(missing_docs)] #![deny(missing_debug_implementations)] #![deny(rust_2018_idioms)]