Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 4, 2024

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps http from 1.1.0 to 1.2.0.

Release notes

Sourced from http's releases.

v1.2.0

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: hyperium/http@v1.1.0...v1.2.0

Changelog

Sourced from http's changelog.

1.2.0 (December 3, 2024)

  • Add StatusCode::TOO_EARLY constant for 425 status.
  • Loosen TryFrom<HashMap> for HeaderMap to work with any state generic.
  • Change Builder methods to use TryInto instead of TryFrom arguments.
  • Make StatusCode::as_u16 a const function.
  • Fix Method parsing to allow #$%&' characters.
  • Fix HeaderName parsing to reject " characters.
  • Fix off by 1 error in Method::from_bytes that could cause extra allocations.
Commits
  • a912445 v1.2.0
  • 072fd8a feat: make StatusCode::as_u16 a const fn (#680)
  • 2c8db78 docs: improve documentation for the Extensions::insert method (#705)
  • a753ce4 fix: capacity handling in HeaderMap::try_with_capacity (#710)
  • 92d4148 fix: off by 1 error in Method::from_bytes causing an allocation (#708)
  • 5a1a5e8 feat: change to TryInto bounds for Builder Methods (#730)
  • 300f91d Generalize HeaderMap's TryFrom impl from HashMap, to allow other hashing func...
  • 75298bd feat: add StatusCode::TOO_EARLY 425 (#725)
  • 7faad85 docs: remove text stating http is early in lifecycle (#724)
  • 0136ae7 docs: fix docs failing to compile (#722)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Dec 4, 2024
@dependabot dependabot bot requested review from adamchalmers and jessfraz December 4, 2024 16:26
@codecov
Copy link

codecov bot commented Dec 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@54bb745). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #663   +/-   ##
=======================================
  Coverage        ?   25.80%           
=======================================
  Files           ?       35           
  Lines           ?     2058           
  Branches        ?        0           
=======================================
  Hits            ?      531           
  Misses          ?     1527           
  Partials        ?        0           
Flag Coverage Δ
unittests 25.80% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jessfraz
Copy link
Contributor

jessfraz commented Dec 4, 2024

@dependabot rebase

Bumps [http](https://github.com/hyperium/http) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/hyperium/http/releases)
- [Changelog](https://github.com/hyperium/http/blob/master/CHANGELOG.md)
- [Commits](hyperium/http@v1.1.0...v1.2.0)

---
updated-dependencies:
- dependency-name: http
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/http-1.2.0 branch from c22a381 to 3f92d00 Compare December 4, 2024 16:32
@jessfraz jessfraz merged commit e31a00f into main Dec 4, 2024
9 checks passed
@jessfraz jessfraz deleted the dependabot/cargo/http-1.2.0 branch December 4, 2024 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants