Skip to content

Commit

Permalink
Bump http from 1.1.0 to 1.2.0 (#69)
Browse files Browse the repository at this point in the history
[//]: # (dependabot-start)
⚠️  **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.

---

[//]: # (dependabot-end)

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>
  • Loading branch information
sjoerdsimons authored Jan 17, 2025
2 parents 5c9f98e + 5aab834 commit 0ffb6a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gitlab-runner-mock/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ serde = { version = "1.0.200", features = ["derive"] }
serde_json = "1.0.64"
url = "2.5.4"
thiserror = "2.0.11"
http = "1.0.0"
http = "1.2.0"
multer = "3.0.0"
futures = "0.3.15"

0 comments on commit 0ffb6a5

Please sign in to comment.