Commit d96ea80
chore(deps): bump tower-http from 0.6.10 to 0.6.11 in /bots/echidnabot (#197)
Bumps [tower-http](https://github.com/tower-rs/tower-http) from 0.6.10
to 0.6.11.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/tower-rs/tower-http/releases">tower-http's
releases</a>.</em></p>
<blockquote>
<h2>tower-http-0.6.11</h2>
<h2>Added</h2>
<ul>
<li>
<p><code>set-header</code>: add
<code>SetMultipleResponseHeadersLayer</code> and
<code>SetMultipleResponseHeader</code> for setting multiple response
headers at once.
Supports <code>overriding</code>, <code>appending</code>, and
<code>if_not_present</code> modes. Header
values can be fixed or computed dynamically via closures (<a
href="https://redirect.github.com/tower-rs/tower-http/issues/672">#672</a>)</p>
<pre lang="rust"><code>use http::{Response, header::{self,
HeaderValue}};
use http_body::Body as _;
use tower_http::set_header::response::SetMultipleResponseHeadersLayer;
<p>let layer = SetMultipleResponseHeadersLayer::overriding(vec![<br />
(header::X_FRAME_OPTIONS,
HeaderValue::from_static("DENY")).into(),<br />
(header::CONTENT_LENGTH, |res: &Response<MyBody>| {<br />
res.body().size_hint().exact()<br />
.map(|size| HeaderValue::from_str(&size.to_string()).unwrap())<br />
}).into(),<br />
]);<br />
</code></pre></p>
</li>
<li>
<p><code>set-header</code>: add
<code>SetMultipleRequestHeadersLayer</code> and
<code>SetMultipleRequestHeaders</code> for setting multiple request
headers at once,
mirroring the response-side API (<a
href="https://redirect.github.com/tower-rs/tower-http/issues/677">#677</a>)</p>
</li>
<li>
<p><code>classify</code>: add <code>From<i32></code> and
<code>From<NonZeroI32></code> impls for <code>GrpcCode</code>.
Unrecognized status codes map to <code>GrpcCode::Unknown</code> (<a
href="https://redirect.github.com/tower-rs/tower-http/issues/506">#506</a>)</p>
</li>
</ul>
<h2>Changed</h2>
<ul>
<li><code>compression</code>: compress <code>application/grpc-web</code>
responses. Previously all
<code>application/grpc*</code> content types were excluded from
compression; now only
<code>application/grpc</code> (non-web) is excluded (<a
href="https://redirect.github.com/tower-rs/tower-http/issues/408">#408</a>)</li>
</ul>
<h2>Fixed</h2>
<ul>
<li><code>fs</code>: fix <code>ServeDir</code> returning 500 instead of
405 for non-GET/HEAD requests
when <code>call_fallback_on_method_not_allowed</code> is enabled but no
fallback service
is configured (<a
href="https://redirect.github.com/tower-rs/tower-http/issues/587">#587</a>)</li>
<li><code>fs</code>: remove duplicate <code>cfg</code> attribute on
<code>is_reserved_dos_name</code> (<a
href="https://redirect.github.com/tower-rs/tower-http/issues/675">#675</a>)</li>
</ul>
<p><a
href="https://redirect.github.com/tower-rs/tower-http/issues/408">#408</a>:
<a
href="https://redirect.github.com/tower-rs/tower-http/pull/408">tower-rs/tower-http#408</a>
<a
href="https://redirect.github.com/tower-rs/tower-http/issues/506">#506</a>:
<a
href="https://redirect.github.com/tower-rs/tower-http/pull/506">tower-rs/tower-http#506</a>
<a
href="https://redirect.github.com/tower-rs/tower-http/issues/587">#587</a>:
<a
href="https://redirect.github.com/tower-rs/tower-http/pull/587">tower-rs/tower-http#587</a>
<a
href="https://redirect.github.com/tower-rs/tower-http/issues/672">#672</a>:
<a
href="https://redirect.github.com/tower-rs/tower-http/pull/672">tower-rs/tower-http#672</a>
<a
href="https://redirect.github.com/tower-rs/tower-http/issues/675">#675</a>:
<a
href="https://redirect.github.com/tower-rs/tower-http/pull/675">tower-rs/tower-http#675</a>
<a
href="https://redirect.github.com/tower-rs/tower-http/issues/677">#677</a>:
<a
href="https://redirect.github.com/tower-rs/tower-http/pull/677">tower-rs/tower-http#677</a></p>
<h2>All PRs</h2>
<ul>
<li>ci: fix flaky encoding test, add nightly stress test job by <a
href="https://github.com/jlizen"><code>@jlizen</code></a> in <a
href="https://redirect.github.com/tower-rs/tower-http/pull/670">tower-rs/tower-http#670</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/tower-rs/tower-http/commit/1d082ef7bdb6d80a2964698804a46c338b4c6a99"><code>1d082ef</code></a>
v0.6.11</li>
<li><a
href="https://github.com/tower-rs/tower-http/commit/9c3117d856986336ca0662ca7c78318e724e0fda"><code>9c3117d</code></a>
feat: set multiple request header (<a
href="https://redirect.github.com/tower-rs/tower-http/issues/677">#677</a>)</li>
<li><a
href="https://github.com/tower-rs/tower-http/commit/667e7c7a7c109488479b1e9c1d57093dbeb6d867"><code>667e7c7</code></a>
Remove duplicate cfg attribute for is_reserved_dos_name (<a
href="https://redirect.github.com/tower-rs/tower-http/issues/675">#675</a>)</li>
<li><a
href="https://github.com/tower-rs/tower-http/commit/7551a9b8b9706ca1e11c035659b243f688b136bd"><code>7551a9b</code></a>
feat(set_header): refactor and improve multiple header middleware (<a
href="https://redirect.github.com/tower-rs/tower-http/issues/672">#672</a>)</li>
<li><a
href="https://github.com/tower-rs/tower-http/commit/991e9ee595882626fe3a0b3ceec3df54d4e7f9b5"><code>991e9ee</code></a>
add From<i32> impl for GrpcCode (<a
href="https://redirect.github.com/tower-rs/tower-http/issues/506">#506</a>)</li>
<li><a
href="https://github.com/tower-rs/tower-http/commit/3962dbab7b74b8543a8baafa3dae49af06fb8fd7"><code>3962dba</code></a>
Do compress grpc-web responses (<a
href="https://redirect.github.com/tower-rs/tower-http/issues/408">#408</a>)</li>
<li><a
href="https://github.com/tower-rs/tower-http/commit/f0b3bb6dcde9996d11d0b820c7dd1006bbdf9f23"><code>f0b3bb6</code></a>
Fix serve_dir method not allowed handling when no fallback is configured
(<a
href="https://redirect.github.com/tower-rs/tower-http/issues/587">#587</a>)</li>
<li><a
href="https://github.com/tower-rs/tower-http/commit/d1a571bdeb2cb0e92f0670b09a4309b8e97cab9f"><code>d1a571b</code></a>
ci: use static timeout in stress-test workflow (<a
href="https://redirect.github.com/tower-rs/tower-http/issues/671">#671</a>)</li>
<li><a
href="https://github.com/tower-rs/tower-http/commit/309555a6a2f0b5343e1bd5aaea958d9e873150b3"><code>309555a</code></a>
ci: fix flaky encoding test, add nightly stress test job (<a
href="https://redirect.github.com/tower-rs/tower-http/issues/670">#670</a>)</li>
<li>See full diff in <a
href="https://github.com/tower-rs/tower-http/compare/tower-http-0.6.10...tower-http-0.6.11">compare
view</a></li>
</ul>
</details>
<br />
[](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 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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>1 parent f024ea2 commit d96ea80
1 file changed
Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments