Skip to content

Commit ecb7086

Browse files
authored
Release 3.12.2 (#11039)
1 parent 6c3daa7 commit ecb7086

File tree

3 files changed

+21
-4
lines changed

3 files changed

+21
-4
lines changed

CHANGES.rst

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

1111
.. towncrier release notes start
1212
13+
3.12.2 (2025-05-26)
14+
===================
15+
16+
Bug fixes
17+
---------
18+
19+
- Fixed ``Content-Length`` header not being set to ``0`` for non-GET requests with ``None`` body -- by :user:`bdraco`.
20+
21+
Non-GET requests (``POST``, ``PUT``, ``PATCH``, ``DELETE``) with ``None`` as the body now correctly set the ``Content-Length`` header to ``0``, matching the behavior of requests with empty bytes (``b""``). This regression was introduced in aiohttp 3.12.1.
22+
23+
24+
*Related issues and pull requests on GitHub:*
25+
:issue:`11035`.
26+
27+
28+
29+
30+
----
31+
32+
1333
3.12.1 (2025-05-26)
1434
===================
1535

CHANGES/11035.bugfix.rst

Lines changed: 0 additions & 3 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.1.dev0"
1+
__version__ = "3.12.2"
22

33
from typing import TYPE_CHECKING, Tuple
44

0 commit comments

Comments
 (0)