Releases: hyperium/http
Releases · hyperium/http
v1.2.0
What's Changed
- Add
StatusCode::TOO_EARLY
constant for 425 status. (#725) - Loosen
TryFrom<HashMap>
forHeaderMap
to work with any state generic. (#729) - Change
Builder
methods to useTryInto
instead ofTryFrom
arguments. (#730) - Make
StatusCode::as_u16
aconst
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
- @lgmsantos made their first contribution in #559
- @Pi-Cla made their first contribution in #690
- @franfastly made their first contribution in #713
- @wyatt-herkamp made their first contribution in #714
- @chen-hongzhi made their first contribution in #716
- @39zde made their first contribution in #718
- @gretchenfrage made their first contribution in #722
- @alistaircarscadden made their first contribution in #724
- @cemoktra made their first contribution in #725
- @Qqwy made their first contribution in #729
- @SmolPatches made their first contribution in #730
- @dlzht made their first contribution in #708
- @asudox made their first contribution in #705
- @WhyNotHugo made their first contribution in #680
Thanks
Full Changelog: v1.1.0...v1.2.0
v1.1.0
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>
foruri::Builder
. - Fix
HeaderName::from_lowercase
that could allow NUL bytes in some cases.
New Contributors
- @tottoto made their first contribution in #645
- @julianbraha made their first contribution in #652
- @LukeMathWalker made their first contribution in #654
- @mattgathu made their first contribution in #660
- @LukasKalbertodt made their first contribution in #667
- @dswij made their first contribution in #673
Full Changelog: v1.0.0...v1.1.0
v0.2.12
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
What's Changed
- Implement
Clone
forRequest
,Response
, andExtensions
. This breaking change requires
that all extensions now implementClone
. - Add a default-on
std
feature. Disabling it currently is not supported. - Fix MIRI warnings in
HeaderMap::iter()
.
New Contributors
v0.2.11
What's Changed
- Fix MIRI warnings in
HeaderMap::iter()
.
v0.2.10
What's Changed
- Fix parsing of
Authority
to handle square brackets in incorrect order. - Fix
HeaderMap::with_capacity()
to handle arithmetic overflow.
New Contributors
- @nickelc made their first contribution in #598
- @IsaacCloos made their first contribution in #609
- @f0rki made their first contribution in #613
- @discord9 made their first contribution in #616
- @mxsm made their first contribution in #630
- @xiaolou86 made their first contribution in #633
- @HeeillWang made their first contribution in #628
v0.2.9
v0.2.8
Fixes
- Fix internal usage of uninitialized memory to use
MaybeUninit
insideHeaderName
.
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_static
aconst 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