add change and migration description

This commit is contained in:
François Mockers 2018-11-10 03:30:04 +01:00 committed by François Mockers
parent 1875ad7351
commit 715e9f945c
2 changed files with 31 additions and 0 deletions

View File

@ -16,6 +16,9 @@
* Add method to configure `SameSite` option in `CookieIdentityPolicy`.
* By default, `Path` extractor now percent decode all characters. This behaviour can be disabled
with `PathConfig::default().disable_decoding()`
### Fixed

View File

@ -1,3 +1,31 @@
## 0.7.14
* The `' '` character is not percent decoded anymore before matching routes. If you need to use it in
your routes, you should use `%20`.
instead of
```rust
fn main() {
let app = App::new().resource("/my index", |r| {
r.method(http::Method::GET)
.with(index);
});
}
```
use
```rust
fn main() {
let app = App::new().resource("/my%20index", |r| {
r.method(http::Method::GET)
.with(index);
});
}
```
## 0.7.4
* `Route::with_config()`/`Route::with_async_config()` always passes configuration objects as tuple