1
0
Fork 0
mirror of https://github.com/tokio-rs/axum.git synced 2025-04-26 13:56:22 +02:00

axum: Version 0.4.4 ()

- **fixed:** Fix using incorrect path prefix when nesting `Router`s at `/` ([])
- **fixed:** Make `nest("", service)` work and mean the same as `nest("/", service)` ([])
- **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 ([])

[]: https://github.com/tokio-rs/axum/pull/691
[]: https://github.com/tokio-rs/axum/pull/682
This commit is contained in:
David Pedersen 2022-01-13 10:37:33 +01:00 committed by GitHub
parent 007a0e85f2
commit 5fe981a1da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -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"