Merge branch 'v0.8.x' into yanns/v0.8.9

This commit is contained in:
Yann Simon
2026-04-07 11:40:51 +02:00
9 changed files with 42 additions and 22 deletions
+11 -3
View File
@@ -16,11 +16,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
(because it was already never terminating if that method wasn't used) ([#3601])
- **added:** New `ListenerExt::limit_connections` allows limiting concurrent `axum::serve` connections ([#3489])
- **added:** `MethodRouter::method_filter` ([#3586])
- **added:** `WebSocketUpgrade::{requested_protocols, set_selected_protocol}` for more
flexible subprotocol selection ([#3597])
- **changed:** `serve` has an additional generic argument and can now work with any response body
type, not just `axum::body::Body` ([#3205])
- **changed:** Update minimum rust version to 1.80 ([#3620])
- **changed:** `Redirect` constructors now accept any `impl Into<String>` ([#3635])
[#3158]: https://github.com/tokio-rs/axum/pull/3158
@@ -30,8 +27,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[#3601]: https://github.com/tokio-rs/axum/pull/3601
[#3489]: https://github.com/tokio-rs/axum/pull/3489
[#3586]: https://github.com/tokio-rs/axum/pull/3586
# 0.8.9
- **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
# 0.8.8
+2 -2
View File
@@ -1,6 +1,6 @@
[package]
name = "axum"
version = "0.8.8" # remember to bump the version that axum-extra depends on
version = "0.8.9" # remember to bump the version that axum-extra depends on
categories = ["asynchronous", "network-programming", "web-programming::http-server"]
description = "HTTP routing and request handling library that focuses on ergonomics and modularity"
edition = "2021"
@@ -123,7 +123,7 @@ tower-layer = "0.3.2"
tower-service = "0.3"
# optional dependencies
axum-macros = { path = "../axum-macros", version = "0.5.0", optional = true }
axum-macros = { path = "../axum-macros", version = "0.5.1", optional = true }
base64 = { version = "0.22.1", optional = true }
form_urlencoded = { version = "1.1.0", optional = true }
futures-sink = { version = "0.3", optional = true }