axum-v0.8.9

River-Zhang/SIFUaxum-v0.8.9Apr 14, 2026by yanns

AI Summary

A patch release updating the Rust version requirement and improving WebSocket and routing functionality.

Key Highlights

  • Updated minimum Rust version to 1.80
  • Added `WebSocketUpgrade::{requested_protocols, set_selected_protocol}` for flexible subprotocol selection
  • Fixed connect endpoint setting in MethodRouter

Breaking Changes

  • Minimum Rust version updated to 1.80

New Features

  • WebSocket protocol selection flexibility
  • Specific error message for multipart body limit exceeded
  • Fixed connect endpoint on correct field in MethodRouter

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