mirror of
https://github.com/tokio-rs/axum.git
synced 2025-04-26 13:56:22 +02:00
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
This commit is contained in:
parent
007a0e85f2
commit
5fe981a1da
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue