This commit is contained in:
Sean McArthur
2019-12-02 13:54:15 -08:00
parent ed4dc57067
commit c2dabe50fa
3 changed files with 18 additions and 5 deletions
+16
View File
@@ -1,3 +1,19 @@
# 0.2.0 (December 2, 2019)
* Add `Version::HTTP_3` constant.
* Add `HeaderValue::from_maybe_shared`, `HeaderValue::from_maybe_shared_unchecked`, `Uri::from_maybe_shared`, `Authority::from_maybe_shared`, and `PathAndQuery::from_maybe_shared`.
* Change `request::Builder`, `response::Builder`, and `uri::Builder` to use by-value methods instead of by-ref.
* Change from `HttpTryFrom` trait to `std::convert::TryFrom`.
* Change `HeaderMap::entry` to no longer return a `Result`.
* Change `HeaderMap::drain` iterator to match the behavior of `IntoIter`.
* Change `Authority::port` to return an `Option<Port>` instead of `Option<u16>`.
* Change `Uri::scheme` to return `Option<&Scheme>` instead of `Option<&str>`.
* Change `Uri::authority` to return `Option<&Authority>` instead of `Option<&str>`.
* Remove `InvalidUriBytes`, `InvalidHeaderNameBytes`, and `InvalidHeaderValueBytes` error types.
* Remove `HeaderValue::from_shared`, `HeaderValue::from_shared_unchecked`, `Uri::from_shared`, `Authority::from_shared`, `Scheme::from_shared`, and `PathAndQuery::from_shared`.
* Remove `Authority::port_part`.
* Remove `Uri::scheme_part` and `Uri::authority_part`.
# 0.1.20 (November 26, 2019)
* Fix possible double-free if `header::Drain` iterator is `std::mem::forgot`en (#357).
+1 -4
View File
@@ -4,7 +4,7 @@ name = "http"
# - Update html_root_url in lib.rs.
# - Update CHANGELOG.md.
# - Create git tag
version = "0.2.0-alpha.0"
version = "0.2.0"
readme = "README.md"
documentation = "https://docs.rs/http"
repository = "https://github.com/hyperium/http"
@@ -21,9 +21,6 @@ keywords = ["http"]
categories = ["web-programming"]
edition = "2018"
# 0.2.x isn't ready just yet
publish = false
[dependencies]
bytes = "0.5"
fnv = "1.0.5"
+1 -1
View File
@@ -1,4 +1,4 @@
#![doc(html_root_url = "https://docs.rs/http/0.1.20")]
#![doc(html_root_url = "https://docs.rs/http/0.2.0")]
//! A general purpose library of common HTTP types
//!