Skip to content

Commit

Permalink
Release 3.11.0b3 (#9684)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Nov 5, 2024
1 parent 79437cd commit 49f65e6
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 2 deletions.
46 changes: 45 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

.. towncrier release notes start
3.11.0b2 (2024-11-03)
3.11.0b3 (2024-11-05)
=====================

Bug fixes
Expand All @@ -24,6 +24,14 @@ Bug fixes



- Modified websocket :meth:`aiohttp.ClientWebSocketResponse.receive_str`, :py:meth:`aiohttp.ClientWebSocketResponse.receive_bytes`, :py:meth:`aiohttp.web.WebSocketResponse.receive_str` & :py:meth:`aiohttp.web.WebSocketResponse.receive_bytes` methods to raise new :py:exc:`aiohttp.WSMessageTypeError` exception, instead of generic :py:exc:`TypeError`, when websocket messages of incorrect types are received -- by :user:`ara-25`.


*Related issues and pull requests on GitHub:*
:issue:`6800`.



- Made ``TestClient.app`` a ``Generic`` so type checkers will know the correct type (avoiding unneeded ``client.app is not None`` checks) -- by :user:`Dreamsorcerer`.


Expand All @@ -40,6 +48,26 @@ Bug fixes



- Fixed a deadlock that could occur while attempting to get a new connection slot after a timeout -- by :user:`bdraco`.

The connector was not cancellation-safe.


*Related issues and pull requests on GitHub:*
:issue:`9670`, :issue:`9671`.



- Fixed the keep-alive connection pool to be FIFO instead of LIFO -- by :user:`bdraco`.

Keep-alive connections are more likely to be reused before they disconnect.


*Related issues and pull requests on GitHub:*
:issue:`9672`.




Features
--------
Expand Down Expand Up @@ -309,6 +337,22 @@ Miscellaneous internal changes



- Improved performance of the internal ``DataQueue`` -- by :user:`bdraco`.


*Related issues and pull requests on GitHub:*
:issue:`9659`.



- Improved performance of calling ``receive`` for WebSockets for the most common message types -- by :user:`bdraco`.


*Related issues and pull requests on GitHub:*
:issue:`9679`.




----

Expand Down
2 changes: 1 addition & 1 deletion aiohttp/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "3.11.0b2"
__version__ = "3.11.0b3"

from typing import TYPE_CHECKING, Tuple

Expand Down

0 comments on commit 49f65e6

Please sign in to comment.