Releases: tokio-rs/axum
Releases · tokio-rs/axum
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)
axum-extra v0.10.2
- added: Implement
OptionalFromRequestforHost(#3177)
axum-core v0.5.4
- fixed: Removed unused
rustversiondependency (#3502)
axum-core v0.5.3
axum v0.8.4
axum v0.8.3
- added: Implement
From<Bytes>forMessage(#3273) - added: Implement
OptionalFromRequestforJson(#3142) - added: Implement
OptionalFromRequestforExtension(#3157) - added: Allow setting the read buffer capacity of
WebSocketUpgrade(#3178) - changed: Improved code size / compile time of dependent crates (#3285, #3294)