Skip to content

Releases: tokio-rs/axum

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)

axum-extra v0.10.2

28 Sep 19:14
axum-extra-v0.10.2
a1d22f6

Choose a tag to compare

  • added: Implement OptionalFromRequest for Host (#3177)

axum-core v0.5.4

28 Sep 21:12
axum-core-v0.5.4
c720f56

Choose a tag to compare

  • fixed: Removed unused rustversion dependency (#3502)

axum-core v0.5.3

28 Sep 19:13
axum-core-v0.5.3
a1d22f6

Choose a tag to compare

  • added: DefaultBodyLimit::apply for changing the DefaultBodyLimit inside extractors.
    (#3368)
  • changed: Update minimum rust version to 1.78 (#3412)

axum v0.8.4

30 Apr 16:12
axum-v0.8.4
8762520

Choose a tag to compare

  • added: Router::reset_fallback (#3320)
  • added: WebSocketUpgrade::selected_protocol (#3248)
  • fixed: Panic location for overlapping method routes (#3319)
  • fixed: Don't leak a tokio task when using serve without graceful shutdown (#3129)

axum v0.8.3

28 Mar 16:30
axum-v0.8.3
b150ac0

Choose a tag to compare

  • added: Implement From<Bytes> for Message (#3273)
  • added: Implement OptionalFromRequest for Json (#3142)
  • added: Implement OptionalFromRequest for Extension (#3157)
  • added: Allow setting the read buffer capacity of WebSocketUpgrade (#3178)
  • changed: Improved code size / compile time of dependent crates (#3285, #3294)

axum-extra v0.10.1

28 Mar 16:31
axum-extra-v0.10.1
b150ac0

Choose a tag to compare

  • fixed: Fix a broken link in the documentation of ErasedJson (#3186)
  • added: Add vpath! for compile time path verification on static paths. (#3288)