-
Notifications
You must be signed in to change notification settings - Fork 1
Commit 8b7b336
authored
chore(deps): update rust crate axum to 0.8.0 (#291)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [axum](https://redirect.github.com/tokio-rs/axum) | dependencies |
minor | `0.7.5` -> `0.8.0` |
---
### Release Notes
<details>
<summary>tokio-rs/axum (axum)</summary>
###
[`v0.8.0`](https://redirect.github.com/tokio-rs/axum/releases/tag/axum-v0.8.0):
axum v0.8.0
[Compare
Source](https://redirect.github.com/tokio-rs/axum/compare/axum-v0.7.9...axum-v0.8.0)
#### since rc.1
<details>
- **breaking:** `axum::extract::ws::Message` now uses `Bytes` in place
of `Vec<u8>`,
and a new `Utf8Bytes` type in place of `String`, for its variants
([#​3078])
- **breaking:** Remove `OptionalFromRequestParts` impl for `Query`
([#​3088])
- **changed:** Upgraded `tokio-tungstenite` to 0.26 ([#​3078])
- **changed:** Query/Form: Use `serde_path_to_error` to report fields
that failed to parse ([#​3081])
</details>
#### full changelog
*Note: there are further relevant changes in [axum-core's
changelog](https://redirect.github.com/tokio-rs/axum/releases/tag/axum-core-v0.5.0)*
- **breaking:** Upgrade matchit to 0.8, changing the path parameter
syntax from `/:single` and `/*many` to `/{single}` and `/{*many}`; the
old syntax produces a panic to avoid silent change in behavior
([#​2645])
- **breaking:** Require `Sync` for all handlers and services added to
`Router` and `MethodRouter` ([#​2473])
- **breaking:** The tuple and tuple_struct `Path` extractor
deserializers now check that the number of parameters matches the tuple
length exactly ([#​2931])
- **breaking:** Move `Host` extractor to `axum-extra` ([#​2956])
- **breaking:** Remove `WebSocket::close`. Users should explicitly send
close messages themselves. ([#​2974])
- **breaking:** Make `serve` generic over the listener and IO types
([#​2941])
- **breaking:** Remove `Serve::tcp_nodelay` and
`WithGracefulShutdown::tcp_nodelay`.
See `serve::ListenerExt` for an API that let you set arbitrary TCP
stream properties. ([#​2941])
- **breaking:** `Option<Path<T>>` no longer swallows all error
conditions,
instead rejecting the request in many cases; see its documentation for
details ([#​2475])
- **breaking:** `axum::extract::ws::Message` now uses `Bytes` in place
of `Vec<u8>`,
and a new `Utf8Bytes` type in place of `String`, for its variants
([#​3078])
- **fixed:** Skip SSE incompatible chars of `serde_json::RawValue` in
`Event::json_data` ([#​2992])
- **fixed:** Don't panic when array type is used for path segment
([#​3039])
- **fixed:** Avoid setting `content-length` before middleware.
This allows middleware to add bodies to requests without needing to
manually set `content-length` ([#​2897])
- **change:** Update minimum rust version to 1.75 ([#​2943])
- **changed:** Upgraded `tokio-tungstenite` to 0.26 ([#​3078])
- **changed:** Query/Form: Use `serde_path_to_error` to report fields
that failed to parse ([#​3081])
- **added:** Add `method_not_allowed_fallback` to set a fallback when a
path matches but there is no handler for the given HTTP method
([#​2903])
- **added:** Add `NoContent` as a self-described shortcut for
`StatusCode::NO_CONTENT` ([#​2978])
- **added:** Add support for WebSockets over HTTP/2. They can be enabled
by changing `get(ws_endpoint)` handlers to `any(ws_endpoint)`
([#​2894])
- **added:** Add `MethodFilter::CONNECT`, `routing::connect[_service]`
and `MethodRouter::connect[_service]` ([#​2961])
- **added:** Extend `FailedToDeserializePathParams::kind` enum with
(`ErrorKind::DeserializeError`). This new variant captures both `key`,
`value`, and `message` from named path parameters parse errors, instead
of only deserialization error message in `ErrorKind::Message`.
([#​2720])
[#​2475]: https://redirect.github.com/tokio-rs/axum/pull/2475
[#​2897]: https://redirect.github.com/tokio-rs/axum/pull/2897
[#​2903]: https://redirect.github.com/tokio-rs/axum/pull/2903
[#​2894]: https://redirect.github.com/tokio-rs/axum/pull/2894
[#​2956]: https://redirect.github.com/tokio-rs/axum/pull/2956
[#​2961]: https://redirect.github.com/tokio-rs/axum/pull/2961
[#​2974]: https://redirect.github.com/tokio-rs/axum/pull/2974
[#​2978]: https://redirect.github.com/tokio-rs/axum/pull/2978
[#​2992]: https://redirect.github.com/tokio-rs/axum/pull/2992
[#​2720]: https://redirect.github.com/tokio-rs/axum/pull/2720
[#​3039]: https://redirect.github.com/tokio-rs/axum/pull/3039
[#​2941]: https://redirect.github.com/tokio-rs/axum/pull/2941
[#​2473]: https://redirect.github.com/tokio-rs/axum/pull/2473
[#​2645]: https://redirect.github.com/tokio-rs/axum/pull/2645
[#​2931]: https://redirect.github.com/tokio-rs/axum/pull/2931
[#​2943]: https://redirect.github.com/tokio-rs/axum/pull/2943
[#​3078]: https://redirect.github.com/tokio-rs/axum/pull/3078
[#​3081]: https://redirect.github.com/tokio-rs/axum/pull/3081
[#​3088]: https://redirect.github.com/tokio-rs/axum/pull/3088
</details>
---
### Configuration
📅 **Schedule**: 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/apollographql/subgraph-template-rust-async-graphql).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45Mi4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTIuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent d62cb01 commit 8b7b336Copy full SHA for 8b7b336
Expand file treeCollapse file tree
1 file changed
+1
-1
lines changed+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
|
0 commit comments