Sourced from axum's releases.
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)
#3154: tokio-rs/axum#3154 #3220: tokio-rs/axum#3220 #3377: tokio-rs/axum#3377 #3412: tokio-rs/axum#3412 #3425: tokio-rs/axum#3425 #3443: tokio-rs/axum#3443 #3453: tokio-rs/axum#3453 #3469: tokio-rs/axum#3469
a1d22f6
Release axum 0.8.5 and related cratesad2fd5b
Update changelogsa0692f9
Reject JSON bodies with trailing chars (#3453)ae80850
Update to cargo-deny api version 2 (#3475)651cc1e
Remove unused link def6529158
Bump Cargo.lock1a7460c
ci: Also run for release branchescb8670a
Update to tokio-tungstenite 0.28 (#3497)0c66493
axum-extra: Remove unused tower dependency (#3486)6f1ed5e
Spelling misstake in Using closure capture (#3481)