You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*Note: there are further relevant changes in [axum-core's changelog][core-changelog]*
29
+
30
+
-**breaking:** Upgrade matchit to 0.8, changing the path parameter syntax from `/:single` and `/*many`
31
+
to `/{single}` and `/{*many}`; the old syntax produces a panic to avoid silent change in behavior ([#2645])
32
+
-**breaking:** Require `Sync` for all handlers and services added to `Router`
33
+
and `MethodRouter` ([#2473])
34
+
-**breaking:** The tuple and tuple_struct `Path` extractor deserializers now check that the number of parameters matches the tuple length exactly ([#2931])
35
+
-**breaking:** Move `Host` extractor to `axum-extra` ([#2956])
36
+
-**breaking:** Remove `WebSocket::close`.
37
+
Users should explicitly send close messages themselves. ([#2974])
38
+
-**breaking:** Make `serve` generic over the listener and IO types ([#2941])
39
+
-**breaking:** Remove `Serve::tcp_nodelay` and `WithGracefulShutdown::tcp_nodelay`.
40
+
See `serve::ListenerExt` for an API that let you set arbitrary TCP stream properties. ([#2941])
41
+
-**breaking:**`Option<Path<T>>` no longer swallows all error conditions,
42
+
instead rejecting the request in many cases; see its documentation for details ([#2475])
43
+
-**breaking:**`axum::extract::ws::Message` now uses `Bytes` in place of `Vec<u8>`,
44
+
and a new `Utf8Bytes` type in place of `String`, for its variants ([#3078])
45
+
-**fixed:** Skip SSE incompatible chars of `serde_json::RawValue` in `Event::json_data` ([#2992])
46
+
-**fixed:** Don't panic when array type is used for path segment ([#3039])
47
+
-**fixed:** Avoid setting `content-length` before middleware.
48
+
This allows middleware to add bodies to requests without needing to manually set `content-length` ([#2897])
49
+
-**change:** Update minimum rust version to 1.75 ([#2943])
50
+
-**changed:** Upgraded `tokio-tungstenite` to 0.26 ([#3078])
51
+
-**changed:** Query/Form: Use `serde_path_to_error` to report fields that failed to parse ([#3081])
52
+
-**added:** Add `method_not_allowed_fallback` to set a fallback when a path matches but there is no handler for the given HTTP method ([#2903])
53
+
-**added:** Add `NoContent` as a self-described shortcut for `StatusCode::NO_CONTENT` ([#2978])
54
+
-**added:** Add support for WebSockets over HTTP/2.
55
+
They can be enabled by changing `get(ws_endpoint)` handlers to `any(ws_endpoint)` ([#2894])
0 commit comments