Skip to content

Releases: hyperium/http

v1.3.1

11 Mar 20:20
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.3.0...v1.3.1

v1.3.0

11 Mar 16:45
Compare
Choose a tag to compare

What's Changed

  • Allow most UTF-8 characters in URI path and query. (#715)
    • This means paring Uris with previously illegal characters according the original RFC will now be accepted. They used to be rejected in the name of spec purity, but many operators were using a fork of http because reality is that most characters are seen in the real world.
  • Fix HeaderMap::reserve() to allocate sufficient capacity.

New Contributors

Thanks!

Full Changelog: v1.2.0...v1.3.0

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