Skip to content

Releases: hyperium/http

v1.2.0

03 Dec 18:49
Compare
Choose a tag to compare

What's Changed

  • Add StatusCode::TOO_EARLY constant for 425 status. (#725)
  • Loosen TryFrom<HashMap> for HeaderMap to work with any state generic. (#729)
  • Change Builder methods to use TryInto instead of TryFrom arguments. (#730)
  • Make StatusCode::as_u16 a const function. (#680)
  • Fix Method parsing to allow #$%&' characters. (#713)
  • Fix HeaderName parsing to reject " characters. (#716)
  • Fix off by 1 error in Method::from_bytes that could cause extra allocations. (#708)
  • Fix HeaderMap capacity calculation in some cases (#710)

New Contributors

Thanks

Full Changelog: v1.1.0...v1.2.0

v1.1.0

04 Mar 16:42
Compare
Choose a tag to compare

What's Changed

  • Add methods to allow trying to allocate in the HeaderMap, returning an error if oversize instead of panicking.
  • Add Extensions::get_or_insert() method.
  • Implement From<Uri> for uri::Builder.
  • Fix HeaderName::from_lowercase that could allow NUL bytes in some cases.

New Contributors

Full Changelog: v1.0.0...v1.1.0

v0.2.12

04 Mar 16:39
Compare
Choose a tag to compare

What's Changed

  • Add methods to allow trying to allocate in the HeaderMap, returning an error if oversize instead of panicking.
  • Fix HeaderName::from_lowercase that could allow NUL bytes in some cases.

v1.0.0

15 Nov 16:08
Compare
Choose a tag to compare

What's Changed

  • Implement Clone for Request, Response, and Extensions. This breaking change requires
    that all extensions now implement Clone.
  • Add a default-on std feature. Disabling it currently is not supported.
  • Fix MIRI warnings in HeaderMap::iter().

New Contributors

  • @hjr3 made their first contribution in #644

v0.2.11

15 Nov 16:08
Compare
Choose a tag to compare

What's Changed

  • Fix MIRI warnings in HeaderMap::iter().

v0.2.10

10 Nov 14:55
Compare
Choose a tag to compare

What's Changed

  • Fix parsing of Authority to handle square brackets in incorrect order.
  • Fix HeaderMap::with_capacity() to handle arithmetic overflow.

New Contributors

v0.2.9

17 Feb 17:12
Compare
Choose a tag to compare

What's Changed

  • Add HeaderName constants for cache-status and cdn-cache-control.
  • Implement Hash for PathAndQuery.
  • Re-export HeaderName at crate root.

New Contributors

v0.2.8

06 Jun 23:55
Compare
Choose a tag to compare

Fixes

  • Fix internal usage of uninitialized memory to use MaybeUninit inside HeaderName.

New Contributors

v0.2.7

28 Apr 19:19
Compare
Choose a tag to compare

What's Changed

  • Add extend() method to Extensions.
  • Add From<Authority> and From<PathAndQuery> impls for Uri.
  • Make HeaderName::from_static a const fn.

New Contributors

v0.2.6

30 Dec 23:07
Compare
Choose a tag to compare
  • Upgrade internal itoa dependency to 1.0.

New Contributors