diff --git a/CHANGES.rst b/CHANGES.rst index a7d46e94bd0..8da40ff025c 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -10,6 +10,62 @@ .. towncrier release notes start +3.10.1 (2024-08-02) +======================== + +Bug fixes +--------- + +- Fixed WebSocket server heartbeat timeout logic to terminate `receive` and return :py:class:`~aiohttp.ServerTimeoutError` -- by :user:`arcivanov`. + + When a WebSocket pong message was not received, the + :py:meth:`~aiohttp.ClientWebSocketResponse.receive` operation did not terminate. + This change causes `_pong_not_received` to feed the `reader` an error message, causing + pending `receive` to terminate and return the error message. The error message contains + the exception :py:class:`~aiohttp.ServerTimeoutError`. + + + *Related issues and pull requests on GitHub:* + :issue:`8540`. + + + +- Fixed url dispatcher index not matching when a variable is preceded by a fixed string after a slash -- by :user:`bdraco`. + + + *Related issues and pull requests on GitHub:* + :issue:`8566`. + + + + +Removals and backward incompatible breaking changes +--------------------------------------------------- + +- Creating :py:class:`aiohttp.TCPConnector`, + :py:class:`aiohttp.ClientSession`, + :py:class:`~aiohttp.resolver.ThreadedResolver` + :py:class:`aiohttp.web.Server`, + or :py:class:`aiohttp.CookieJar` + instances without a running event loop now + raises a :exc:`RuntimeError` + -- by :user:`asvetlov`. + + Creating these objects without a running event loop was deprecated + in :issue:`3372` which was released in version 3.5.0. + + This change first appeared in version 3.10.0 as :issue:`6378`. + + + *Related issues and pull requests on GitHub:* + :issue:`8555`, :issue:`8583`. + + + + +---- + + 3.10.0 (2024-07-30) ======================== diff --git a/CHANGES/8540.bugfix.rst b/CHANGES/8540.bugfix.rst deleted file mode 100644 index ab7c4767635..00000000000 --- a/CHANGES/8540.bugfix.rst +++ /dev/null @@ -1,7 +0,0 @@ -Fixed WebSocket server heartbeat timeout logic to terminate `receive` and return :py:class:`~aiohttp.ServerTimeoutError` -- by :user:`arcivanov`. - -When a WebSocket pong message was not received, the - :py:meth:`~aiohttp.ClientWebSocketResponse.receive` operation did not terminate. - This change causes `_pong_not_received` to feed the `reader` an error message, causing - pending `receive` to terminate and return the error message. The error message contains - the exception :py:class:`~aiohttp.ServerTimeoutError`. diff --git a/CHANGES/8555.breaking.rst b/CHANGES/8555.breaking.rst deleted file mode 100644 index 54850482c70..00000000000 --- a/CHANGES/8555.breaking.rst +++ /dev/null @@ -1,13 +0,0 @@ -Creating :py:class:`aiohttp.TCPConnector`, - :py:class:`aiohttp.ClientSession`, - :py:class:`~aiohttp.resolver.ThreadedResolver` - :py:class:`aiohttp.web.Server`, - or :py:class:`aiohttp.CookieJar` - instances without a running event loop now - raises a :exc:`RuntimeError` - -- by :user:`asvetlov`. - -Creating these objects without a running event loop was deprecated -in :issue:`3372` which was released in version 3.5.0. - -This change first appeared in version 3.10.0 as :issue:`6378`. diff --git a/CHANGES/8566.bugfix.rst b/CHANGES/8566.bugfix.rst deleted file mode 100644 index 61365c0bb61..00000000000 --- a/CHANGES/8566.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed url dispatcher index not matching when a variable is preceded by a fixed string after a slash -- by :user:`bdraco`. diff --git a/CHANGES/8583.breaking.rst b/CHANGES/8583.breaking.rst deleted file mode 120000 index f743fcc1eb0..00000000000 --- a/CHANGES/8583.breaking.rst +++ /dev/null @@ -1 +0,0 @@ -8555.breaking.rst \ No newline at end of file diff --git a/aiohttp/__init__.py b/aiohttp/__init__.py index 61d1c77598c..9ec07dbe449 100644 --- a/aiohttp/__init__.py +++ b/aiohttp/__init__.py @@ -1,4 +1,4 @@ -__version__ = "3.10.1.dev0" +__version__ = "3.10.1" from typing import TYPE_CHECKING, Tuple