diff --git a/CHANGES.rst b/CHANGES.rst index 3a3d9880541..9fb01cac5fa 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -10,6 +10,226 @@ .. towncrier release notes start +3.10.11 (2024-11-13) +==================== + +Bug fixes +--------- + +- Authentication provided by a redirect now takes precedence over provided ``auth`` when making requests with the client -- by :user:`PLPeeters`. + + + *Related issues and pull requests on GitHub:* + :issue:`9436`. + + + +- Fixed :py:meth:`WebSocketResponse.close() ` to discard non-close messages within its timeout window after sending close -- by :user:`lenard-mosys`. + + + *Related issues and pull requests on GitHub:* + :issue:`9506`. + + + +- 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 WebSocket flow control calculation undercounting with multi-byte data -- by :user:`bdraco`. + + + *Related issues and pull requests on GitHub:* + :issue:`9686`. + + + +- Fixed incorrect parsing of chunk extensions with the pure Python parser -- by :user:`bdraco`. + + + *Related issues and pull requests on GitHub:* + :issue:`9851`. + + + +- Fixed system routes polluting the middleware cache -- by :user:`bdraco`. + + + *Related issues and pull requests on GitHub:* + :issue:`9852`. + + + + +Removals and backward incompatible breaking changes +--------------------------------------------------- + +- Improved performance of the connector when a connection can be reused -- by :user:`bdraco`. + + If ``BaseConnector.connect`` has been subclassed and replaced with custom logic, the ``ceil_timeout`` must be added. + + + *Related issues and pull requests on GitHub:* + :issue:`9600`. + + + + +Miscellaneous internal changes +------------------------------ + +- Improved performance of the client request lifecycle when there are no cookies -- by :user:`bdraco`. + + + *Related issues and pull requests on GitHub:* + :issue:`9470`. + + + +- Improved performance of sending client requests when the writer can finish synchronously -- by :user:`bdraco`. + + + *Related issues and pull requests on GitHub:* + :issue:`9485`. + + + +- Improved performance of serializing HTTP headers -- by :user:`bdraco`. + + + *Related issues and pull requests on GitHub:* + :issue:`9603`. + + + +- Passing ``enable_cleanup_closed`` to :py:class:`aiohttp.TCPConnector` is now ignored on Python 3.12.7+ and 3.13.1+ since the underlying bug that caused asyncio to leak SSL connections has been fixed upstream -- by :user:`bdraco`. + + + *Related issues and pull requests on GitHub:* + :issue:`9726`, :issue:`9736`. + + + + +---- + + +3.10.11rc0 (2024-11-13) +======================= + +Bug fixes +--------- + +- Authentication provided by a redirect now takes precedence over provided ``auth`` when making requests with the client -- by :user:`PLPeeters`. + + + *Related issues and pull requests on GitHub:* + :issue:`9436`. + + + +- Fixed :py:meth:`WebSocketResponse.close() ` to discard non-close messages within its timeout window after sending close -- by :user:`lenard-mosys`. + + + *Related issues and pull requests on GitHub:* + :issue:`9506`. + + + +- 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 WebSocket flow control calculation undercounting with multi-byte data -- by :user:`bdraco`. + + + *Related issues and pull requests on GitHub:* + :issue:`9686`. + + + +- Fixed incorrect parsing of chunk extensions with the pure Python parser -- by :user:`bdraco`. + + + *Related issues and pull requests on GitHub:* + :issue:`9851`. + + + +- Fixed system routes polluting the middleware cache -- by :user:`bdraco`. + + + *Related issues and pull requests on GitHub:* + :issue:`9852`. + + + + +Removals and backward incompatible breaking changes +--------------------------------------------------- + +- Improved performance of the connector when a connection can be reused -- by :user:`bdraco`. + + If ``BaseConnector.connect`` has been subclassed and replaced with custom logic, the ``ceil_timeout`` must be added. + + + *Related issues and pull requests on GitHub:* + :issue:`9600`. + + + + +Miscellaneous internal changes +------------------------------ + +- Improved performance of the client request lifecycle when there are no cookies -- by :user:`bdraco`. + + + *Related issues and pull requests on GitHub:* + :issue:`9470`. + + + +- Improved performance of sending client requests when the writer can finish synchronously -- by :user:`bdraco`. + + + *Related issues and pull requests on GitHub:* + :issue:`9485`. + + + +- Improved performance of serializing HTTP headers -- by :user:`bdraco`. + + + *Related issues and pull requests on GitHub:* + :issue:`9603`. + + + +- Passing ``enable_cleanup_closed`` to :py:class:`aiohttp.TCPConnector` is now ignored on Python 3.12.7+ and 3.13.1+ since the underlying bug that caused asyncio to leak SSL connections has been fixed upstream -- by :user:`bdraco`. + + + *Related issues and pull requests on GitHub:* + :issue:`9726`, :issue:`9736`. + + + + +---- + + 3.10.11rc0 (2024-11-12) ======================= diff --git a/CHANGES/9436.bugfix.rst b/CHANGES/9436.bugfix.rst deleted file mode 100644 index 7bd7fbcfe28..00000000000 --- a/CHANGES/9436.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Authentication provided by a redirect now takes precedence over provided ``auth`` when making requests with the client -- by :user:`PLPeeters`. diff --git a/CHANGES/9470.misc.rst b/CHANGES/9470.misc.rst deleted file mode 100644 index c363a0f8cfe..00000000000 --- a/CHANGES/9470.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Improved performance of the client request lifecycle when there are no cookies -- by :user:`bdraco`. diff --git a/CHANGES/9485.misc.rst b/CHANGES/9485.misc.rst deleted file mode 100644 index bb0978abd46..00000000000 --- a/CHANGES/9485.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Improved performance of sending client requests when the writer can finish synchronously -- by :user:`bdraco`. diff --git a/CHANGES/9506.bugfix.rst b/CHANGES/9506.bugfix.rst deleted file mode 100644 index 05ad6a59375..00000000000 --- a/CHANGES/9506.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed :py:meth:`WebSocketResponse.close() ` to discard non-close messages within its timeout window after sending close -- by :user:`lenard-mosys`. diff --git a/CHANGES/9600.breaking.rst b/CHANGES/9600.breaking.rst deleted file mode 100644 index 5997344e4cd..00000000000 --- a/CHANGES/9600.breaking.rst +++ /dev/null @@ -1,3 +0,0 @@ -Improved performance of the connector when a connection can be reused -- by :user:`bdraco`. - -If ``BaseConnector.connect`` has been subclassed and replaced with custom logic, the ``ceil_timeout`` must be added. diff --git a/CHANGES/9603.misc.rst b/CHANGES/9603.misc.rst deleted file mode 100644 index 8a27657cdb9..00000000000 --- a/CHANGES/9603.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Improved performance of serializing HTTP headers -- by :user:`bdraco`. diff --git a/CHANGES/9670.bugfix.rst b/CHANGES/9670.bugfix.rst deleted file mode 120000 index b0411a405a0..00000000000 --- a/CHANGES/9670.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -9671.bugfix.rst \ No newline at end of file diff --git a/CHANGES/9671.bugfix.rst b/CHANGES/9671.bugfix.rst deleted file mode 100644 index d2ca2e8ccb5..00000000000 --- a/CHANGES/9671.bugfix.rst +++ /dev/null @@ -1,3 +0,0 @@ -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. diff --git a/CHANGES/9686.bugfix.rst b/CHANGES/9686.bugfix.rst deleted file mode 100644 index 397fb75ba77..00000000000 --- a/CHANGES/9686.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed the WebSocket flow control calculation undercounting with multi-byte data -- by :user:`bdraco`. diff --git a/CHANGES/9726.misc.rst b/CHANGES/9726.misc.rst deleted file mode 100644 index 460c48b7995..00000000000 --- a/CHANGES/9726.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Passing ``enable_cleanup_closed`` to :py:class:`aiohttp.TCPConnector` is now ignored on Python 3.12.7+ and 3.13.1+ since the underlying bug that caused asyncio to leak SSL connections has been fixed upstream -- by :user:`bdraco`. diff --git a/CHANGES/9736.misc.rst b/CHANGES/9736.misc.rst deleted file mode 120000 index 98c0ac8ac1d..00000000000 --- a/CHANGES/9736.misc.rst +++ /dev/null @@ -1 +0,0 @@ -9726.misc.rst \ No newline at end of file diff --git a/CHANGES/9851.bugfix.rst b/CHANGES/9851.bugfix.rst deleted file mode 100644 index 02541a92dd4..00000000000 --- a/CHANGES/9851.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed incorrect parsing of chunk extensions with the pure Python parser -- by :user:`bdraco`. diff --git a/CHANGES/9852.bugfix.rst b/CHANGES/9852.bugfix.rst deleted file mode 100644 index b459d08478b..00000000000 --- a/CHANGES/9852.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed system routes polluting the middleware cache -- by :user:`bdraco`. diff --git a/aiohttp/__init__.py b/aiohttp/__init__.py index d092b00cc7a..4fc7908843a 100644 --- a/aiohttp/__init__.py +++ b/aiohttp/__init__.py @@ -1,4 +1,4 @@ -__version__ = "3.10.11rc0" +__version__ = "3.10.11" from typing import TYPE_CHECKING, Tuple