Skip to content

Commit

Permalink
Update Rust crate tower-http to 0.6 (#32973)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [tower-http](https://redirect.github.com/tower-rs/tower-http) | workspace.dependencies | minor | `0.5` -> `0.6` |

---

### Release Notes

<details>
<summary>tower-rs/tower-http (tower-http)</summary>

### [`v0.6.2`](https://redirect.github.com/tower-rs/tower-http/releases/tag/tower-http-0.6.2)

[Compare Source](https://redirect.github.com/tower-rs/tower-http/compare/tower-http-0.6.1...tower-http-0.6.2)

#### Changed:

-   `CompressionBody<B>` now propagates `B`'s size hint in its `http_body::Body`
    implementation, if compression is disabled ([#&#8203;531])
    -   this allows a `content-length` to be included in an HTTP message with this
        body for those cases

[#&#8203;531]: https://redirect.github.com/tower-rs/tower-http/pull/531

#### New Contributors

-   [@&#8203;musicinmybrain](https://redirect.github.com/musicinmybrain) made their first contribution in [https://github.com/tower-rs/tower-http/pull/524](https://redirect.github.com/tower-rs/tower-http/pull/524)
-   [@&#8203;SabrinaJewson](https://redirect.github.com/SabrinaJewson) made their first contribution in [https://github.com/tower-rs/tower-http/pull/531](https://redirect.github.com/tower-rs/tower-http/pull/531)

**Full Changelog**: tower-rs/tower-http@tower-http-0.6.1...tower-http-0.6.2

### [`v0.6.1`](https://redirect.github.com/tower-rs/tower-http/releases/tag/tower-http-0.6.1): v0.6.1

[Compare Source](https://redirect.github.com/tower-rs/tower-http/compare/tower-http-0.6.0...tower-http-0.6.1)

#### Fixed

-   **decompression:** reuse scratch buffer to significantly reduce allocations and improve performance ([#&#8203;521])

[#&#8203;521]: https://redirect.github.com/tower-rs/tower-http/pull/521

#### New Contributors

-   [@&#8203;magurotuna](https://redirect.github.com/magurotuna) made their first contribution in [https://github.com/tower-rs/tower-http/pull/521](https://redirect.github.com/tower-rs/tower-http/pull/521)

### [`v0.6.0`](https://redirect.github.com/tower-rs/tower-http/releases/tag/tower-http-0.6.0): v0.6.0

[Compare Source](https://redirect.github.com/tower-rs/tower-http/compare/tower-http-0.5.2...tower-http-0.6.0)

#### Changed:

-   `body` module is disabled except for `catch-panic`, `decompression-*`, `fs`, or `limit` features (BREAKING) ([#&#8203;477])
-   Update to `tower` 0.5 ([#&#8203;503])

#### Fixed

-   **fs:** Precompression of static files now supports files without a file extension ([#&#8203;507])

[#&#8203;477]: https://redirect.github.com/tower-rs/tower-http/pull/477

[#&#8203;503]: https://redirect.github.com/tower-rs/tower-http/pull/503

[#&#8203;507]: https://redirect.github.com/tower-rs/tower-http/pull/507

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on the first day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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 [Renovate Bot](https://redirect.github.com/renovatebot/renovate).

GitOrigin-RevId: 452ff7fdf1fa0d14b39c1f7f7251ec31f8ff0b03
  • Loading branch information
convex-renovate-runner[bot] authored and Convex, Inc. committed Jan 9, 2025
1 parent a1cdd70 commit ae684ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 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 Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ tonic-build = "0.12.3"
tonic-health = "0.12.3"
tower = { version = "0.4", features = [ "limit", "timeout" ] }
tower-cookies = "0.10"
tower-http = { version = "0.5", features = [ "trace", "cors", "decompression-br" ] }
tower-http = { version = "0.6", features = [ "trace", "cors", "decompression-br" ] }
tracing = "0.1"
tracing-appender = { version = "0.2" }
tracing-subscriber = { version = "0.3.17", features = [ "env-filter", "json" ] }
Expand Down

0 comments on commit ae684ad

Please sign in to comment.