Added details to markdown files about NormalizePath changes

This commit is contained in:
ljoonal 2020-08-19 09:48:00 +03:00
parent 8879f2af12
commit 653cfee3f5
No known key found for this signature in database
GPG Key ID: C74D75DE349ACD93
2 changed files with 9 additions and 0 deletions

View File

@ -1,5 +1,10 @@
# 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
### Changed
* Update `rustls` to 0.18

View File

@ -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
* `HttpServer::start()` renamed to `HttpServer::run()`. It also possible to