Skip to content

Releases: tokio-rs/axum

axum v0.8.5

28 Sep 19:14
axum-v0.8.5
a1d22f6
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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)

axum-core v0.5.2

28 Mar 16:30
axum-core-v0.5.2
b150ac0
Compare
Choose a tag to compare
  • added: Implement Stream::size_hint for BodyDataStream (#3195)

axum v0.8.2

21 Jan 17:09
axum-v0.8.2
5966849
Compare
Choose a tag to compare

Yanked from crates.io due to unforeseen breaking change, see #3190 for details


  • added: Implement OptionalFromRequest for Json (#3142)
  • added: Implement OptionalFromRequest for Extension (#3157)
  • changed: Make the status function of rejections a const function, such
    as JsonRejection, QueryRejection and PathRejection (#3168)

axum-extra v0.11.0

21 Jan 17:09
axum-extra-v0.11.0
5966849
Compare
Choose a tag to compare

Yanked from crates.io due to unforeseen breaking change, see #3190 for details


  • breaking: Remove unused async-stream feature, which was accidentally
    introduced as an implicit feature through an optional dependency which was no
    longer being used (#3145)
  • fixed: Fix a broken link in the documentation of ErasedJson (#3186)
  • changed: Make the status function of rejections a const function, such
    as FormRejection, QueryRejection and MultipartRejection (#3168)