From d783a8b17e8647a48e3a9952da9bad76d29aa97b Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Sat, 5 Oct 2024 11:32:23 +0200 Subject: [PATCH] Add matchit upgrade to axum changelog --- axum/CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/axum/CHANGELOG.md b/axum/CHANGELOG.md index 21194b52..365b04a4 100644 --- a/axum/CHANGELOG.md +++ b/axum/CHANGELOG.md @@ -12,9 +12,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **breaking:** Require `Sync` for all handlers and services added to `Router` and `MethodRouter` ([#2473]) - **breaking:** The tuple and tuple_struct `Path` extractor deserializers now check that the number of parameters matches the tuple length exactly ([#2931]) +- **breaking:** Upgrade matchit to 0.8, changing the path parameter syntax from `/:single` and `/*many` + to `/{single}` and `/{*many}`; the old syntax produces a panic to avoid silent change in behavior ([#2645]) - **change:** Update minimum rust version to 1.75 ([#2943]) [#2473]: https://github.com/tokio-rs/axum/pull/2473 +[#2645]: https://github.com/tokio-rs/axum/pull/2645 [#2931]: https://github.com/tokio-rs/axum/pull/2931 [#2943]: https://github.com/tokio-rs/axum/pull/2943