Skip to content

Commit 24a6d64

Browse files
Release v3.9.2 (#8082)
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
1 parent 9118a58 commit 24a6d64

16 files changed

+197
-42
lines changed

CHANGES.rst

+196
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,202 @@
1010

1111
.. towncrier release notes start
1212
13+
3.9.2 (2024-01-28)
14+
==================
15+
16+
Bug fixes
17+
---------
18+
19+
- Fixed server-side websocket connection leak.
20+
21+
22+
*Related issues and pull requests on GitHub:*
23+
:issue:`7978`.
24+
25+
26+
27+
- Fixed ``web.FileResponse`` doing blocking I/O in the event loop.
28+
29+
30+
*Related issues and pull requests on GitHub:*
31+
:issue:`8012`.
32+
33+
34+
35+
- Fixed double compress when compression enabled and compressed file exists in server file responses.
36+
37+
38+
*Related issues and pull requests on GitHub:*
39+
:issue:`8014`.
40+
41+
42+
43+
- Added runtime type check for ``ClientSession`` ``timeout`` parameter.
44+
45+
46+
*Related issues and pull requests on GitHub:*
47+
:issue:`8021`.
48+
49+
50+
51+
- Fixed an unhandled exception in the Python HTTP parser on header lines starting with a colon -- by :user:`pajod`.
52+
53+
Invalid request lines with anything but a dot between the HTTP major and minor version are now rejected.
54+
Invalid header field names containing question mark or slash are now rejected.
55+
Such requests are incompatible with :rfc:`9110#section-5.6.2` and are not known to be of any legitimate use.
56+
57+
58+
*Related issues and pull requests on GitHub:*
59+
:issue:`8074`.
60+
61+
62+
63+
- Improved validation of paths for static resources requests to the server -- by :user:`bdraco`.
64+
65+
66+
*Related issues and pull requests on GitHub:*
67+
:issue:`8079`.
68+
69+
70+
71+
72+
Features
73+
--------
74+
75+
- Added support for passing :py:data:`True` to ``ssl`` parameter in ``ClientSession`` while
76+
deprecating :py:data:`None` -- by :user:`xiangyan99`.
77+
78+
79+
*Related issues and pull requests on GitHub:*
80+
:issue:`7698`.
81+
82+
83+
84+
Breaking changes
85+
----------------
86+
87+
- Fixed an unhandled exception in the Python HTTP parser on header lines starting with a colon -- by :user:`pajod`.
88+
89+
Invalid request lines with anything but a dot between the HTTP major and minor version are now rejected.
90+
Invalid header field names containing question mark or slash are now rejected.
91+
Such requests are incompatible with :rfc:`9110#section-5.6.2` and are not known to be of any legitimate use.
92+
93+
94+
*Related issues and pull requests on GitHub:*
95+
:issue:`8074`.
96+
97+
98+
99+
100+
Improved documentation
101+
----------------------
102+
103+
- Fixed examples of ``fallback_charset_resolver`` function in the :doc:`client_advanced` document. -- by :user:`henry0312`.
104+
105+
106+
*Related issues and pull requests on GitHub:*
107+
:issue:`7995`.
108+
109+
110+
111+
- The Sphinx setup was updated to avoid showing the empty
112+
changelog draft section in the tagged release documentation
113+
builds on Read The Docs -- by :user:`webknjaz`.
114+
115+
116+
*Related issues and pull requests on GitHub:*
117+
:issue:`8067`.
118+
119+
120+
121+
122+
Packaging updates and notes for downstreams
123+
-------------------------------------------
124+
125+
- The changelog categorization was made clearer. The
126+
contributors can now mark their fragment files more
127+
accurately -- by :user:`webknjaz`.
128+
129+
The new category tags are:
130+
131+
* ``bugfix``
132+
133+
* ``feature``
134+
135+
* ``deprecation``
136+
137+
* ``breaking`` (previously, ``removal``)
138+
139+
* ``doc``
140+
141+
* ``packaging``
142+
143+
* ``contrib``
144+
145+
* ``misc``
146+
147+
148+
*Related issues and pull requests on GitHub:*
149+
:issue:`8066`.
150+
151+
152+
153+
154+
Contributor-facing changes
155+
--------------------------
156+
157+
- Updated :ref:`contributing/Tests coverage <aiohttp-contributing>` section to show how we use ``codecov`` -- by :user:`Dreamsorcerer`.
158+
159+
160+
*Related issues and pull requests on GitHub:*
161+
:issue:`7916`.
162+
163+
164+
165+
- The changelog categorization was made clearer. The
166+
contributors can now mark their fragment files more
167+
accurately -- by :user:`webknjaz`.
168+
169+
The new category tags are:
170+
171+
* ``bugfix``
172+
173+
* ``feature``
174+
175+
* ``deprecation``
176+
177+
* ``breaking`` (previously, ``removal``)
178+
179+
* ``doc``
180+
181+
* ``packaging``
182+
183+
* ``contrib``
184+
185+
* ``misc``
186+
187+
188+
*Related issues and pull requests on GitHub:*
189+
:issue:`8066`.
190+
191+
192+
193+
194+
Miscellaneous internal changes
195+
------------------------------
196+
197+
- Replaced all ``tmpdir`` fixtures with ``tmp_path`` in test suite.
198+
199+
200+
*Related issues and pull requests on GitHub:*
201+
:issue:`3551`.
202+
203+
204+
205+
206+
----
207+
208+
13209
3.9.1 (2023-11-26)
14210
==================
15211

CHANGES/3551.misc

-1
This file was deleted.

CHANGES/7698.feature

-1
This file was deleted.

CHANGES/7916.doc

-1
This file was deleted.

CHANGES/7978.bugfix

-1
This file was deleted.

CHANGES/7995.doc

-1
This file was deleted.

CHANGES/8010.doc

-2
This file was deleted.

CHANGES/8012.bugfix

-1
This file was deleted.

CHANGES/8014.bugfix

-1
This file was deleted.

CHANGES/8021.bugfix

-1
This file was deleted.

CHANGES/8066.contrib.rst

-21
This file was deleted.

CHANGES/8066.packaging.rst

-1
This file was deleted.

CHANGES/8067.doc.rst

-3
This file was deleted.

CHANGES/8074.bugfix.rst

-5
This file was deleted.

CHANGES/8079.bugfix.rst

-1
This file was deleted.

aiohttp/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "3.9.1.dev0"
1+
__version__ = "3.9.2"
22

33
from typing import TYPE_CHECKING, Tuple
44

0 commit comments

Comments
 (0)