Skip to content

Releases: tokio-rs/axum

axum-macros - v0.3.6

13 Mar 10:01
1133425
Compare
Choose a tag to compare
  • fixed: Improve #[debug_handler] message for known generic
    request-consuming extractors (#1826)

axum-extra - v0.7.1

13 Mar 10:03
1133425
Compare
Choose a tag to compare
  • Updated to latest axum-macros

axum - v0.6.10

03 Mar 17:19
bc3c35e
Compare
Choose a tag to compare
  • fixed: Add #[must_use] attributes to types that do nothing unless used (#1809)
  • fixed: Gracefully handle missing headers in the TypedHeader extractor (#1810)
  • fixed: Fix routing issues when loading a Router via a dynamic library (#1806)

axum-macros - v0.3.5

03 Mar 17:19
bc3c35e
Compare
Choose a tag to compare
  • fixed: In #[debug_handler] provide specific errors about FromRequest
    extractors not being the last argument (#1797)

axum-extra - v0.7.0

03 Mar 17:20
bc3c35e
Compare
Choose a tag to compare
  • breaking: Remove the spa feature which should have been removed in 0.6.0 (#1802)
  • added: Add Multipart. This is similar to axum::extract::Multipart
    except that it enforces field exclusivity at runtime instead of compile time,
    as this improves usability (#1692)
  • added: Implement Clone for CookieJar, PrivateCookieJar and SignedCookieJar (#1808)
  • fixed: Add #[must_use] attributes to types that do nothing unless used (#1809)

axum-core - v0.3.3

03 Mar 17:18
bc3c35e
Compare
Choose a tag to compare
  • fixed: Add #[must_use] attributes to types that do nothing unless used (#1809)

axum - v0.6.9

27 Feb 08:42
08bac36
Compare
Choose a tag to compare
  • changed: Update to tower-http 0.4. axum is still compatible with tower-http 0.3 (#1783)

axum-extra - v0.6.0

27 Feb 08:43
08bac36
Compare
Choose a tag to compare
  • breaking: Change casing of ProtoBuf to Protobuf (#1595)

  • breaking: SpaRouter has been removed. Use ServeDir and ServeFile
    from tower-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)

axum - v0.6.8

24 Feb 13:24
3747877
Compare
Choose a tag to compare
  • fixed: Fix Allow missing from routers with middleware (#1773)
  • added: Add KeepAlive::event for customizing the event sent for SSE keep alive (#1729)

axum - v0.6.7

17 Feb 14:08
277be8f
Compare
Choose a tag to compare
  • added: Add FormRejection::FailedToDeserializeFormBody which is returned
    if the request body couldn't be deserialized into the target type, as opposed
    to FailedToDeserializeForm which is only for query parameters (#1683)
  • added: Add MockConnectInfo for setting ConnectInfo during tests (#1767)