1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-23 16:21:06 +01: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: