Commit Graph
757 Commits
Author SHA1 Message Date
Andrea Bozzo ec4f5bbf9e fix: Return specific error message when multipart body limit is exceeded (#3611) 2026-04-03 08:49:48 +02:00
tottoto 0a24ff6b0a Address tower-http deprecated warning (#3672) 2026-04-03 08:49:48 +02:00
Sindri Pétur Ingimundarson 27f4015986 fix: Set connect endpoint on correct field in MethodRouter (#3656) 2026-04-03 08:49:48 +02:00
417dc25280 Fix IntoResponse for tuples overriding error response codes (#3603)
Co-authored-by: David Pedersen <[email protected]>
Co-authored-by: Yann Simon <[email protected]>
2026-04-03 08:49:48 +02:00
Jonas Platte 39b9f727d7 Rewrite sec-websocket-protocol handling (#3620) 2026-04-03 08:49:48 +02:00
Lethe Lee 8019ae0786 Add customizable WebSocket subprotocol selection (#3597) 2026-04-03 08:49:48 +02:00
Jonas Platte 2b0978690c Stop calling axum a 'framework' (#3616) 2026-04-03 08:49:48 +02:00
Martin TrigauxandYann Simon 9c67c6c33a [FIX] link to query-params-with-empty-string (#3695)
Co-authored-by: Yann Simon <[email protected]>
2026-03-24 18:37:30 +01:00
Jonas Platte f72c298ee8 Improve error messages with #[diagnostic::do_not_recommend] (#3588) 2025-12-27 10:22:51 +01:00
Jonas Platte d07863f97d Release axum v0.8.8 and axum-extra v0.12.3 2025-12-20 14:14:20 +01:00
Mohamed Macow 78656ebb4a docs: Clarify route_layer does not apply middleware to the fallback handler (#3567) 2025-12-20 14:03:26 +01:00
Jonas Platte 4404f27cea Release axum v0.8.7 and axum-extra v0.12.2 2025-11-14 20:44:55 +01:00
Andrii Mishkovskyi 8f1545adec Fix typo in extractors guide (#3554) 2025-11-14 20:42:06 +01:00
Jonas Platte 4fc3faa0b4 Relax implicit Send / Sync bounds (#3555) 2025-11-14 20:41:03 +01:00
Lyra Naeseth a05920c906 Make it easier to visually scan for default features (#3550) 2025-11-14 20:39:44 +01:00
Italo Maia fe607e6dcf Fixes wording typo (#3540) 2025-11-14 20:37:15 +01:00
David Mládek c1bb9c3e90 Release axum 0.8.6 and related crates 2025-09-30 12:03:26 +02:00
David Mládek 4a50581968 Update changelogs 2025-09-30 12:00:20 +02:00
David Mládek 5c76cfd26a Remove usage of the doc_auto_cfg feature (#3505) 2025-09-30 11:55:34 +02:00
Jonas Platte a1d22f68a5 Release axum 0.8.5 and related crates 2025-09-28 20:46:16 +02:00
Jonas Platte ad2fd5b50b Update changelogs 2025-09-28 20:26:09 +02:00
Antoine Vandecreme a0692f9f54 Reject JSON bodies with trailing chars (#3453) 2025-09-28 20:25:54 +02:00
Jonas Platte 651cc1e935 Remove unused link def 2025-09-28 19:37:31 +02:00
tottoto cb8670a94b Update to tokio-tungstenite 0.28 (#3497) 2025-09-28 19:31:58 +02:00
Fredrik Park 6f1ed5e0a0 Spelling misstake in Using closure capture (#3481) 2025-09-28 19:30:18 +02:00
221ef3795b websocket: add a wrapper around is_terminated (#3443)
Co-authored-by: Loic <[email protected]>
Co-authored-by: loikki <[email protected]>
2025-09-28 19:30:07 +02:00
David Mládek d108c50ce7 axum: add ResponseAxumBodyLayer for mapping response body to axum::body::Body 2025-09-28 19:28:47 +02:00
Jonas Platte 16534439f5 Switch serde dependency to serde_core (#3477) 2025-09-28 19:28:32 +02:00
Niclas Klugmann c40f739cdf Clarify that AddExtension is not the actual Layer (#3463) 2025-09-28 19:25:37 +02:00
reivilibre b8ae30747c Document type parameter T on Handler (#3435)
Signed-off-by: Olivier 'reivilibre <[email protected]>
2025-09-28 19:24:04 +02:00
Glen De Cauwsemaecker eb3c5418ef Support custom (binary) data to be written into SSE Event (#3425) 2025-09-28 19:24:00 +02:00
Glen De Cauwsemaecker d88b39897b Fix ci failures (#3432) 2025-09-28 19:22:35 +02:00
Jan Runge f736e9f24e Extractors doc: correct linked example section (#3349) 2025-09-28 19:22:10 +02:00
Jonas Platte 25549f0ba2 Update minimum Rust version to 1.78 (#3412) 2025-09-28 19:22:01 +02:00
Glen De Cauwsemaecker c1ff1539e3 sse: Add space between duration and : (#3403) 2025-09-28 19:20:22 +02:00
Theodore BjernhedandTheodore Bjernhed 384f393857 Add #[must_use] to types and methods (#3395)
Co-authored-by: Theodore Bjernhed <[email protected]>
2025-09-28 19:19:54 +02:00
tottoto 3a18eb6108 Update tokio-tungstenite to 0.27 (#3398) 2025-09-28 19:19:33 +02:00
zeon d0d8088be1 New redirect inspection (#3377) 2025-09-28 19:18:22 +02:00
Jake McGinty f32223b2e9 Implement OptionalFromRequest for Multipart (#3220) 2025-09-28 19:17:02 +02:00
Nano abe98474e1 Make SSE less dependent on tokio (#3154) 2025-09-28 19:12:15 +02:00
Jonas Platte 8762520da8 Release axum 0.8.4 2025-04-30 18:01:39 +02:00
Jonas Platte ac75e2f727 Split up serve functions for Serve and WithGracefulShutdown again
We should not spawn a tokio task to wait on a signal that can never arrive.
2025-04-30 14:19:15 +02:00
Jonas Platte c1162d3191 Extract handle_connection out of do_serve 2025-04-30 14:19:15 +02:00
Jonas Platte c25184565b Simplify do_serve a bit 2025-04-30 14:19:15 +02:00
Jonas Platte ba4327ece0 Stop implementing IntoFuture for Serve via with_graceful_shutdown 2025-04-30 14:19:15 +02:00
Jonas Platte 085be6970b Move serve implementation out of WithGracefulShutdown 2025-04-30 14:19:15 +02:00
Jonas Platte 6587b65393 Replace futures_util::pin_mut with std::pin::pin 2025-04-30 14:19:15 +02:00
Jonas Platte 80c4eadd82 Improve documentation about sharing state with handlers (#3333) 2025-04-30 10:03:16 +02:00
daalfox 53631b2873 refactor(axum): Refactor json module (#3332) 2025-04-29 12:12:04 -04:00
Noa 58f63bb4d0 Add WebSocketUpgrade::selected_protocol (#3248) 2025-04-24 16:37:01 +02:00