axum-v0.8.9
moonshine-ai/moonshineaxum-v0.8.9Apr 14, 2026by yanns
AI Summary
This release focuses on enhancing WebSocket protocol handling, updating the minimum Rust version, and fixing critical bugs in routing and multipart body limits.
Key Highlights
- Added `set_selected_protocol` to `WebSocketUpgrade` for flexible subprotocol selection
- Updated minimum Rust version to 1.80
- Fixed connect endpoint assignment in `MethodRouter`
- Improved error messages when multipart body limits are exceeded
New Features
- Flexible subprotocol selection in WebSockets
Full Release Notes
- **added:** `WebSocketUpgrade::{requested_protocols, set_selected_protocol}` for more flexible subprotocol selection ([#3597])
- **changed:** Update minimum rust version to 1.80 ([#3620])
- **fixed:** Set connect endpoint on correct field in MethodRouter ([#3656])
- **fixed:** Return specific error message when multipart body limit is exceeded ([#3611])
[#3597]: https://github.com/tokio-rs/axum/pull/3597
[#3620]: https://github.com/tokio-rs/axum/pull/3620
[#3656]: https://github.com/tokio-rs/axum/pull/3656
[#3611]: https://github.com/tokio-rs/axum/pull/3611