1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-06-02 13:29:24 +00:00

add migration note about fromrequest::configure

This commit is contained in:
Rob Ede 2022-02-04 18:48:22 +00:00
parent b4d3c2394d
commit b0a363a7ae
No known key found for this signature in database
GPG key ID: 97C636207D3EF933

View file

@ -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: