update changelog

This commit is contained in:
David Pedersen
2022-06-29 22:20:24 +02:00
parent 276a950b67
commit b22077862e
2 changed files with 10 additions and 6 deletions
+4 -1
View File
@@ -7,7 +7,10 @@ and this project adheres to [Semantic Versioning].
# Unreleased
- None.
- **breaking:** `Resource::nest` and `Resource::nest_collection` now only
accepts `Router`s ([#1086])
[#1086]: https://github.com/tokio-rs/axum/pull/1086
# 0.3.5 (27. June, 2022)
+6 -5
View File
@@ -12,18 +12,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **breaking:** Allow `Error: Into<Infallible>` for `Route::{layer, route_layer}` ([#924])
- **breaking:** `MethodRouter` now panics on overlapping routes ([#1102])
- **breaking:** `Router::nest` now only accepts `Router`s. Use
`Router::nest_service` to nest opaque services
`Router::nest_service` to nest opaque services ([#1086])
- **added:** Add `Router::nest_service` for nesting opaque services. Use this to
nest services like `tower::services::ServeDir`
nest services like `tower::services::ServeDir` ([#1086])
- **breaking:** The request `/foo/` no longer matches `/foo/*rest`. If you want
to match `/foo/` you have to add a route specifically for that
to match `/foo/` you have to add a route specifically for that ([#1086])
- **breaking:** Path params for wildcard routes no longer include the prefix
`/`. e.g. `/foo.js` will match `/*filepath` with a value of `foo.js`, _not_
`/foo.js`
`/foo.js` ([#1086])
- **fixed:** Routes like `/foo` and `/*rest` are no longer considered
overlapping. `/foo` will take priority
overlapping. `/foo` will take priority ([#1086])
[#1077]: https://github.com/tokio-rs/axum/pull/1077
[#1086]: https://github.com/tokio-rs/axum/pull/1086
[#1102]: https://github.com/tokio-rs/axum/pull/1102
[#924]: https://github.com/tokio-rs/axum/pull/924