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
+13 -6
View File
@@ -7,11 +7,6 @@ and this project adheres to [Semantic Versioning].
# Unreleased
- **fixed:** Escape backslashes and double quotes in `Content-Disposition` filenames
to prevent header parameter injection in `Attachment` and `FileStream` ([#3664])
- `vpath!` macro now stops the compilation if your path is using deprecated
path variables in the old `107` format, such as `:var` and `*var`. the
only allowed way now is `{var}`.
- **breaking:** Remove the deprecated `Host`, `Scheme` and `OptionalPath`
extractors ([#3599])
- Also remove `HostRejection` which only had `FailedToResolveHost`
@@ -28,10 +23,22 @@ and this project adheres to [Semantic Versioning].
.route_with_tsr("/path", post(/* handler */))
```
[#3664]: https://github.com/tokio-rs/axum/pull/3664
[#3599]: https://github.com/tokio-rs/axum/pull/3599
[#3586]: https://github.com/tokio-rs/axum/pull/3586
# 0.12.6
- **fixed:** Escape backslashes and double quotes in `Content-Disposition` filenames
to prevent header parameter injection in `Attachment` and `FileStream` ([#3664])
- `vpath!` macro now stops the compilation if your path is using deprecated
path variables in the old `107` format, such as `:var` and `*var`. the
only allowed way now is `{var}`. ([#3618])
- **fixed:** Return specific error message when multipart body limit is exceeded ([#3611])
[#3664]: https://github.com/tokio-rs/axum/pull/3664
[#3618]: https://github.com/tokio-rs/axum/pull/3618
[#3611]: https://github.com/tokio-rs/axum/pull/3611
# 0.12.5
- **fixed:** `JsonLines` now correctly respects the default body limit ([#3591])
+3 -3
View File
@@ -9,7 +9,7 @@ license = "MIT"
name = "axum-extra"
readme = "README.md"
repository = "https://github.com/tokio-rs/axum"
version = "0.12.5"
version = "0.12.6"
[package.metadata.docs.rs]
all-features = true
@@ -111,8 +111,8 @@ tower-layer = "0.3"
tower-service = "0.3"
# optional dependencies
axum = { path = "../axum", version = "0.8.8", default-features = false, optional = true }
axum-macros = { path = "../axum-macros", version = "0.5.0", optional = true }
axum = { path = "../axum", version = "0.8.9", default-features = false, optional = true }
axum-macros = { path = "../axum-macros", version = "0.5.1", optional = true }
cookie = { package = "cookie", version = "0.18.0", features = ["percent-encode"], optional = true }
fastrand = { version = "2.1.0", optional = true }
form_urlencoded = { version = "1.1.0", optional = true }