Releases: hyperium/http
Releases · hyperium/http
v0.2.8
Fixes
- Fix internal usage of uninitialized memory to use
MaybeUninitinsideHeaderName.
New Contributors
- @LucioFranco made their first contribution in #550
- @nnethercote made their first contribution in #553
v0.2.7
What's Changed
- Add
extend()method toExtensions. - Add
From<Authority>andFrom<PathAndQuery>impls forUri. - Make
HeaderName::from_staticaconst fn.
New Contributors
- @ivd-git made their first contribution in #545
- @jeddenlea made their first contribution in #499
- @atouchet made their first contribution in #547
- @jplatte made their first contribution in #546
- @graves501 made their first contribution in #532
v0.2.6
v0.2.5
- Add
is_empty()andlen()methods toExtensions. - Add
version_ref()method torequest::Builder. - Implement
TryFrom<Vec<u8>>andTryFrom<String>forAuthority,Uri,PathAndQuery, andHeaderName. - Make
HeaderValue::from_staticaconst fn.
v0.2.4
- Fix
Uriparsing to allow{,", and}in paths.
v0.2.3
- Upgrade internal (private)
bytesdependency to 1.0.
v0.2.2
- Fix (potential double) panic of (
HeaderMap)OccupiedEntry::remove_entryand
remove_entry_multwhen multiple values are present. ([#446], [#449] dekellum) - Safety audits of (priv)
ByteStrand refactor ofAuthority([#408], [#414] sbosnick) - Fix
HeaderNameto error instead of panic when input is too long ([#432] [#433] acfoltzer) - Allow
StatusCodeto encode values 100-999 without error. Use of the
unclassified range 600-999 remains discouraged. ([#144], [#438], [#443] quininer dekellum) - Add
Stringand&Stringfallible conversions toPathAndQuery([#450] mkindahl) - Fix
Authority(andUri) to error instead of panic on unbalanced brackets
([#435], [#445] aeryz)
v0.2.1
- Add
extensions_refandextensions_muttorequest::Builderandresponse::Builder.
v0.2.0
- Add
Version::HTTP_3constant. - Add
HeaderValue::from_maybe_shared,HeaderValue::from_maybe_shared_unchecked,Uri::from_maybe_shared,Authority::from_maybe_shared, andPathAndQuery::from_maybe_shared. - Change
request::Builder,response::Builder, anduri::Builderto use by-value methods instead of by-ref. - Change from
HttpTryFromtrait tostd::convert::TryFrom. - Change
HeaderMap::entryto no longer return aResult. - Change
HeaderMap::drainiterator to match the behavior ofIntoIter. - Change
Authority::portto return anOption<Port>instead ofOption<u16>. - Change
Uri::schemeto returnOption<&Scheme>instead ofOption<&str>. - Change
Uri::authorityto returnOption<&Authority>instead ofOption<&str>. - Remove
InvalidUriBytes,InvalidHeaderNameBytes, andInvalidHeaderValueByteserror types. - Remove
HeaderValue::from_shared,HeaderValue::from_shared_unchecked,Uri::from_shared,Authority::from_shared,Scheme::from_shared, andPathAndQuery::from_shared. - Remove
Authority::port_part. - Remove
Uri::scheme_partandUri::authority_part.