Commit Graph
319 Commits
Author SHA1 Message Date
Jonas Platte ff031867df Update minimum Rust version to 1.78 (#3412) 2025-07-20 07:47:56 +00:00
Kyle Nweeia 0832de443c Use via extractor's rejection instead of axum::response::Response (#3261) 2025-07-16 09:50:59 +00:00
David Mládek fc14f5c728 axum: add router nesting fallback changelog (#3339) 2025-06-03 21:16:36 +00:00
fritzchr 7eabf7e645 docs: Update changelog (#3364) 2025-05-28 18:59:34 +02:00
David Mládek 0821a9dc09 axum: Allow body types other than axum::body::Body in serve (#3205) 2025-05-02 08:54:39 +02:00
Jonas Platte 8762520da8 Release axum 0.8.4 2025-04-30 18:01:39 +02:00
Jonas Platte 133908c49f Update changelog 2025-04-24 11:23:39 +02:00
Jonas Platte ef60f855ce Add Router::reset_fallback 2025-04-24 11:23:39 +02:00
Jonas Platte cd2d5e1417 Fix formatting of axum/CHANGELOG.md 2025-03-28 19:38:11 +01:00
Jonas Platte b150ac028b Release axum 0.8.3 and related crates 2025-03-28 11:14:58 +01:00
Jonas Platte a9638f76b5 Update changelog 2025-03-28 09:35:21 +01:00
Jonas Platte 3525a13459 Revert "Make status a const function in rejection handling" (#3287) 2025-03-27 08:31:19 +01:00
Jonas Platte 2b6ae09568 Simplify Handler async blocks (#3285) 2025-03-25 08:07:35 -04:00
Andrei Nesterov c997137383 Implement From<Bytes> for Message (#3273) 2025-03-17 14:15:15 +00:00
Jonas Platte fccf778a14 Add changelog entry for 0.8.1 2025-01-21 08:58:02 -05:00
Jonas Platte d65242559f Fix changelog for axum
It contained the 0.8.2 entry as 0.8.1.
2025-01-21 08:58:02 -05:00
Jonas Platte 5966849f14 Release axum 0.8.2 and related crates (#3188) 2025-01-21 14:12:53 +01:00
Mohammed Alotaibi e09cc59365 Make status a const function in rejection handling (#3168)
Signed-off-by: Awiteb <[email protected]>
2025-01-11 18:50:32 +00:00
Tobias Bieniek d07d129baf Extension: Implement OptionalFromRequestParts trait (#3157) 2025-01-10 15:47:47 +01:00
Mehul Arora ef0b99b6a0 Implement OptionalFromRequest for the Json extractor (#3142) 2025-01-03 19:20:40 +00:00
Jonas Platte 926543f207 Release axum v0.8.0 2025-01-01 11:08:20 +01:00
Jonas Platte 3bb12abc8d Remove OptionalFromRequestParts impl for Query (#3088) 2024-12-25 18:56:48 +01:00
Tobias Bieniek 9cd5cc4fc1 Query/Form: Use serde_path_to_error to report fields that failed to parse (#3081) 2024-12-20 11:42:56 +01:00
Jonas Platte 5cdd8a4f18 axum 0.8.0-rc.1 (#3073) 2024-12-17 23:47:42 +01:00
Jonas Platte ec75ee3827 Add a separate trait for optional extractors (#2475) 2024-12-10 02:54:59 +00:00
Jonas PlatteandDavid Pedersen 84c3960639 Make serve generic over the listener and IO types (#2941)
Co-authored-by: David Pedersen <[email protected]>
2024-11-30 23:47:13 +01:00
Jonas Platte 9517decf2f Don't panic when array type is used for path segment (#3039) 2024-11-19 20:57:30 +00:00
Jonas Platte 17016d6dd6 Merge branch 'v0.7.x' into jplatte/merge-v0.7.x 2024-11-16 17:12:32 +01:00
Jonas Platte 9983bc1da4 Bump versions 2024-11-16 17:10:03 +01:00
Jonas Platte dee0985dfb Merge branch 'v0.7.x' into jplatte/merge-v0.7.8 2024-11-14 23:24:29 +01:00
Jonas Platte feee742ca1 Bump versions 2024-11-14 23:13:41 +01:00
Jan 185804398f fix(sse): skip sse incompatible chars of serde_json::RawValue (#2992) 2024-11-14 22:59:56 +01:00
David Mládek a7b7d56cfb Update changelog (#2985) 2024-11-14 22:55:11 +01:00
oxalica dcb4af68de Add struct NoContent as a self-described shortcut (#2978) 2024-11-14 22:44:01 +01:00
Sabrina Jewson c2e7fc0b3d Add MethodFilter::CONNECT (#2961) 2024-11-14 21:49:11 +01:00
Vegard SandengenandDavid Mládek 59a2960e42 Add ErrorKind::DeserializeError to specialize ErrorKind::Message (extract::path::ErrorKind) (#2720)
This commit introduces another `extract::path::ErrorKind` variant that captures the
serde error nominally captured through the `serde::de::Error` trait impl on `PathDeserializeError`.
We augment the deserialization error with the captured (key, value), allowing `extract::Path`, and wrapping
extractors, to gain programmatic access to the key name, and attempted deserialized value.

The `PathDeserializationError::custom` is used two places in addition to capture the deserialization error.
These usages should still be unaffected.

Co-authored-by: David Mládek <[email protected]>
2024-11-11 16:56:25 +00:00
Jan 04fee944ad fix(sse): skip sse incompatible chars of serde_json::RawValue (#2992) 2024-10-17 16:49:39 +02:00
Jonas Platte 0ddc63f77e Move the Host extractor to axum-extra (#2956) 2024-10-14 22:45:37 +00:00
David Mládek 24d24f4ccb Update changelog (#2985) 2024-10-14 10:31:47 +02:00
oxalica 0712a46cd9 Add struct NoContent as a self-described shortcut (#2978) 2024-10-11 15:54:11 +00:00
Sabrina Jewson c6e6b4ea32 Remove .close(), and document clean WebSocket closing (#2974) 2024-10-11 11:31:43 +02:00
Sabrina Jewson 5512b5b91f fix: Avoid setting content-length before middleware (#2897) 2024-10-06 22:21:45 +02:00
Sabrina Jewson 822db3b1af Add MethodFilter::CONNECT (#2961) 2024-10-06 19:09:06 +00:00
Sabrina Jewson 64e6edac05 Add support for WebSockets over HTTP/2 (#2894) 2024-10-06 07:58:34 +00:00
Jonas Platte d783a8b17e Add matchit upgrade to axum changelog 2024-10-05 11:44:31 +00:00
Jonas Platte 9a69e415fb Release axum 0.8.0-alpha.1 and related crates (#2958) 2024-10-05 11:20:05 +02:00
David PedersenandJonas Platte 52fd139a86 Require Sync for services (#2473)
Co-authored-by: Jonas Platte <[email protected]>
2024-09-28 23:28:44 +02:00
Zheng LiandJonas Platte 19101f624d Replace async_trait with AFIT / RPITIT (#2308)
Co-authored-by: Jonas Platte <[email protected]>
2024-09-28 21:27:11 +00:00
Jonas Platte 689ca1aea2 Update MSRV for all crates to 1.75 (#2943) 2024-09-28 21:21:41 +00:00
Jonas Platte 4b48f308c3 Merge branch 'v0.7.x' into main 2024-09-27 22:37:09 +02:00