Skip to content

Releases: tokio-rs/axum

axum-v0.8.9

14 Apr 09:39
axum-v0.8.9
c59208c

Choose a tag to compare

  • added: WebSocketUpgrade::{requested_protocols, set_selected_protocol} for more flexible subprotocol selection (#3597)
  • changed: Update minimum rust version to 1.80 (#3620)
  • fixed: Set connect endpoint on correct field in MethodRouter (#3656)
  • fixed: Return specific error message when multipart body limit is exceeded (#3611)

axum-macros-v0.5.1

14 Apr 09:38
axum-macros-v0.5.1
c59208c

Choose a tag to compare

  • fixed: Fix compilation error when deriving TypedPath with OptionalFromRequestParts being in scope (#3645)

axum-extra-v0.12.6

14 Apr 09:38
axum-extra-v0.12.6
c59208c

Choose a tag to compare

  • fixed: Escape backslashes and double quotes in Content-Disposition filenames to prevent header parameter injection in Attachment and FileStream (#3664)
  • vpath! macro now stops the compilation if your path is using deprecated path variables in the old 107 format, such as :var and *var. the only allowed way now is {var}. (#3618)
  • fixed: Return specific error message when multipart body limit is exceeded (#3611)

axum-core v0.5.6

27 Dec 09:20
axum-core-v0.5.6
e710a97

Choose a tag to compare

Improve error messages with #[diagnostic::do_not_recommend].

axum v0.8.8

20 Dec 16:30
axum-v0.8.8
d07863f

Choose a tag to compare

  • Clarify documentation for Router::route_layer (#3567)

axum-extra v0.12.3

20 Dec 16:31
axum-extra-v0.12.3
d07863f

Choose a tag to compare

  • changed: Make the typed-routing feature enable the routing feature (#3514)
  • changed: Add trailing newline to ErasedJson::pretty response bodies (#3526)
  • fixed: Fix integer underflow in FileStream::try_range_response for empty files (#3566)

axum v0.8.7

14 Nov 21:21
axum-v0.8.7
4404f27

Choose a tag to compare

  • Relax implicit Send / Sync bounds on RouterAsService, RouterIntoService (#3555)
  • Make it easier to visually scan for default features (#3550)
  • Fix some documentation typos

axum-extra v0.12.2

14 Nov 21:22
axum-extra-v0.12.2
4404f27

Choose a tag to compare

  • Make it easier to visually scan for default features (#3550)

axum-extra v0.12.0

31 Oct 20:28
axum-extra-v0.12.0

Choose a tag to compare

  • breaking: Remove unused async-stream feature, which was accidentally
    introduced as an implicit feature through an optional dependency which was no
    longer being used (#3298)
  • breaking: option_layer now maps the Response body type to axum::body::Body (#3469)
  • breaking: Some new features are added which need to be opted in (#3485).
    • Cached extractor requires cached feature.
    • The handler utilities require handler feature.
    • The middleware utilities require middleware feature.
    • OptionalPath extractor requires optional-path feature.
    • The routing utilities require routing feature.
    • WithRejection extractor requires with-rejection feature.
  • breaking: Upgraded prost dependency to v0.14. (#3517)

axum v0.8.5

28 Sep 19:14
axum-v0.8.5
a1d22f6

Choose a tag to compare

  • fixed: Reject JSON request bodies with trailing characters after the JSON document (#3453)
  • added: Implement OptionalFromRequest for Multipart (#3220)
  • added: Getter methods Location::{status_code, location}
  • added: Support for writing arbitrary binary data into server-sent events (#3425)]
  • added: middleware::ResponseAxumBodyLayer for mapping response body to axum::body::Body (#3469)
  • added: impl FusedStream for WebSocket (#3443)
  • changed: The sse module and Sse type no longer depend on the tokio feature (#3154)
  • changed: If the location given to one of Redirects constructors is not a valid header value, instead of panicking on construction, the IntoResponse impl now returns an HTTP 500, just like Json does when serialization fails (#3377)
  • changed: Update minimum rust version to 1.78 (#3412)