From 5fe981a1da028e1d3444581d29ec2c57dc13d436 Mon Sep 17 00:00:00 2001 From: David Pedersen Date: Thu, 13 Jan 2022 10:37:33 +0100 Subject: [PATCH] axum: Version 0.4.4 (#706) - **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 --- axum/CHANGELOG.md | 4 ++++ axum/Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/axum/CHANGELOG.md b/axum/CHANGELOG.md index 43891cc257..592e319d11 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 14ea03cc29..75c09ad59c 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"