@@ -11,20 +11,39 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111- ** breaking:** ` #[from_request(via(Extractor))] ` now uses the extractor's
1212 rejection type instead of ` axum::response::Response ` ([ #3261 ] )
1313- ** breaking:** ` axum::serve ` now applies hyper's default ` header_read_timeout ` ([ #3478 ] )
14- - ** added:** Implement ` OptionalFromRequest ` for ` Multipart ` ([ #3220 ] )
1514- ** added:** New ` ListenerExt::limit_connections ` allows limiting concurrent ` axum::serve ` connections ([ #3489 ] )
1615- ** changed:** ` serve ` has an additional generic argument and can now work with any response body
1716 type, not just ` axum::body::Body ` ([ #3205 ] )
18- - ** change:** Update minimum rust version to 1.78 ([ #3412 ] )
1917
2018[ #3158 ] : https://github.com/tokio-rs/axum/pull/3158
2119[ #3261 ] : https://github.com/tokio-rs/axum/pull/3261
2220[ #3205 ] : https://github.com/tokio-rs/axum/pull/3205
23- [ #3220 ] : https://github.com/tokio-rs/axum/pull/3220
24- [ #3412 ] : https://github.com/tokio-rs/axum/pull/3412
2521[ #3478 ] : https://github.com/tokio-rs/axum/pull/3478
2622[ #3489 ] : https://github.com/tokio-rs/axum/pull/3489
2723
24+ # 0.8.5
25+
26+ - ** fixed:** Reject JSON request bodies with trailing characters after the JSON document ([ #3453 ] )
27+ - ** added:** Implement ` OptionalFromRequest ` for ` Multipart ` ([ #3220 ] )
28+ - ** added:** Getter methods ` Location::{status_code, location} `
29+ - ** added:** Support for writing arbitrary binary data into server-sent events ([ #3425 ] )]
30+ - ** added:** ` middleware::ResponseAxumBodyLayer ` for mapping response body to ` axum::body::Body ` ([ #3469 ] )
31+ - ** added:** ` impl FusedStream for WebSocket ` ([ #3443 ] )
32+ - ** changed:** The ` sse ` module and ` Sse ` type no longer depend on the ` tokio ` feature ([ #3154 ] )
33+ - ** changed:** If the location given to one of ` Redirect ` s constructors is not a valid
34+ header value, instead of panicking on construction, the ` IntoResponse ` impl now returns
35+ an HTTP 500, just like ` Json ` does when serialization fails ([ #3377 ] )
36+ - ** changed:** Update minimum rust version to 1.78 ([ #3412 ] )
37+
38+ [ #3154 ] : https://github.com/tokio-rs/axum/pull/3154
39+ [ #3220 ] : https://github.com/tokio-rs/axum/pull/3220
40+ [ #3377 ] : https://github.com/tokio-rs/axum/pull/3377
41+ [ #3412 ] : https://github.com/tokio-rs/axum/pull/3412
42+ [ #3425 ] : https://github.com/tokio-rs/axum/pull/3425
43+ [ #3443 ] : https://github.com/tokio-rs/axum/pull/3443
44+ [ #3453 ] : https://github.com/tokio-rs/axum/pull/3453
45+ [ #3469 ] : https://github.com/tokio-rs/axum/pull/3469
46+
2847# 0.8.4
2948
3049- ** added:** ` Router::reset_fallback ` ([ #3320 ] )
0 commit comments