axum-v0.8.9
opendatalab/MinerUaxum-v0.8.9Apr 14, 2026by yanns
AI Summary
This release adds WebSocket protocol selection flexibility, updates minimum Rust version, and fixes various bugs including connect endpoint and multipart body limit handling.
Key Highlights
- Added WebSocket subprotocol selection flexibility
- Updated minimum Rust version to 1.80
- Fixed connect endpoint in MethodRouter
- Fixed multipart body limit error messages
New Features
- WebSocket subprotocol selection via requested_protocols and set_selected_protocol
- Updated minimum Rust version to 1.80
- Fixed connect endpoint on MethodRouter
- Specific error message for multipart body limit exceeded
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