diff options
author | David Pedersen <david.pdrsn@gmail.com> | 2022-01-13 10:37:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-13 10:37:33 +0100 |
commit | 5fe981a1da028e1d3444581d29ec2c57dc13d436 (patch) | |
tree | 36f2924c9337f7c442c0e8a69685520b21de8c90 | |
parent | 007a0e85f2cd0b4f6553950a42b9e7fbc5fba521 (diff) |
axum: Version 0.4.4 (#706)axum-v0.4.4
- **fixed:** Fix using incorrect path prefix when nesting `Router`s at `/` ([#691])
- **fixed:** Make `nest("", service)` work and mean the same as `nest("/", service)` ([#691])
- **fixed:** Replace response code `301` with `308` for trailing slash redirects. Also deprecates
`Redirect::found` (`302`) in favor of `Redirect::temporary` (`307`) or `Redirect::to` (`303`).
This is to prevent clients from changing non-`GET` requests to `GET` requests ([#682])
[#691]: https://github.com/tokio-rs/axum/pull/691
[#682]: https://github.com/tokio-rs/axum/pull/682
-rw-r--r-- | axum/CHANGELOG.md | 4 | ||||
-rw-r--r-- | axum/Cargo.toml | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/axum/CHANGELOG.md b/axum/CHANGELOG.md index 43891cc2..592e319d 100644 --- a/axum/CHANGELOG.md +++ b/axum/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 # Unreleased +- None. + +# 0.4.4 (13. January, 2021) + - **fixed:** Fix using incorrect path prefix when nesting `Router`s at `/` ([#691]) - **fixed:** Make `nest("", service)` work and mean the same as `nest("/", service)` ([#691]) - **fixed:** Replace response code `301` with `308` for trailing slash redirects. Also deprecates diff --git a/axum/Cargo.toml b/axum/Cargo.toml index 14ea03cc..75c09ad5 100644 --- a/axum/Cargo.toml +++ b/axum/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "axum" -version = "0.4.3" +version = "0.4.4" categories = ["asynchronous", "network-programming", "web-programming"] description = "Web framework that focuses on ergonomics and modularity" edition = "2018" |