Skip to content

Commit

Permalink
Release 3.10.1 (attempt 2) (#8598)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Aug 4, 2024
1 parent 0810219 commit f1e4213
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,15 @@

.. towncrier release notes start
3.10.1 (2024-08-02)
3.10.1 (2024-08-03)
========================

Bug fixes
---------

- Fixed WebSocket server heartbeat timeout logic to terminate `receive` and return :py:class:`~aiohttp.ServerTimeoutError` -- by :user:`arcivanov`.
- Fixed WebSocket server heartbeat timeout logic to terminate :py:meth:`~aiohttp.ClientWebSocketResponse.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`.
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 :py:meth:`~aiohttp.ClientWebSocketResponse.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:*
Expand All @@ -42,17 +38,9 @@ Bug fixes
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.
- 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`.

Expand Down

0 comments on commit f1e4213

Please sign in to comment.