Skip to content

Releases: hyperium/http

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

v0.2.5

21 Sep 17:38
Compare
Choose a tag to compare
  • Add is_empty() and len() methods to Extensions.
  • Add version_ref() method to request::Builder.
  • Implement TryFrom<Vec<u8>> and TryFrom<String> for Authority, Uri, PathAndQuery, and HeaderName.
  • Make HeaderValue::from_static a const fn.