Releases: tokio-rs/axum
Releases · tokio-rs/axum
axum-v0.8.9
- added:
WebSocketUpgrade::{requested_protocols, set_selected_protocol}for more flexible subprotocol selection (#3597) - changed: Update minimum rust version to 1.80 (#3620)
- fixed: Set connect endpoint on correct field in MethodRouter (#3656)
- fixed: Return specific error message when multipart body limit is exceeded (#3611)
axum-macros-v0.5.1
- fixed: Fix compilation error when deriving
TypedPathwithOptionalFromRequestPartsbeing in scope (#3645)
axum-extra-v0.12.6
- fixed: Escape backslashes and double quotes in
Content-Dispositionfilenames to prevent header parameter injection inAttachmentandFileStream(#3664) vpath!macro now stops the compilation if your path is using deprecated path variables in the old107format, such as:varand*var. the only allowed way now is{var}. (#3618)- fixed: Return specific error message when multipart body limit is exceeded (#3611)
axum-core v0.5.6
Improve error messages with #[diagnostic::do_not_recommend].
axum v0.8.8
- Clarify documentation for
Router::route_layer(#3567)
axum-extra v0.12.3
axum v0.8.7
axum-extra v0.12.2
- Make it easier to visually scan for default features (#3550)
axum-extra v0.12.0
- breaking: Remove unused
async-streamfeature, which was accidentally
introduced as an implicit feature through an optional dependency which was no
longer being used (#3298) - breaking:
option_layernow maps theResponsebody type toaxum::body::Body(#3469) - breaking: Some new features are added which need to be opted in (#3485).
Cachedextractor requirescachedfeature.- The handler utilities require
handlerfeature. - The middleware utilities require
middlewarefeature. OptionalPathextractor requiresoptional-pathfeature.- The routing utilities require
routingfeature. WithRejectionextractor requireswith-rejectionfeature.
- breaking: Upgraded
prostdependency to v0.14. (#3517)
axum v0.8.5
- fixed: Reject JSON request bodies with trailing characters after the JSON document (#3453)
- added: Implement
OptionalFromRequestforMultipart(#3220) - added: Getter methods
Location::{status_code, location} - added: Support for writing arbitrary binary data into server-sent events (#3425)]
- added:
middleware::ResponseAxumBodyLayerfor mapping response body toaxum::body::Body(#3469) - added:
impl FusedStream for WebSocket(#3443) - changed: The
ssemodule andSsetype no longer depend on thetokiofeature (#3154) - changed: If the location given to one of
Redirects constructors is not a valid header value, instead of panicking on construction, theIntoResponseimpl now returns an HTTP 500, just likeJsondoes when serialization fails (#3377) - changed: Update minimum rust version to 1.78 (#3412)