actix-web v4.0.0-beta.5 Release Notes
Release Date: 2021-04-02 // about 3 years ago-
➕ Added
Header
extractor for extracting common HTTP headers in handlers. [#2094]- ➕ Added
TestServer::client_headers
method. [#2097]
🛠 Fixed
- Double ampersand in Logger format is escaped correctly. [#2067]
🔄 Changed
CustomResponder
would return error asHttpResponse
whenCustomResponder::with_header
failed instead of skipping. (Only the first error is kept when multiple error occur) [#2093]
✂ Removed
- 🚚 The
client
mod was removed. Clients should now useawc
directly. 871ca5e4 - 🚚 Integration testing was moved to new
actix-test
crate. Namely these items from thetest
module:TestServer
,TestServerConfig
,start
,start_with
, andunused_addr
. [#2112]
🌐 [#2067]: https://github.com/actix/actix-web/pull/2067 🌐 [#2093]: https://github.com/actix/actix-web/pull/2093 🌐 [#2094]: https://github.com/actix/actix-web/pull/2094 🌐 [#2097]: https://github.com/actix/actix-web/pull/2097 🌐 [#2112]: https://github.com/actix/actix-web/pull/2112