- 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)