chore(deps): bump http from 1.5.0 to 1.6.0
Merged
DE
1d ago+2+2+0123456789-2-2-0123456789
Bumps http from 1.5.0 to 1.6.0.
Release notes
Sourced from http's releases.
v1.6.0
Features
- Add
HeaderMap::retain()to keep header values that match a predicate.Fixes
- Fix
HeaderValuestring conversions to reject non-ASCII characters.- Fix validation of long header names passed to
HeaderMapas strings.- Fix
HeaderName::from_lowercase()andfrom_static()to reject double quotes.- Fix
HeaderMapiterators that could overestimate their remaining length insize_hint().- Fix
header::OccupiedEntry::insert_mult()panicking when replacing three or more values.- Fix
Uriparsing to recognizehttpandhttpsregardless of case.- Fix
Uriformatting to omit the*path when a scheme and authority are present.- Fix
Authority::from_static()to reject trailing bytes left over after parsing.Performance
- Reduce the size of
HeaderMap.- Reduce integer conversions to
HeaderValueto one allocation.- Speed up URI parsing by optimizing authority scanning and scheme detection.
The whole thing
- fix(header): enforce string constructors to only allow ASCII by
@seanmonstarin hyperium/http#860- fix(header): enforce long valid header names in IntoHeaderName by
@seanmonstarin hyperium/http#864- docs(header): correct HeaderMap max capacity and clarify reserve panic by
@ChrisJr404in hyperium/http#865- test(header): fix trait bounds in test_bounds to Send + Sync (#783) by
@CyberneticX-Techin hyperium/http#867- fix(header): map size_hint() could sometimes report 1 extra by
@seanmonstarin hyperium/http#870- perf(header): reduce HeaderMap layout size with less used fields by
@seanmonstarin hyperium/http#866- test: add integration tests checking pattern matching is allowed by
@seanmonstarin hyperium/http#872- fix(header): reject double quote in HEADER_CHARS_H2 by
@choudhryfrompakin hyperium/http#876- fix(header): don't panic in OccupiedEntry::insert_mult with 3 or more values by
@Shaisolarisin hyperium/http#878- perf(header): allocate once in HeaderValue::from for integers by
@patrick-immometricain hyperium/http#885- test(header): add headermap adaptive hashing test by
@imakashy00in hyperium/http#880- fix(uri): parse uppercase http/https as standard schemes by
@patrick-immometricain hyperium/http#883- fix(uri): don't glue
*onto the authority in Display by@patrick-immometricain hyperium/http#884- Remove outdated section in doc by
@avandecremein hyperium/http#889- fix(uri): reject unconsumed trailing bytes in Authority::from_static by
@duongynhi000005-ossin hyperium/http#882- test: miri ignore the adaptive hashing test by
@seanmonstarin hyperium/http#893- feat(header): add HeaderMap::retain by
@cgzonesin hyperium/http#892- perf(uri): faster authority scan and scheme split by
@g4lbin hyperium/http#887New Contributors
@ChrisJr404made their first contribution in hyperium/http#865@CyberneticX-Techmade their first contribution in hyperium/http#867@choudhryfrompakmade their first contribution in hyperium/http#876@Shaisolarismade their first contribution in hyperium/http#878@patrick-immometricamade their first contribution in hyperium/http#885@imakashy00made their first contribution in hyperium/http#880@avandecrememade their first contribution in hyperium/http#889
... (truncated)
Changelog
Sourced from http's changelog.
1.6.0 (December 1, 2026)
- Add
HeaderMap::retain()to keep header values that match a predicate.- Fix
HeaderValuestring conversions to reject non-ASCII characters.- Fix validation of long header names passed to
HeaderMapas strings.- Fix
HeaderName::from_lowercase()andfrom_static()to reject double quotes.- Fix
HeaderMapiterators that could overestimate their remaining length insize_hint().- Fix
header::OccupiedEntry::insert_mult()panicking when replacing three or more values.- Fix
Uriparsing to recognizehttpandhttpsregardless of case.- Fix
Uriformatting to omit the*path when a scheme and authority are present.- Fix
Authority::from_static()to reject trailing bytes left over after parsing.- Reduce the size of
HeaderMap.- Reduce integer conversions to
HeaderValueto one allocation.- Speed up URI parsing by optimizing authority scanning and scheme detection.
Commits
91b02a1v1.6.034a68ecperf(uri): faster authority scan and scheme split (#887)5d975b8feat(header): add HeaderMap::retain (#892)8bf7972test: miri ignore the adaptive hashing test (#893)a8309a9fix(uri): reject unconsumed trailing bytes in Authority::from_static (#882)2f84006docs: remove outdated panic about HeaderName length (#889)591d73dfix(uri): don't glue*onto the authority in Display (#884)e54da47fix(uri): parse uppercase http/https as standard schemes (#883)052b831test(header): add headermap adaptive hashing test (#880)4a0885cperf(header): allocate once in HeaderValue::from for integers (#885)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Summary by cubic
Updates http from 1.5.0 to 1.6.0 in Cargo.lock. The release adds HeaderMap::retain(), tightens header and URI validation, and improves parsing performance with no breaking changes.