Releases: tokio-rs/axum
Releases · tokio-rs/axum
axum v0.8.0-alpha.1
- breaking: Require
Sync
for all handlers and services added toRouter
andMethodRouter
(#2473) - breaking: The tuple and tuple_struct
Path
extractor deserializers now check that the number of parameters matches the tuple length exactly (#2931) - breaking: Upgrade matchit to 0.8, changing the path parameter syntax from
/:single
and/*many
to/{single}
and/{*many}
; the old syntax produces a panic to avoid silent change in behavior (#2645) - change: Update minimum rust version to 1.75 (#2943)
axum-macros - v0.5.0-alpha.1
- breaking: Update code generation for axum-core 0.5.0-alpha.1
- change: Update minimum rust version to 1.75 (#2943)
axum-extra - v0.10.0-alpha.1
axum-core - v0.5.0-alpha.1
- breaking: Replace
#[async_trait]
with return-positionimpl Trait
in traits (#2308) - change: Update minimum rust version to 1.75 (#2943)
axum v0.7.7
- change: Remove manual tables of content from the documentation, since
rustdoc now generates tables of content in the sidebar (#2921)
axum-core - v0.4.5
- fixed: Compile errors from the internal
__log_rejection
macro under
certain Cargo feature combinations between axum crates (#2933)
axum - v0.7.6
- change: Avoid cloning
Arc
during deserialization ofPath
- added:
axum::serve::Serve::tcp_nodelay
andaxum::serve::WithGracefulShutdown::tcp_nodelay
(#2653) - added:
Router::has_routes
function (#2790) - change: Update tokio-tungstenite to 0.23 (#2841)
- added:
Serve::local_addr
andWithGracefulShutdown::local_addr
functions (#2881)
axum-macros - v0.4.2
axum-extra - v0.9.4
- added: The
response::Attachment
type (#2789)
axum-core - v0.4.4
- added: Derive
Clone
andCopy
forAppendHeaders
(#2776) - added:
must_use
attribute onAppendHeaders
(#2846) - added:
must_use
attribute onErrorResponse
(#2846) - added:
must_use
attribute onIntoResponse::into_response
(#2846) - added:
must_use
attribute onIntoResponseParts
trait methods (#2846) - added: Implement
Copy
forDefaultBodyLimit
(#2875) - added:
DefaultBodyLimit::max
andDefaultBodyLimit::disable
are now
allowed in const context (#2875)