mirror of
https://github.com/actix/actix-web.git
synced 2024-11-25 11:01:14 +00:00
add migration note about fromrequest::configure
This commit is contained in:
parent
b4d3c2394d
commit
b0a363a7ae
1 changed files with 2 additions and 0 deletions
|
@ -50,6 +50,8 @@ The associated type `Config` of `FromRequest` was removed. If you have custom ex
|
|||
}
|
||||
```
|
||||
|
||||
Consequently, the `FromRequest::configure` method was also removed. Config for extractors is still provided using `App::app_data` but should now be constructed in a standalone way.
|
||||
|
||||
## Compression Feature Flags
|
||||
|
||||
Feature flag `compress` has been split into its supported algorithm (brotli, gzip, zstd). By default, all compression algorithms are enabled. The new flags are:
|
||||
|
|
Loading…
Reference in a new issue