Releases: tokio-rs/axum
Releases · tokio-rs/axum
axum-macros - v0.3.6
- fixed: Improve
#[debug_handler]
message for known generic
request-consuming extractors (#1826)
axum-extra - v0.7.1
- Updated to latest
axum-macros
axum - v0.6.10
axum-macros - v0.3.5
- fixed: In
#[debug_handler]
provide specific errors aboutFromRequest
extractors not being the last argument (#1797)
axum-extra - v0.7.0
- breaking: Remove the
spa
feature which should have been removed in 0.6.0 (#1802) - added: Add
Multipart
. This is similar toaxum::extract::Multipart
except that it enforces field exclusivity at runtime instead of compile time,
as this improves usability (#1692) - added: Implement
Clone
forCookieJar
,PrivateCookieJar
andSignedCookieJar
(#1808) - fixed: Add
#[must_use]
attributes to types that do nothing unless used (#1809)
axum-core - v0.3.3
- fixed: Add
#[must_use]
attributes to types that do nothing unless used (#1809)
axum - v0.6.9
- changed: Update to tower-http 0.4. axum is still compatible with tower-http 0.3 (#1783)
axum-extra - v0.6.0
-
breaking: Change casing of
ProtoBuf
toProtobuf
(#1595) -
breaking:
SpaRouter
has been removed. UseServeDir
andServeFile
fromtower-http
instead:// before Router::new().merge(SpaRouter::new("/assets", "dist")); // with ServeDir Router::new().nest_service("/assets", ServeDir::new("dist")); // before with `index_file` Router::new().merge(SpaRouter::new("/assets", "dist").index_file("index.html")); // with ServeDir + ServeFile Router::new().nest_service( "/assets", ServeDir::new("dist").not_found_service(ServeFile::new("dist/index.html")), );
See the static-file-server-example for more examples (#1784)