Deprecate extract::UrlParams and extract::UrlParamsMap (#138)

Use `extract::Path` instead. It supports everything the two other do,
and more.
This commit is contained in:
David Pedersen
2021-08-06 10:38:38 +02:00
committed by GitHub
parent a0ac8a5b78
commit 811b1d896c
4 changed files with 8 additions and 0 deletions
+1
View File
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fix `Query` and `Form` extractors giving bad request error when query string is empty. ([#117](https://github.com/tokio-rs/axum/pull/117))
- Add `Path` extractor. ([#124](https://github.com/tokio-rs/axum/pull/124))
- Fixed the implementation of `IntoResponse` of `(HeaderMap, T)` and `(StatusCode, HeaderMap, T)` would ignore headers from `T` ([#137](https://github.com/tokio-rs/axum/pull/137))
- Deprecate `extract::UrlParams` and `extract::UrlParamsMap`. Use `extract::Path` instead ([#138](https://github.com/tokio-rs/axum/pull/138))
## Breaking changes