Skip to content

Releases: hyperium/http

v0.2.4

07 Apr 20:59
Compare
Choose a tag to compare
  • Fix Uri parsing to allow {, ", and } in paths.

v0.2.3

07 Apr 20:59
Compare
Choose a tag to compare
  • Upgrade internal (private) bytes dependency to 1.0.

v0.2.2

15 Dec 00:12
01d6a59
Compare
Choose a tag to compare
  • 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)

v0.2.1

25 Mar 19:11
Compare
Choose a tag to compare
  • Add extensions_ref and extensions_mut to request::Builder and response::Builder.

v0.2.0

02 Dec 22:05
Compare
Choose a tag to compare
  • 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.