From 95ad70e3bae4c0cee67fe8a176f833ffaa2e5fdb Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Mon, 31 Aug 2020 12:57:17 -0700 Subject: [PATCH] v0.2.5 --- CHANGELOG.md | 9 +++++++++ Cargo.toml | 2 +- src/lib.rs | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bdbf9f5f6..3beb6acf7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +### v0.2.5 (August 31, 2020) + +- **Features**: + - Add `warp_fn`, which can be used to create a `Wrap` from a closure. These in turn are used with `Filter::with()`. + - Add `warp::host` filters to deal with `Host`/`:authority` headers. + - Relax some lifetime bounds on `Server`. +- **Fixes**: + - Fix panic when URI doesn't have a slash (for example, `CONNECT foo.bar`). + ### v0.2.4 (July 20, 2020) - **Features**: diff --git a/Cargo.toml b/Cargo.toml index 7a2771eb2..c5a5321ce 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "warp" -version = "0.2.4" # don't forget to update html_root_url +version = "0.2.5" # 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 c4c6a016f..bc1b16089 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/warp/0.2.4")] +#![doc(html_root_url = "https://docs.rs/warp/0.2.5")] #![deny(missing_docs)] #![deny(missing_debug_implementations)] #![cfg_attr(test, deny(warnings))]