fix(deps): update rust crate axum to 0.7.4 by renovate[bot] · Pull Request #271 · zdz/ServerStatus-Rust
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| axum | dependencies | minor | 0.6.18 -> 0.7.4 |
Release Notes
tokio-rs/axum (axum)
v0.7.4: axum - v0.7.4
- fixed: Fix performance regression present since axum 0.7.0 (#2483)
- fixed: Improve
debug_handleron tuple response types (#2201) - added: Add
must_useattribute toServeandWithGracefulShutdown(#2484) - added: Re-export
axum_core::body::BodyDataStreamfrom axum
v0.7.3: axum - v0.7.3
- added:
BodyimplementsFrom<()>now (#2411) - change: Update version of multer used internally for multipart (#2433)
- change: Update tokio-tungstenite to 0.21 (#2435)
- added: Enable
tracingfeature by default (#2460) - added: Support graceful shutdown on
serve(#2398) - added:
RouterIntoServiceimplementsClone(#2456)
v0.7.2: axum - v0.7.2
v0.7.1: axum - v0.7.1
- fix: Fix readme.
v0.7.0: axum - v0.7.0
- breaking: Update public dependencies. axum now requires
- breaking: axum now requires tower-http 0.5
- breaking: Remove deprecated
WebSocketUpgrade::max_send_queue - breaking: The following types/traits are no longer generic over the request body
(i.e. theBtype param has been removed) (#1751 and #1789):FromRequestPartsFromRequestHandlerServiceHandlerWithoutStateExtHandlerLayeredFutureLayeredMethodRouterNextRequestExtRouteFutureRouteRouter
- breaking: axum no longer re-exports
hyper::Bodyas that type is removed
in hyper 1.0. Instead axum has its own body type ataxum::body::Body(#1751) - breaking:
extract::BodyStreamhas been removed asbody::Body
implementsStreamandFromRequestdirectly (#1751) - breaking: Change
sse::Event::json_datato useaxum_core::Erroras its error type (#1762) - breaking: Rename
DefaultOnFailedUpdgradetoDefaultOnFailedUpgrade(#1664) - breaking: Rename
OnFailedUpdgradetoOnFailedUpgrade(#1664) - breaking:
TypedHeaderhas been move toaxum-extra(#1850) - breaking: Removed re-exports of
EmptyandFull. Use
axum::body::Body::emptyandaxum::body::Body::fromrespectively (#1789) - breaking: The response returned by
IntoResponse::into_responsemust use
axum::body::Bodyas the body type.axum::response::Responsedoes this
(#1789) - breaking: Removed the
BoxBodytype alias and itsbox_body
constructor. Useaxum::body::Body::newinstead (#1789) - breaking: Remove
RawBodyextractor.axum::body::BodyimplementsFromRequestdirectly (#1789) - breaking: The following types from
http-bodyno longer implementIntoResponse:Full, useBody::frominsteadEmpty, useBody::emptyinsteadBoxBody, useBody::newinsteadUnsyncBoxBody, useBody::newinsteadMapData, useBody::newinsteadMapErr, useBody::newinstead
- added: Add
axum::extract::Requesttype alias where the body isaxum::body::Body(#1789) - added: Add
Router::as_serviceandRouter::into_serviceto workaround
type inference issues when callingServiceExtmethods on aRouter(#1835) - breaking: Removed
axum::Serveras it was removed in hyper 1.0. Instead
useaxum::serve(listener, service)or hyper/hyper-util for more configuration options (#1868) - breaking: Only inherit fallbacks for routers nested with
Router::nest.
Routers nested withRouter::nest_servicewill no longer inherit fallbacks (#1956) - fixed: Don't remove the
Sec-WebSocket-Keyheader inWebSocketUpgrade(#1972) - added: Add
axum::extract::Query::try_from_uri(#2058) - added: Implement
IntoResponseforBox<str>andBox<[u8]>([#2035]) - breaking: Simplify
MethodFilter. It no longer uses bitflags (#2073) - fixed: Fix bugs around merging routers with nested fallbacks (#2096)
- fixed: Fix
.source()of composite rejections (#2030) - fixed: Allow unreachable code in
#[debug_handler](#2014) - change: axum's MSRV is now 1.66 (#1882)
- added: Implement
IntoResponsefor(R,) where R: IntoResponse(#2143) - changed: For SSE, add space between field and value for compatibility (#2149)
- added: Add
NestedPathextractor (#1924) - added: Add
handle_errorfunction to existingServiceExttrait (#2235) - breaking:
impl<T> IntoResponse(Parts) for Extension<T>now requires
T: Clone, as that is required by the http crate (#1882) - added: Add
axum::Json::from_bytes(#2244) - added: Implement
FromRequestPartsforhttp::request::Parts(#2328) - added: Implement
FromRequestPartsforhttp::Extensions(#2328) - fixed: Clearly document applying
DefaultBodyLimitto individual routes (#2157)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 Mend Renovate. View repository job log here.