Skip to content

Commit 0124dc5

Browse files
committed
Merge 3.9
1 parent a960eb6 commit 0124dc5

14 files changed

+197
-39
lines changed

CHANGES.rst

+197
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,203 @@
1010

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

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/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.

0 commit comments

Comments
 (0)