Skip to content

Releases: tokio-rs/axum

axum-core - v0.2.6

18 Jun 09:18
7deaff7
Compare
Choose a tag to compare
  • change: axum-core's MSRV is now 1.56 (#1098)

axum - v0.5.7

08 Jun 14:10
7aa3f35
Compare
Choose a tag to compare
  • added: Implement Default for Extension (#1043)
  • fixed: Support deserializing Vec<(String, String)> in extract::Path<_> to get vector of
    key/value pairs (#1059)
  • added: Add extract::ws::close_code which contains constants for close codes (#1067)
  • fixed: Use impl IntoResponse less in docs (#1049)

axum-extra - v0.3.4

08 Jun 13:59
fbb4786
Compare
Choose a tag to compare
  • fixed: Use impl IntoResponse less in docs (#1049)
  • added: Add AsyncReadBody for creating a body from a tokio::io::AsyncRead (#1072)

axum-core - v0.2.5

08 Jun 13:58
a9eb4ac
Compare
Choose a tag to compare
  • added: Automatically handle http_body::LengthLimitError in FailedToBufferBody and map
    such errors to 413 Payload Too Large (#1048)
  • fixed: Use impl IntoResponse less in docs (#1049)

axum-macros - v0.2.2

18 May 18:24
80d0cc1
Compare
Choose a tag to compare
  • added: In debug_handler, check if Request is used as non-final extractor (#1035)
  • added: In debug_handler, check if multiple Path extractors are used (#1035)
  • added: In debug_handler, check if multiple body extractors are used (#1036)
  • added: Support customizing rejections for #[derive(TypedPath)] (#1012)

axum-extra - v0.3.3

18 May 18:30
1d7878c
Compare
Choose a tag to compare
  • added: Add extract::Query which supports multi-value items (#1041)
  • added: Support customizing rejections for #[derive(TypedPath)] (#1012)

axum - v0.5.6

16 May 06:59
316e20f
Compare
Choose a tag to compare
  • added: Add WebSocket::protocol to return the selected WebSocket subprotocol, if there is one. (#1022)
  • fixed: Improve error message for PathRejection::WrongNumberOfParameters to hint at using
    Path<(String, String)> or Path<SomeStruct> (#1023)
  • fixed: PathRejection::WrongNumberOfParameters now uses 500 Internal Server Error since
    it's a programmer error and not a client error (#1023)
  • fixed: Fix InvalidFormContentType mentioning the wrong content type

axum-extra - v0.3.2

15 May 18:08
61c4e19
Compare
Choose a tag to compare
  • added: Add extract::Form which supports multi-value items (#1031)

axum - v0.5.5

10 May 11:50
96aaac4
Compare
Choose a tag to compare
  • fixed: Correctly handle GET, HEAD, and OPTIONS requests in ContentLengthLimit.
    Request with these methods are now accepted if they do not have a Content-Length header, and
    the request body will not be checked. If they do have a Content-Length header they'll be
    rejected. This allows ContentLengthLimit to be used as middleware around several routes,
    including GET routes (#989)
  • added: Add MethodRouter::{into_make_service, into_make_service_with_connect_info} (#1010)

axum-macros - v0.2.1

10 May 11:50
46e6d34
Compare
Choose a tag to compare
  • fixed: Option and Result are now supported in typed path route handler parameters (#1001)
  • fixed: Support wildcards in typed paths (#1003)
  • added: Support #[derive(FromRequest)] on enums using #[from_request(via(OtherExtractor))] (#1009)