mirror of https://github.com/fafhrd91/actix-web
Added details to markdown files about NormalizePath changes
This commit is contained in:
parent
8879f2af12
commit
653cfee3f5
|
@ -1,5 +1,10 @@
|
||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
|
## Unreleased
|
||||||
|
### Added
|
||||||
|
* `middleware::NormalizePath` now has configurable behaviour for either always having a trailing slash,
|
||||||
|
or as the new addition, always trimming trailing slashes.
|
||||||
|
|
||||||
## 3.0.0-beta.3 - 2020-08-17
|
## 3.0.0-beta.3 - 2020-08-17
|
||||||
### Changed
|
### Changed
|
||||||
* Update `rustls` to 0.18
|
* Update `rustls` to 0.18
|
||||||
|
|
|
@ -32,6 +32,10 @@
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
* `middleware::NormalizePath` can now also be configured to trim trailing slashes instead of always keeping one.
|
||||||
|
It will need `middleware::normalize::TrailingSlash` when being constructed with `NormalizePath::new(...)`,
|
||||||
|
or for an easier migration you can replace `wrap(middleware::NormalizePath)` with `wrap(middleware::NormalizePath::default())`.
|
||||||
|
|
||||||
## 2.0.0
|
## 2.0.0
|
||||||
|
|
||||||
* `HttpServer::start()` renamed to `HttpServer::run()`. It also possible to
|
* `HttpServer::start()` renamed to `HttpServer::run()`. It also possible to
|
||||||
|
|
Loading…
Reference in New Issue