Sourced from aiohttp's releases.
3.9.0
Features
Introduced
AppKey
for static typing support ofApplication
storage. See https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config(#5864)
Added a graceful shutdown period which allows pending tasks to complete before the application's cleanup is called. The period can be adjusted with the
shutdown_timeout
parameter. -- by :user:Dreamsorcerer
. See https://docs.aiohttp.org/en/latest/web_advanced.html#graceful-shutdown(#7188)
Added
handler_cancellation <https://docs.aiohttp.org/en/stable/web_advanced.html#web-handler-cancellation>
_ parameter to cancel web handler on client disconnection. -- by :user:mosquito
This (optionally) reintroduces a feature removed in a previous release. Recommended for those looking for an extra level of protection against denial-of-service attacks.(#7056)
Added support for setting response header parameters
max_line_size
andmax_field_size
.(#2304)
Added
auto_decompress
parameter toClientSession.request
to overrideClientSession._auto_decompress
. -- by :user:Daste745
(#3751)
Changed
raise_for_status
to allow a coroutine.(#3892)
Added client brotli compression support (optional with runtime check).
(#5219)
Added
client_max_size
toBaseRequest.clone()
to allow overriding the request body size. -- :user:anesabml
.(#5704)
Added a middleware type alias
aiohttp.typedefs.Middleware
.(#5898)
Exported
HTTPMove
which can be used to catch any redirection request that has a location -- :user:dreamsorcerer
.(#6594)
... (truncated)
Sourced from aiohttp's changelog.
3.9.0 (2023-11-18)
Features
Introduced
AppKey
for static typing support ofApplication
storage. See https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config
[#5864](https://github.com/aio-libs/aiohttp/issues/5864) <https://github.com/aio-libs/aiohttp/issues/5864>
_Added a graceful shutdown period which allows pending tasks to complete before the application's cleanup is called. The period can be adjusted with the
shutdown_timeout
parameter. -- by :user:Dreamsorcerer
. See https://docs.aiohttp.org/en/latest/web_advanced.html#graceful-shutdown
[#7188](https://github.com/aio-libs/aiohttp/issues/7188) <https://github.com/aio-libs/aiohttp/issues/7188>
_Added
handler_cancellation <https://docs.aiohttp.org/en/stable/web_advanced.html#web-handler-cancellation>
_ parameter to cancel web handler on client disconnection. -- by :user:mosquito
This (optionally) reintroduces a feature removed in a previous release. Recommended for those looking for an extra level of protection against denial-of-service attacks.
[#7056](https://github.com/aio-libs/aiohttp/issues/7056) <https://github.com/aio-libs/aiohttp/issues/7056>
_Added support for setting response header parameters
max_line_size
andmax_field_size
.
[#2304](https://github.com/aio-libs/aiohttp/issues/2304) <https://github.com/aio-libs/aiohttp/issues/2304>
_Added
auto_decompress
parameter toClientSession.request
to overrideClientSession._auto_decompress
. -- by :user:Daste745
[#3751](https://github.com/aio-libs/aiohttp/issues/3751) <https://github.com/aio-libs/aiohttp/issues/3751>
_Changed
raise_for_status
to allow a coroutine.
[#3892](https://github.com/aio-libs/aiohttp/issues/3892) <https://github.com/aio-libs/aiohttp/issues/3892>
_Added client brotli compression support (optional with runtime check).
[#5219](https://github.com/aio-libs/aiohttp/issues/5219) <https://github.com/aio-libs/aiohttp/issues/5219>
_Added
client_max_size
toBaseRequest.clone()
to allow overriding the request body size. -- :user:anesabml
.
[#5704](https://github.com/aio-libs/aiohttp/issues/5704) <https://github.com/aio-libs/aiohttp/issues/5704>
_Added a middleware type alias
aiohttp.typedefs.Middleware
.
[#5898](https://github.com/aio-libs/aiohttp/issues/5898) <https://github.com/aio-libs/aiohttp/issues/5898>
_Exported
HTTPMove
which can be used to catch any redirection request that has a location -- :user:dreamsorcerer
.
... (truncated)
45b2c2c
Release v3.9.0 (#7843)5d59d3d
Release v3.9.0rc0 (#7840)c806814
Release v3.9.0rc0 (#7838)e07a1bd
Use timestamp instead of datetime to achieve faster cookie expiration…
(#7837)53476df
Disallow arbitrary sequence types in version (#7835)
(#7836)9d712f2
Bump mypy from 1.6.1 to 1.7.0 (#7833)63a805e
Bump python-on-whales from 0.66.0 to 0.67.0 (#7832)cb94533
Ensure writer is always reset on completion (#7815)
(#7826)c0f9017
[PR #7821/366ba40f
backport][3.9] Only check origin if insecure scheme and th...9d498ca
Bump sphinx from 7.1.1 to 7.2.6 (#7606)