mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-09 00:00:12 +02:00
Merge branch 'v0.8.x' into yanns/v0.8.9
This commit is contained in:
+13
-6
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user