Skip to content

Commit f9621dc

Browse files
authored
Release 3.12.11 (#11157)
1 parent ca39f6a commit f9621dc

File tree

4 files changed

+49
-12
lines changed

4 files changed

+49
-12
lines changed

CHANGES.rst

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,54 @@
1010

1111
.. towncrier release notes start
1212
13+
3.12.11 (2025-06-07)
14+
====================
15+
16+
Features
17+
--------
18+
19+
- Improved SSL connection handling by changing the default ``ssl_shutdown_timeout``
20+
from ``0.1`` to ``0`` seconds. SSL connections now use Python's default graceful
21+
shutdown during normal operation but are aborted immediately when the connector
22+
is closed, providing optimal behavior for both cases. Also added support for
23+
``ssl_shutdown_timeout=0`` on all Python versions. Previously, this value was
24+
rejected on Python 3.11+ and ignored on earlier versions. Non-zero values on
25+
Python < 3.11 now trigger a ``RuntimeWarning`` -- by :user:`bdraco`.
26+
27+
The ``ssl_shutdown_timeout`` parameter is now deprecated and will be removed in
28+
aiohttp 4.0 as there is no clear use case for changing the default.
29+
30+
31+
*Related issues and pull requests on GitHub:*
32+
:issue:`11148`.
33+
34+
35+
36+
37+
Deprecations (removal in next major release)
38+
--------------------------------------------
39+
40+
- Improved SSL connection handling by changing the default ``ssl_shutdown_timeout``
41+
from ``0.1`` to ``0`` seconds. SSL connections now use Python's default graceful
42+
shutdown during normal operation but are aborted immediately when the connector
43+
is closed, providing optimal behavior for both cases. Also added support for
44+
``ssl_shutdown_timeout=0`` on all Python versions. Previously, this value was
45+
rejected on Python 3.11+ and ignored on earlier versions. Non-zero values on
46+
Python < 3.11 now trigger a ``RuntimeWarning`` -- by :user:`bdraco`.
47+
48+
The ``ssl_shutdown_timeout`` parameter is now deprecated and will be removed in
49+
aiohttp 4.0 as there is no clear use case for changing the default.
50+
51+
52+
*Related issues and pull requests on GitHub:*
53+
:issue:`11148`.
54+
55+
56+
57+
58+
----
59+
60+
1361
3.12.10 (2025-06-07)
1462
====================
1563

CHANGES/11148.deprecation.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGES/11148.feature.rst

Lines changed: 0 additions & 10 deletions
This file was deleted.

aiohttp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "3.12.10"
1+
__version__ = "3.12.11"
22

33
from typing import TYPE_CHECKING, Tuple
44

0 commit comments

Comments
 (0)