[PR #2658] [CLOSED] build(deps): bump http from 1.1.0 to 1.2.0 #3212

Closed
opened 2026-03-16 11:31:26 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/2658
Author: @dependabot[bot]
Created: 12/9/2024
Status: Closed

Base: mainHead: dependabot/cargo/http-1.2.0


📝 Commits (1)

  • 729a0a2 build(deps): bump http from 1.1.0 to 1.2.0

📊 Changes

2 files changed (+3 additions, -3 deletions)

View changed files

📝 Cargo.lock (+2 -2)
📝 Cargo.toml (+1 -1)

📄 Description

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: https://github.com/hyperium/http/compare/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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hickory-dns/hickory-dns/pull/2658 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 12/9/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dependabot/cargo/http-1.2.0` --- ### 📝 Commits (1) - [`729a0a2`](https://github.com/hickory-dns/hickory-dns/commit/729a0a2ad06138c4996fe51e3e273c0e6c819111) build(deps): bump http from 1.1.0 to 1.2.0 ### 📊 Changes **2 files changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+2 -2) 📝 `Cargo.toml` (+1 -1) </details> ### 📄 Description Bumps [http](https://github.com/hyperium/http) from 1.1.0 to 1.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/hyperium/http/releases">http's releases</a>.</em></p> <blockquote> <h2>v1.2.0</h2> <h2>What's Changed</h2> <ul> <li>Add <code>StatusCode::TOO_EARLY</code> constant for 425 status. (<a href="https://redirect.github.com/hyperium/http/issues/725">#725</a>)</li> <li>Loosen <code>TryFrom&lt;HashMap&gt;</code> for <code>HeaderMap</code> to work with any state generic. (<a href="https://redirect.github.com/hyperium/http/issues/729">#729</a>)</li> <li>Change <code>Builder</code> methods to use <code>TryInto</code> instead of <code>TryFrom</code> arguments. (<a href="https://redirect.github.com/hyperium/http/issues/730">#730</a>)</li> <li>Make <code>StatusCode::as_u16</code> a <code>const</code> function. (<a href="https://redirect.github.com/hyperium/http/issues/680">#680</a>)</li> <li>Fix <code>Method</code> parsing to allow <code>#$%&amp;'</code> characters. (<a href="https://redirect.github.com/hyperium/http/issues/713">#713</a>)</li> <li>Fix <code>HeaderName</code> parsing to reject <code>&quot;</code> characters. (<a href="https://redirect.github.com/hyperium/http/issues/716">#716</a>)</li> <li>Fix off by 1 error in <code>Method::from_bytes</code> that could cause extra allocations. (<a href="https://redirect.github.com/hyperium/http/issues/708">#708</a>)</li> <li>Fix <code>HeaderMap</code> capacity calculation in some cases (<a href="https://redirect.github.com/hyperium/http/issues/710">#710</a>)</li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/lgmsantos"><code>@​lgmsantos</code></a> made their first contribution in <a href="https://redirect.github.com/hyperium/http/pull/559">hyperium/http#559</a></li> <li><a href="https://github.com/Pi-Cla"><code>@​Pi-Cla</code></a> made their first contribution in <a href="https://redirect.github.com/hyperium/http/pull/690">hyperium/http#690</a></li> <li><a href="https://github.com/franfastly"><code>@​franfastly</code></a> made their first contribution in <a href="https://redirect.github.com/hyperium/http/pull/713">hyperium/http#713</a></li> <li><a href="https://github.com/wyatt-herkamp"><code>@​wyatt-herkamp</code></a> made their first contribution in <a href="https://redirect.github.com/hyperium/http/pull/714">hyperium/http#714</a></li> <li><a href="https://github.com/chen-hongzhi"><code>@​chen-hongzhi</code></a> made their first contribution in <a href="https://redirect.github.com/hyperium/http/pull/716">hyperium/http#716</a></li> <li><a href="https://github.com/39zde"><code>@​39zde</code></a> made their first contribution in <a href="https://redirect.github.com/hyperium/http/pull/718">hyperium/http#718</a></li> <li><a href="https://github.com/gretchenfrage"><code>@​gretchenfrage</code></a> made their first contribution in <a href="https://redirect.github.com/hyperium/http/pull/722">hyperium/http#722</a></li> <li><a href="https://github.com/alistaircarscadden"><code>@​alistaircarscadden</code></a> made their first contribution in <a href="https://redirect.github.com/hyperium/http/pull/724">hyperium/http#724</a></li> <li><a href="https://github.com/cemoktra"><code>@​cemoktra</code></a> made their first contribution in <a href="https://redirect.github.com/hyperium/http/pull/725">hyperium/http#725</a></li> <li><a href="https://github.com/Qqwy"><code>@​Qqwy</code></a> made their first contribution in <a href="https://redirect.github.com/hyperium/http/pull/729">hyperium/http#729</a></li> <li><a href="https://github.com/SmolPatches"><code>@​SmolPatches</code></a> made their first contribution in <a href="https://redirect.github.com/hyperium/http/pull/730">hyperium/http#730</a></li> <li><a href="https://github.com/dlzht"><code>@​dlzht</code></a> made their first contribution in <a href="https://redirect.github.com/hyperium/http/pull/708">hyperium/http#708</a></li> <li><a href="https://github.com/asudox"><code>@​asudox</code></a> made their first contribution in <a href="https://redirect.github.com/hyperium/http/pull/705">hyperium/http#705</a></li> <li><a href="https://github.com/WhyNotHugo"><code>@​WhyNotHugo</code></a> made their first contribution in <a href="https://redirect.github.com/hyperium/http/pull/680">hyperium/http#680</a></li> </ul> <h2>Thanks</h2> <ul> <li><a href="https://github.com/tottoto"><code>@​tottoto</code></a></li> <li><a href="https://github.com/seanmonstar"><code>@​seanmonstar</code></a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/hyperium/http/compare/v1.1.0...v1.2.0">https://github.com/hyperium/http/compare/v1.1.0...v1.2.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/hyperium/http/blob/master/CHANGELOG.md">http's changelog</a>.</em></p> <blockquote> <h1>1.2.0 (December 3, 2024)</h1> <ul> <li>Add <code>StatusCode::TOO_EARLY</code> constant for 425 status.</li> <li>Loosen <code>TryFrom&lt;HashMap&gt;</code> for <code>HeaderMap</code> to work with any state generic.</li> <li>Change <code>Builder</code> methods to use <code>TryInto</code> instead of <code>TryFrom</code> arguments.</li> <li>Make <code>StatusCode::as_u16</code> a <code>const</code> function.</li> <li>Fix <code>Method</code> parsing to allow <code>#$%&amp;'</code> characters.</li> <li>Fix <code>HeaderName</code> parsing to reject <code>&quot;</code> characters.</li> <li>Fix off by 1 error in <code>Method::from_bytes</code> that could cause extra allocations.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/hyperium/http/commit/a9124455213238a888a25607eb7ca368ecf0e712"><code>a912445</code></a> v1.2.0</li> <li><a href="https://github.com/hyperium/http/commit/072fd8a10ca42297461f06bd8929fd697aec7960"><code>072fd8a</code></a> feat: make <code>StatusCode::as_u16</code> a const fn (<a href="https://redirect.github.com/hyperium/http/issues/680">#680</a>)</li> <li><a href="https://github.com/hyperium/http/commit/2c8db783ee479fa222efe513ab32321b483f20dd"><code>2c8db78</code></a> docs: improve documentation for the <code>Extensions::insert</code> method (<a href="https://redirect.github.com/hyperium/http/issues/705">#705</a>)</li> <li><a href="https://github.com/hyperium/http/commit/a753ce40c0076cd8bcded2a1a305c8d680626d4c"><code>a753ce4</code></a> fix: capacity handling in HeaderMap::try_with_capacity (<a href="https://redirect.github.com/hyperium/http/issues/710">#710</a>)</li> <li><a href="https://github.com/hyperium/http/commit/92d4148a6490823dc285c8cc240d750e08f88d6a"><code>92d4148</code></a> fix: off by 1 error in Method::from_bytes causing an allocation (<a href="https://redirect.github.com/hyperium/http/issues/708">#708</a>)</li> <li><a href="https://github.com/hyperium/http/commit/5a1a5e8ee54fc2e2f274faf318d9a8b1129c386a"><code>5a1a5e8</code></a> feat: change to TryInto bounds for Builder Methods (<a href="https://redirect.github.com/hyperium/http/issues/730">#730</a>)</li> <li><a href="https://github.com/hyperium/http/commit/300f91da35009a8db8071258bb21794741b7b6a0"><code>300f91d</code></a> Generalize HeaderMap's TryFrom impl from HashMap, to allow other hashing func...</li> <li><a href="https://github.com/hyperium/http/commit/75298bd6ee42beef0e82eb4848c766c6f455ae12"><code>75298bd</code></a> feat: add StatusCode::TOO_EARLY 425 (<a href="https://redirect.github.com/hyperium/http/issues/725">#725</a>)</li> <li><a href="https://github.com/hyperium/http/commit/7faad85c9458f4e6bdc4628485efea20aa2b581f"><code>7faad85</code></a> docs: remove text stating http is early in lifecycle (<a href="https://redirect.github.com/hyperium/http/issues/724">#724</a>)</li> <li><a href="https://github.com/hyperium/http/commit/0136ae7f029ec01496c058e05ef2b509beb9316b"><code>0136ae7</code></a> docs: fix docs failing to compile (<a href="https://redirect.github.com/hyperium/http/issues/722">#722</a>)</li> <li>Additional commits viewable in <a href="https://github.com/hyperium/http/compare/v1.1.0...v1.2.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=http&package-manager=cargo&previous-version=1.1.0&new-version=1.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 11:31:26 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#3212
No description provided.