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.
In plain terms
- 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 ().
Must act 3 items need code or config changes
Rust requirement changed in 0.8.9: 1.66 → 1.80.
What you must change
Breaking3
changed: The sse module and Sse type no longer depend on the tokio feature ().
sseSsetokiobreaking: Remove OptionalFromRequestParts impl for Query ().
OptionalFromRequestPartsQuerybreaking: 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