chore(deps): update rust crate tower-http to v0.7.1 #200

Open
rosa wants to merge 1 commit from renovate/tower-http-0.x-lockfile into main
Owner

This PR contains the following updates:

Package Type Update Change
tower-http workspace.dependencies patch 0.7.00.7.1

Release Notes

tower-rs/tower-http (tower-http)

v0.7.1

Compare Source

Added

  • fs: add ServeDir::redirect_to_trailing_slash() to serve directory indexes directly instead of first redirecting to the trailing-slash path. The redirect remains the default (#​728)
  • fs: add ignore_multi_range_requests() to ServeDir and ServeFile, serving the full representation when a request asks for multiple byte ranges. The existing 416 Range Not Satisfiable response remains the default (#​727)
  • request-id: the constructors and accessors on the request-id layers, services, and RequestId are now const fn, so they can be used in const context (#​716)

Changed

  • fs: the minimum http-range-header requirement is now 0.4.2 (#​661)

Fixed

  • behavioral change: fs: make ServeDir::try_call propagate expected filesystem
    I/O errors when no fallback is configured, as documented, instead of converting
    them to 404 Not Found responses (#​718)
  • decompression: don't end the body when a data frame with no remaining bytes
    arrives after the decompressor reports end-of-stream. Trailers following such a
    frame were dropped and could not be recovered (#​722)
  • decompression: return a body error when a data frame with remaining bytes
    arrives after the decompressor reports end-of-stream, rather than silently
    truncating. This regressed in 0.7.0 (#​712)
  • fs: multipart range requests are now rejected before range validation, so
    they consistently return 416 Range Not Satisfiable with a
    Cannot serve multipart range requests body instead of a generic
    unsatisfiable-range response (#​661)
  • fs: range error responses no longer carry representation headers such as
    Content-Type and Content-Encoding (#​727)
  • set-header: SetMultipleResponseHeadersLayer and SetMultipleResponseHeader
    are now Clone regardless of the response body type, matching the fix applied
    to the request-side types in 0.7.0 (#​714)

All the changes

New Contributors


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [tower-http](https://github.com/tower-rs/tower-http) | workspace.dependencies | patch | `0.7.0` → `0.7.1` | --- ### Release Notes <details> <summary>tower-rs/tower-http (tower-http)</summary> ### [`v0.7.1`](https://github.com/tower-rs/tower-http/releases/tag/tower-http-0.7.1) [Compare Source](https://github.com/tower-rs/tower-http/compare/tower-http-0.7.0...tower-http-0.7.1) #### Added - `fs`: add `ServeDir::redirect_to_trailing_slash()` to serve directory indexes directly instead of first redirecting to the trailing-slash path. The redirect remains the default ([#&#8203;728]) - `fs`: add `ignore_multi_range_requests()` to `ServeDir` and `ServeFile`, serving the full representation when a request asks for multiple byte ranges. The existing `416 Range Not Satisfiable` response remains the default ([#&#8203;727]) - `request-id`: the constructors and accessors on the request-id layers, services, and `RequestId` are now `const fn`, so they can be used in const context ([#&#8203;716]) #### Changed - `fs`: the minimum `http-range-header` requirement is now 0.4.2 ([#&#8203;661]) #### Fixed - **behavioral change:** `fs`: make `ServeDir::try_call` propagate expected filesystem I/O errors when no fallback is configured, as documented, instead of converting them to `404 Not Found` responses ([#&#8203;718]) - `decompression`: don't end the body when a data frame with no remaining bytes arrives after the decompressor reports end-of-stream. Trailers following such a frame were dropped and could not be recovered ([#&#8203;722]) - `decompression`: return a body error when a data frame with remaining bytes arrives after the decompressor reports end-of-stream, rather than silently truncating. This regressed in 0.7.0 ([#&#8203;712]) - `fs`: multipart range requests are now rejected before range validation, so they consistently return `416 Range Not Satisfiable` with a `Cannot serve multipart range requests` body instead of a generic unsatisfiable-range response ([#&#8203;661]) - `fs`: range error responses no longer carry representation headers such as `Content-Type` and `Content-Encoding` ([#&#8203;727]) - `set-header`: `SetMultipleResponseHeadersLayer` and `SetMultipleResponseHeader` are now `Clone` regardless of the response body type, matching the fix applied to the request-side types in 0.7.0 ([#&#8203;714]) [#&#8203;661]: https://github.com/tower-rs/tower-http/pull/661 [#&#8203;712]: https://github.com/tower-rs/tower-http/pull/712 [#&#8203;714]: https://github.com/tower-rs/tower-http/pull/714 [#&#8203;716]: https://github.com/tower-rs/tower-http/pull/716 [#&#8203;718]: https://github.com/tower-rs/tower-http/pull/718 [#&#8203;722]: https://github.com/tower-rs/tower-http/pull/722 [#&#8203;727]: https://github.com/tower-rs/tower-http/pull/727 [#&#8203;728]: https://github.com/tower-rs/tower-http/pull/728 #### All the changes - chore(deps): bump actions/checkout from 6 to 7 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;708](https://github.com/tower-rs/tower-http/pull/708) - fix(compression): reject non-empty data frames after codec is EOF by [@&#8203;seanmonstar](https://github.com/seanmonstar) in [#&#8203;712](https://github.com/tower-rs/tower-http/pull/712) - Remove Clone derivations from SetMultipleResponseHeader\* types by [@&#8203;skeet70](https://github.com/skeet70) in [#&#8203;714](https://github.com/tower-rs/tower-http/pull/714) - feat(request-id): Allow request-id constructor in const context by [@&#8203;tottoto](https://github.com/tottoto) in [#&#8203;716](https://github.com/tower-rs/tower-http/pull/716) - fs: Avoid unnecessary conversions between SystemTime and HttpDate by [@&#8203;tottoto](https://github.com/tottoto) in [#&#8203;717](https://github.com/tower-rs/tower-http/pull/717) - fs: Use HeaderValue::is\_empty to check for empty values by [@&#8203;tottoto](https://github.com/tottoto) in [#&#8203;720](https://github.com/tower-rs/tower-http/pull/720) - fs: Use HeaderValue::to\_str for date headers by [@&#8203;tottoto](https://github.com/tottoto) in [#&#8203;721](https://github.com/tower-rs/tower-http/pull/721) - chore(deps): bump taiki-e/install-action from 2 to 2.85.4 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;715](https://github.com/tower-rs/tower-http/pull/715) - chore(deps): bump taiki-e/install-action from 2.85.4 to 2.85.12 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;723](https://github.com/tower-rs/tower-http/pull/723) - docs(example)/custom future with multiple bodies by [@&#8203;Reza-Darius](https://github.com/Reza-Darius) in [#&#8203;711](https://github.com/tower-rs/tower-http/pull/711) - fix(decompression): don't end the body on an empty data frame by [@&#8203;clemenslosbichler-cloud](https://github.com/clemenslosbichler-cloud) in [#&#8203;722](https://github.com/tower-rs/tower-http/pull/722) - Propagate ServeDir::try\_call I/O errors by [@&#8203;Boulea7](https://github.com/Boulea7) in [#&#8203;718](https://github.com/tower-rs/tower-http/pull/718) - ci: Update to cargo-check-external-types 0.5.0 by [@&#8203;tottoto](https://github.com/tottoto) in [#&#8203;724](https://github.com/tower-rs/tower-http/pull/724) - fix: reject multipart ranges before validation by [@&#8203;shblue21](https://github.com/shblue21) in [#&#8203;661](https://github.com/tower-rs/tower-http/pull/661) - chore(deps): bump taiki-e/install-action from 2.85.12 to 2.86.3 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;726](https://github.com/tower-rs/tower-http/pull/726) - feat(services): configure directory redirects by [@&#8203;BreezeDelegate](https://github.com/BreezeDelegate) in [#&#8203;728](https://github.com/tower-rs/tower-http/pull/728) - Allow ignoring unsupported multi-range requests by [@&#8203;BreezeDelegate](https://github.com/BreezeDelegate) in [#&#8203;727](https://github.com/tower-rs/tower-http/pull/727) - chore(deps): bump taiki-e/install-action from 2.86.3 to 2.86.8 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;730](https://github.com/tower-rs/tower-http/pull/730) - chore(release): prepare 0.7.1 by [@&#8203;jlizen](https://github.com/jlizen) in [#&#8203;729](https://github.com/tower-rs/tower-http/pull/729) #### New Contributors - [@&#8203;skeet70](https://github.com/skeet70) made their first contribution in [#&#8203;714](https://github.com/tower-rs/tower-http/pull/714) - [@&#8203;Reza-Darius](https://github.com/Reza-Darius) made their first contribution in [#&#8203;711](https://github.com/tower-rs/tower-http/pull/711) - [@&#8203;clemenslosbichler-cloud](https://github.com/clemenslosbichler-cloud) made their first contribution in [#&#8203;722](https://github.com/tower-rs/tower-http/pull/722) - [@&#8203;Boulea7](https://github.com/Boulea7) made their first contribution in [#&#8203;718](https://github.com/tower-rs/tower-http/pull/718) - [@&#8203;shblue21](https://github.com/shblue21) made their first contribution in [#&#8203;661](https://github.com/tower-rs/tower-http/pull/661) - [@&#8203;BreezeDelegate](https://github.com/BreezeDelegate) made their first contribution in [#&#8203;728](https://github.com/tower-rs/tower-http/pull/728) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yODguMCIsInVwZGF0ZWRJblZlciI6IjQzLjI4OC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==-->
chore(deps): update rust crate tower-http to v0.7.1
Some checks failed
renovate/stability-days Updates have met minimum release age requirement
ci/woodpecker/push/clippy Pipeline was canceled
ci/woodpecker/push/test Pipeline was canceled
a015b4c236
rosa scheduled this pull request to auto merge when all checks succeed 2026-09-07 20:10:35 +00:00
Author
Owner

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.


  • Branch has one or more failed status checks
### Branch automerge failure This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead. ___ * Branch has one or more failed status checks
Some checks failed
renovate/stability-days Updates have met minimum release age requirement
ci/woodpecker/push/clippy Pipeline was canceled
ci/woodpecker/push/test Pipeline was canceled
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/tower-http-0.x-lockfile:renovate/tower-http-0.x-lockfile
git switch renovate/tower-http-0.x-lockfile
Sign in to join this conversation.
No description provided.