Update Rust crate axum to 0.5.17 - autoclosed #10
Reference in New Issue
Block a user
Delete Branch "renovate/axum-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
0.5.6->0.5.17Release Notes
tokio-rs/axum
v0.5.17#[track_caller]so the errormessage points to where the user added the invalid router, rather than
somewhere internally in axum (#1248)
Multipartextractor work withRequestBodyLimitmiddleware (#1379)DefaultBodyLimit::maxfor changing the default body limit (#1397)v0.5.16Security
breaking: Added default limit to how much data
Bytes::from_requestwillconsume. Previously it would attempt to consume the entire request body
without checking its length. This meant if a malicious peer sent an large (or
infinite) request body your server might run out of memory and crash.
The default limit is at 2 MB and can be disabled by adding the new
DefaultBodyLimit::disable()middleware. See its documentation for moredetails.
This also applies to these extractors which used
Bytes::from_requestinternally:
FormJsonStringThanks to Shachar Menashe for reporting this vulnerability.
(#1346)
v0.5.15Note: This is a re-release of 0.5.14 that fixes an accidental breaking change.
QueryRejectionresponse. (#1171)v0.5.14Yanked, as it contained an accidental breaking change.
v0.5.13WebSocketUpgradecannot upgrade the connection it will return aWebSocketUpgradeRejection::ConnectionNotUpgradablerejection (#1135)WebSocketUpgradeRejectionhas a new variantConnectionNotUpgradablevariant (#1135)
v0.5.12debug_handlerwhich is an attribute macro that improvestype errors when applied to handler function. It is re-exported from
axum-macros(#1144)v0.5.11TryFrom<http:: Method>forMethodFilterand use newNoMatchingMethodFiltererror in case of failure (#1130)v0.5.10Routercheaper to clone (#1123)v0.5.9headersis enabled and theformfeature is disabled (#1107)
v0.5.8Forwardedheader inHostextractor (#1078)
IntoResponseforForm(#1095)v0.5.7DefaultforExtension(#1043)Vec<(String, String)>inextract::Path<_>to get vector ofkey/value pairs (#1059)
extract::ws::close_codewhich contains constants for close codes (#1067)impl IntoResponseless in docs (#1049)Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.
This PR has been generated by Renovate Bot.
Update Rust crate axum to 0.5.17to Update Rust crate axum to 0.5.17 - autoclosedPull request closed