|
10 | 10 |
|
11 | 11 | .. towncrier release notes start |
12 | 12 |
|
| 13 | +3.10.1 (2024-08-02) |
| 14 | +======================== |
| 15 | + |
| 16 | +Bug fixes |
| 17 | +--------- |
| 18 | + |
| 19 | +- Fixed WebSocket server heartbeat timeout logic to terminate `receive` and return :py:class:`~aiohttp.ServerTimeoutError` -- by :user:`arcivanov`. |
| 20 | + |
| 21 | + When a WebSocket pong message was not received, the |
| 22 | + :py:meth:`~aiohttp.ClientWebSocketResponse.receive` operation did not terminate. |
| 23 | + This change causes `_pong_not_received` to feed the `reader` an error message, causing |
| 24 | + pending `receive` to terminate and return the error message. The error message contains |
| 25 | + the exception :py:class:`~aiohttp.ServerTimeoutError`. |
| 26 | + |
| 27 | + |
| 28 | + *Related issues and pull requests on GitHub:* |
| 29 | + :issue:`8540`. |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | +- Fixed url dispatcher index not matching when a variable is preceded by a fixed string after a slash -- by :user:`bdraco`. |
| 34 | + |
| 35 | + |
| 36 | + *Related issues and pull requests on GitHub:* |
| 37 | + :issue:`8566`. |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | +Removals and backward incompatible breaking changes |
| 43 | +--------------------------------------------------- |
| 44 | + |
| 45 | +- Creating :py:class:`aiohttp.TCPConnector`, |
| 46 | + :py:class:`aiohttp.ClientSession`, |
| 47 | + :py:class:`~aiohttp.resolver.ThreadedResolver` |
| 48 | + :py:class:`aiohttp.web.Server`, |
| 49 | + or :py:class:`aiohttp.CookieJar` |
| 50 | + instances without a running event loop now |
| 51 | + raises a :exc:`RuntimeError` |
| 52 | + -- by :user:`asvetlov`. |
| 53 | + |
| 54 | + Creating these objects without a running event loop was deprecated |
| 55 | + in :issue:`3372` which was released in version 3.5.0. |
| 56 | + |
| 57 | + This change first appeared in version 3.10.0 as :issue:`6378`. |
| 58 | + |
| 59 | + |
| 60 | + *Related issues and pull requests on GitHub:* |
| 61 | + :issue:`8555`, :issue:`8583`. |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | +---- |
| 67 | + |
| 68 | + |
13 | 69 | 3.10.0 (2024-07-30) |
14 | 70 | ======================== |
15 | 71 |
|
|
0 commit comments