Skip to content

Upgrading axum 0.7 to 0.8

Breaking0.7.9 → 0.8.9Breaking3New12Changed7Fixed6Other2

Fetching 12 releases from GitHub…9 / 12
BreakingUpgrade verdict

3 breaking changes.

  • changed: The sse module and Sse type no longer depend on the tokio feature ().
  • breaking: Remove OptionalFromRequestParts impl for Query ().
  • breaking: axum::extract::ws::Message now uses Bytes in place of Vec, and a new Utf8Bytes type in place of String, for its variants ().
3 items need code or config changes

Rust requirement changed in 0.8.9: 1.66 → 1.80.

Breaking3
changed: The sse module and Sse type no longer depend on the tokio feature ().
sseSsetokio
breaking: Remove OptionalFromRequestParts impl for Query ().
OptionalFromRequestPartsQuery
breaking: axum::extract::ws::Message now uses Bytes in place of Vec, and a new Utf8Bytes type in place of String, for its variants ().
axum::extract::ws::MessageBytesVec<u8>Utf8BytesString