Skip to content

Commit 47bc2a4

Browse files
authored
Release 3.12.8 (#11133)
1 parent 278fc1e commit 47bc2a4

File tree

4 files changed

+27
-11
lines changed

4 files changed

+27
-11
lines changed

CHANGES.rst

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

1111
.. towncrier release notes start
1212
13+
3.12.8 (2025-06-04)
14+
===================
15+
16+
Features
17+
--------
18+
19+
- Added preemptive digest authentication to :class:`~aiohttp.DigestAuthMiddleware` -- by :user:`bdraco`.
20+
21+
The middleware now reuses authentication credentials for subsequent requests to the same
22+
protection space, improving efficiency by avoiding extra authentication round trips.
23+
This behavior matches how web browsers handle digest authentication and follows
24+
:rfc:`7616#section-3.6`.
25+
26+
Preemptive authentication is enabled by default but can be disabled by passing
27+
``preemptive=False`` to the middleware constructor.
28+
29+
30+
*Related issues and pull requests on GitHub:*
31+
:issue:`11128`, :issue:`11129`.
32+
33+
34+
35+
36+
----
37+
38+
1339
3.12.7 (2025-06-02)
1440
===================
1541

CHANGES/11128.feature.rst

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

CHANGES/11129.feature.rst

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

33
from typing import TYPE_CHECKING, Tuple
44

0 commit comments

Comments
 (0)