mirror of https://github.com/fafhrd91/actix-web
add change and migration description
This commit is contained in:
parent
1875ad7351
commit
715e9f945c
|
@ -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
|
||||
|
||||
|
|
28
MIGRATION.md
28
MIGRATION.md
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue