Releases: tokio-rs/axum
Releases · tokio-rs/axum
axum v0.8.5
- fixed: Reject JSON request bodies with trailing characters after the JSON document (#3453)
- added: Implement
OptionalFromRequest
forMultipart
(#3220) - added: Getter methods
Location::{status_code, location}
- added: Support for writing arbitrary binary data into server-sent events (#3425)]
- added:
middleware::ResponseAxumBodyLayer
for mapping response body toaxum::body::Body
(#3469) - added:
impl FusedStream for WebSocket
(#3443) - changed: The
sse
module andSse
type no longer depend on thetokio
feature (#3154) - changed: If the location given to one of
Redirect
s constructors is not a valid header value, instead of panicking on construction, theIntoResponse
impl now returns an HTTP 500, just likeJson
does when serialization fails (#3377) - changed: Update minimum rust version to 1.78 (#3412)
axum-extra v0.10.2
- added: Implement
OptionalFromRequest
forHost
(#3177)
axum-core v0.5.4
- fixed: Removed unused
rustversion
dependency (#3502)
axum-core v0.5.3
axum v0.8.4
axum v0.8.3
- added: Implement
From<Bytes>
forMessage
(#3273) - added: Implement
OptionalFromRequest
forJson
(#3142) - added: Implement
OptionalFromRequest
forExtension
(#3157) - added: Allow setting the read buffer capacity of
WebSocketUpgrade
(#3178) - changed: Improved code size / compile time of dependent crates (#3285, #3294)
axum-extra v0.10.1
axum-core v0.5.2
- added: Implement
Stream::size_hint
forBodyDataStream
(#3195)
axum v0.8.2
Yanked from crates.io due to unforeseen breaking change, see #3190 for details
axum-extra v0.11.0
Yanked from crates.io due to unforeseen breaking change, see #3190 for details
- breaking: Remove unused
async-stream
feature, which was accidentally
introduced as an implicit feature through an optional dependency which was no
longer being used (#3145) - fixed: Fix a broken link in the documentation of
ErasedJson
(#3186) - changed: Make the
status
function of rejections aconst
function, such
asFormRejection
,QueryRejection
andMultipartRejection
(#3168)