aio-libs/aiohttp (aiohttp)
### [`v3.9.0rc0`](https://togithub.com/aio-libs/aiohttp/releases/tag/v3.9.0rc0): 3.9.0rc0
[Compare Source](https://togithub.com/aio-libs/aiohttp/compare/v3.9.0b1...v3.9.0rc0)
## Features
- Performance: Skipped filtering `CookieJar` when the jar is empty or all cookies have expired.
([#7819](https://togithub.com/aio-libs/aiohttp/issues/7819))
- Performance: Only check origin if insecure scheme and there are origins to treat as secure, in `CookieJar.filter_cookies()`.
([#7821](https://togithub.com/aio-libs/aiohttp/issues/7821))
- Performance: Used timestamp instead of `datetime` to achieve faster cookie expiration in `CookieJar`.
([#7824](https://togithub.com/aio-libs/aiohttp/issues/7824))
## Bugfixes
- Fixed an issue where the client could go into an infinite loop. -- by :user:`Dreamsorcerer`
([#7815](https://togithub.com/aio-libs/aiohttp/issues/7815))
- Added HTTP method validation.
([#6533](https://togithub.com/aio-libs/aiohttp/issues/6533))
- Fixed arbitrary sequence types being allowed to inject values via version parameter. -- by :user:`Dreamsorcerer`
([#7835](https://togithub.com/aio-libs/aiohttp/issues/7835))
- Performance: Fixed increase in latency with small messages from websocket compression changes.
([#7797](https://togithub.com/aio-libs/aiohttp/issues/7797))
***
### [`v3.9.0b1`](https://togithub.com/aio-libs/aiohttp/releases/tag/v3.9.0b1): 3.9.0b1
[Compare Source](https://togithub.com/aio-libs/aiohttp/compare/v3.9.0b0...v3.9.0b1)
## Features
- Added `WebSocketResponse.get_extra_info()` to access a protocol transport's extra info.
([#7078](https://togithub.com/aio-libs/aiohttp/issues/7078))
- Allow `link` argument to be set to None/empty in HTTP 451 exception.
([#7689](https://togithub.com/aio-libs/aiohttp/issues/7689))
- Added `shutdown_timeout` parameter to `BaseRunner`, while
deprecating `shutdown_timeout` parameter from `BaseSite`. -- by :user:`Dreamsorcerer`
([#7718](https://togithub.com/aio-libs/aiohttp/issues/7718))
## Bugfixes
- Fixed keep-alive connections stopping a graceful shutdown. -- by :user:`Dreamsorcerer`
([#7718](https://togithub.com/aio-libs/aiohttp/issues/7718))
- Fixed `ClientWebSocketResponse.close_code` being erroneously set to `None` when there are concurrent async tasks receiving data and closing the connection.
([#7306](https://togithub.com/aio-libs/aiohttp/issues/7306))
- Changed `AppKey` warning to `web.NotAppKeyWarning` and stop it being displayed by default. -- by :user:`Dreamsorcerer`
([#7677](https://togithub.com/aio-libs/aiohttp/issues/7677))
- Fix issue with insufficient HTTP method and version validation.
([#7700](https://togithub.com/aio-libs/aiohttp/issues/7700))
- Add check to validate that absolute URIs have schemes.
([#7712](https://togithub.com/aio-libs/aiohttp/issues/7712))
- Fix unhandled exception when Python HTTP parser encounters unpaired Unicode surrogates.
([#7715](https://togithub.com/aio-libs/aiohttp/issues/7715))
- Update parser to disallow invalid characters in header field names and stop accepting LF as a request line separator.
([#7719](https://togithub.com/aio-libs/aiohttp/issues/7719))
- Fix py http parser not treating 204/304/1xx as an empty body
([#7755](https://togithub.com/aio-libs/aiohttp/issues/7755))
- Ensure empty body response for 1xx/204/304 per RFC 9112 sec 6.3
([#7756](https://togithub.com/aio-libs/aiohttp/issues/7756))
- Fixed an issue when a client request is closed before completing a chunked payload -- by :user:`Dreamsorcerer`
([#7764](https://togithub.com/aio-libs/aiohttp/issues/7764))
- Edge Case Handling for ResponseParser for missing reason value
([#7776](https://togithub.com/aio-libs/aiohttp/issues/7776))
- Fixed a rare `RuntimeError: await wasn't used with future` exception -- by :user:`stalkerg`
([#7785](https://togithub.com/aio-libs/aiohttp/issues/7785))
## Improved Documentation
- Fix, update, and improve client exceptions documentation.
([#7733](https://togithub.com/aio-libs/aiohttp/issues/7733))
***
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
==3.9.0b0
->==3.9.0rc0
Release Notes
aio-libs/aiohttp (aiohttp)
### [`v3.9.0rc0`](https://togithub.com/aio-libs/aiohttp/releases/tag/v3.9.0rc0): 3.9.0rc0 [Compare Source](https://togithub.com/aio-libs/aiohttp/compare/v3.9.0b1...v3.9.0rc0) ## Features - Performance: Skipped filtering `CookieJar` when the jar is empty or all cookies have expired. ([#7819](https://togithub.com/aio-libs/aiohttp/issues/7819)) - Performance: Only check origin if insecure scheme and there are origins to treat as secure, in `CookieJar.filter_cookies()`. ([#7821](https://togithub.com/aio-libs/aiohttp/issues/7821)) - Performance: Used timestamp instead of `datetime` to achieve faster cookie expiration in `CookieJar`. ([#7824](https://togithub.com/aio-libs/aiohttp/issues/7824)) ## Bugfixes - Fixed an issue where the client could go into an infinite loop. -- by :user:`Dreamsorcerer` ([#7815](https://togithub.com/aio-libs/aiohttp/issues/7815)) - Added HTTP method validation. ([#6533](https://togithub.com/aio-libs/aiohttp/issues/6533)) - Fixed arbitrary sequence types being allowed to inject values via version parameter. -- by :user:`Dreamsorcerer` ([#7835](https://togithub.com/aio-libs/aiohttp/issues/7835)) - Performance: Fixed increase in latency with small messages from websocket compression changes. ([#7797](https://togithub.com/aio-libs/aiohttp/issues/7797)) *** ### [`v3.9.0b1`](https://togithub.com/aio-libs/aiohttp/releases/tag/v3.9.0b1): 3.9.0b1 [Compare Source](https://togithub.com/aio-libs/aiohttp/compare/v3.9.0b0...v3.9.0b1) ## Features - Added `WebSocketResponse.get_extra_info()` to access a protocol transport's extra info. ([#7078](https://togithub.com/aio-libs/aiohttp/issues/7078)) - Allow `link` argument to be set to None/empty in HTTP 451 exception. ([#7689](https://togithub.com/aio-libs/aiohttp/issues/7689)) - Added `shutdown_timeout` parameter to `BaseRunner`, while deprecating `shutdown_timeout` parameter from `BaseSite`. -- by :user:`Dreamsorcerer` ([#7718](https://togithub.com/aio-libs/aiohttp/issues/7718)) ## Bugfixes - Fixed keep-alive connections stopping a graceful shutdown. -- by :user:`Dreamsorcerer` ([#7718](https://togithub.com/aio-libs/aiohttp/issues/7718)) - Fixed `ClientWebSocketResponse.close_code` being erroneously set to `None` when there are concurrent async tasks receiving data and closing the connection. ([#7306](https://togithub.com/aio-libs/aiohttp/issues/7306)) - Changed `AppKey` warning to `web.NotAppKeyWarning` and stop it being displayed by default. -- by :user:`Dreamsorcerer` ([#7677](https://togithub.com/aio-libs/aiohttp/issues/7677)) - Fix issue with insufficient HTTP method and version validation. ([#7700](https://togithub.com/aio-libs/aiohttp/issues/7700)) - Add check to validate that absolute URIs have schemes. ([#7712](https://togithub.com/aio-libs/aiohttp/issues/7712)) - Fix unhandled exception when Python HTTP parser encounters unpaired Unicode surrogates. ([#7715](https://togithub.com/aio-libs/aiohttp/issues/7715)) - Update parser to disallow invalid characters in header field names and stop accepting LF as a request line separator. ([#7719](https://togithub.com/aio-libs/aiohttp/issues/7719)) - Fix py http parser not treating 204/304/1xx as an empty body ([#7755](https://togithub.com/aio-libs/aiohttp/issues/7755)) - Ensure empty body response for 1xx/204/304 per RFC 9112 sec 6.3 ([#7756](https://togithub.com/aio-libs/aiohttp/issues/7756)) - Fixed an issue when a client request is closed before completing a chunked payload -- by :user:`Dreamsorcerer` ([#7764](https://togithub.com/aio-libs/aiohttp/issues/7764)) - Edge Case Handling for ResponseParser for missing reason value ([#7776](https://togithub.com/aio-libs/aiohttp/issues/7776)) - Fixed a rare `RuntimeError: await wasn't used with future` exception -- by :user:`stalkerg` ([#7785](https://togithub.com/aio-libs/aiohttp/issues/7785)) ## Improved Documentation - Fix, update, and improve client exceptions documentation. ([#7733](https://togithub.com/aio-libs/aiohttp/issues/7733)) ***Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.