Skip to content

Commit

Permalink
Release 3.10.1 (#8587)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Aug 2, 2024
1 parent f287ccc commit 0810219
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 23 deletions.
56 changes: 56 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
========================

Expand Down
7 changes: 0 additions & 7 deletions CHANGES/8540.bugfix.rst

This file was deleted.

13 changes: 0 additions & 13 deletions CHANGES/8555.breaking.rst

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/8566.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/8583.breaking.rst

This file was deleted.

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.10.1.dev0"
__version__ = "3.10.1"

from typing import TYPE_CHECKING, Tuple

Expand Down

0 comments on commit 0810219

Please sign in to comment.