From 01d6a590ed16d0a8032f7d6eeeea622ddaceceab Mon Sep 17 00:00:00 2001 From: David Kellum Date: Mon, 14 Dec 2020 16:10:41 -0800 Subject: [PATCH] v0.2.2 --- CHANGELOG.md | 28 +++++++++++++++++++++++++++- Cargo.toml | 2 +- src/lib.rs | 2 +- 3 files changed, 29 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 33bc4d6f..21695978 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +# 0.2.2 (December 14, 2020) + +* Fix (potential double) panic of (`HeaderMap`) `OccupiedEntry::remove_entry` and + `remove_entry_mult` when multiple values are present. ([#446], [#449] dekellum) +* Safety audits of (priv) `ByteStr` and refactor of `Authority` ([#408], [#414] sbosnick) +* Fix `HeaderName` to error instead of panic when input is too long ([#432] [#433] acfoltzer) +* Allow `StatusCode` to encode values 100-999 without error. Use of the + unclassified range 600-999 remains discouraged. ([#144], [#438], [#443] quininer dekellum) +* Add `String` and `&String` fallible conversions to `PathAndQuery` ([#450] mkindahl) +* Fix `Authority` (and `Uri`) to error instead of panic on unbalanced brackets + ([#435], [#445] aeryz) + # 0.2.1 (March 25, 2020) * Add `extensions_ref` and `extensions_mut` to `request::Builder` and `response::Builder`. @@ -77,7 +89,7 @@ # 0.1.10 (August 8, 2018) -* impl HttpTryFrom for HeaderValue (#236) +* `impl HttpTryFrom` for HeaderValue (#236) # 0.1.9 (August 7, 2018) @@ -141,3 +153,17 @@ # 0.1.0 (September 8, 2017) * Initial release. + +[#144]: https://github.com/hyperium/http/issues/144 +[#408]: https://github.com/hyperium/http/pull/408 +[#414]: https://github.com/hyperium/http/pull/414 +[#432]: https://github.com/hyperium/http/issues/432 +[#433]: https://github.com/hyperium/http/pull/433 +[#438]: https://github.com/hyperium/http/pull/438 +[#443]: https://github.com/hyperium/http/pull/443 +[#446]: https://github.com/hyperium/http/issues/446 +[#449]: https://github.com/hyperium/http/pull/449 +[#450]: https://github.com/hyperium/http/pull/450 +[#435]: https://github.com/hyperium/http/issues/435 +[#445]: https://github.com/hyperium/http/pull/445 + diff --git a/Cargo.toml b/Cargo.toml index 0357da6f..5b12c890 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ name = "http" # - Update html_root_url in lib.rs. # - Update CHANGELOG.md. # - Create git tag -version = "0.2.1" +version = "0.2.2" readme = "README.md" documentation = "https://docs.rs/http" repository = "https://github.com/hyperium/http" diff --git a/src/lib.rs b/src/lib.rs index 1c967231..673f2525 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/http/0.2.1")] +#![doc(html_root_url = "https://docs.rs/http/0.2.2")] //! A general purpose library of common HTTP types //!