Skip to content

Commit 45b2c2c

Browse files
Release v3.9.0 (#7843)
1 parent 5d59d3d commit 45b2c2c

File tree

2 files changed

+91
-139
lines changed

2 files changed

+91
-139
lines changed

Diff for: CHANGES.rst

+90-138
Original file line numberDiff line numberDiff line change
@@ -10,138 +10,8 @@
1010

1111
.. towncrier release notes start
1212
13-
3.9.0rc0 (2023-11-14)
14-
=====================
15-
16-
Features
17-
--------
18-
19-
- Performance: Skipped filtering ``CookieJar`` when the jar is empty or all cookies have expired.
20-
21-
`#7819 <https://github.com/aio-libs/aiohttp/issues/7819>`_
22-
23-
- Performance: Only check origin if insecure scheme and there are origins to treat as secure, in ``CookieJar.filter_cookies()``.
24-
25-
`#7821 <https://github.com/aio-libs/aiohttp/issues/7821>`_
26-
27-
- Performance: Used timestamp instead of ``datetime`` to achieve faster cookie expiration in ``CookieJar``.
28-
29-
`#7824 <https://github.com/aio-libs/aiohttp/issues/7824>`_
30-
31-
32-
33-
Bugfixes
34-
--------
35-
36-
- Fixed an issue where the client could go into an infinite loop. -- by :user:`Dreamsorcerer`
37-
38-
`#7815 <https://github.com/aio-libs/aiohttp/issues/7815>`_
39-
40-
- Added HTTP method validation.
41-
42-
`#6533 <https://github.com/aio-libs/aiohttp/issues/6533>`_
43-
44-
- Fixed arbitrary sequence types being allowed to inject values via version parameter. -- by :user:`Dreamsorcerer`
45-
46-
`#7835 <https://github.com/aio-libs/aiohttp/issues/7835>`_
47-
48-
- Performance: Fixed increase in latency with small messages from websocket compression changes.
49-
50-
`#7797 <https://github.com/aio-libs/aiohttp/issues/7797>`_
51-
52-
53-
54-
----
55-
56-
57-
3.9.0b1 (2023-11-03)
58-
====================
59-
60-
Features
61-
--------
62-
63-
- Added ``WebSocketResponse.get_extra_info()`` to access a protocol transport's extra info.
64-
65-
`#7078 <https://github.com/aio-libs/aiohttp/issues/7078>`_
66-
67-
- Allow ``link`` argument to be set to None/empty in HTTP 451 exception.
68-
69-
`#7689 <https://github.com/aio-libs/aiohttp/issues/7689>`_
70-
71-
- Added ``shutdown_timeout`` parameter to ``BaseRunner``, while
72-
deprecating ``shutdown_timeout`` parameter from ``BaseSite``. -- by :user:`Dreamsorcerer`
73-
74-
`#7718 <https://github.com/aio-libs/aiohttp/issues/7718>`_
75-
76-
77-
78-
Bugfixes
79-
--------
80-
81-
- Fixed keep-alive connections stopping a graceful shutdown. -- by :user:`Dreamsorcerer`
82-
83-
`#7718 <https://github.com/aio-libs/aiohttp/issues/7718>`_
84-
85-
- Fixed ``ClientWebSocketResponse.close_code`` being erroneously set to ``None`` when there are concurrent async tasks receiving data and closing the connection.
86-
87-
`#7306 <https://github.com/aio-libs/aiohttp/issues/7306>`_
88-
89-
- Changed ``AppKey`` warning to ``web.NotAppKeyWarning`` and stop it being displayed by default. -- by :user:`Dreamsorcerer`
90-
91-
`#7677 <https://github.com/aio-libs/aiohttp/issues/7677>`_
92-
93-
- Fix issue with insufficient HTTP method and version validation.
94-
95-
`#7700 <https://github.com/aio-libs/aiohttp/issues/7700>`_
96-
97-
- Add check to validate that absolute URIs have schemes.
98-
99-
`#7712 <https://github.com/aio-libs/aiohttp/issues/7712>`_
100-
101-
- Fix unhandled exception when Python HTTP parser encounters unpaired Unicode surrogates.
102-
103-
`#7715 <https://github.com/aio-libs/aiohttp/issues/7715>`_
104-
105-
- Update parser to disallow invalid characters in header field names and stop accepting LF as a request line separator.
106-
107-
`#7719 <https://github.com/aio-libs/aiohttp/issues/7719>`_
108-
109-
- Fix py http parser not treating 204/304/1xx as an empty body
110-
111-
`#7755 <https://github.com/aio-libs/aiohttp/issues/7755>`_
112-
113-
- Ensure empty body response for 1xx/204/304 per RFC 9112 sec 6.3
114-
115-
`#7756 <https://github.com/aio-libs/aiohttp/issues/7756>`_
116-
117-
- Fixed an issue when a client request is closed before completing a chunked payload -- by :user:`Dreamsorcerer`
118-
119-
`#7764 <https://github.com/aio-libs/aiohttp/issues/7764>`_
120-
121-
- Edge Case Handling for ResponseParser for missing reason value
122-
123-
`#7776 <https://github.com/aio-libs/aiohttp/issues/7776>`_
124-
125-
- Fixed a rare `RuntimeError: await wasn't used with future` exception -- by :user:`stalkerg`
126-
127-
`#7785 <https://github.com/aio-libs/aiohttp/issues/7785>`_
128-
129-
130-
131-
Improved Documentation
132-
----------------------
133-
134-
- Fix, update, and improve client exceptions documentation.
135-
136-
`#7733 <https://github.com/aio-libs/aiohttp/issues/7733>`_
137-
138-
139-
140-
----
141-
142-
143-
3.9.0b0 (2023-10-07)
144-
====================
13+
3.9.0 (2023-11-18)
14+
==================
14515

14616
Features
14717
--------
@@ -179,7 +49,7 @@ Features
17949

18050
`#5219 <https://github.com/aio-libs/aiohttp/issues/5219>`_
18151

182-
- Added ``client_max_size`` to ``BaseRequest.clone()`` to allow overriding the request body size -- :user:`anesabml`.
52+
- Added ``client_max_size`` to ``BaseRequest.clone()`` to allow overriding the request body size. -- :user:`anesabml`.
18353

18454
`#5704 <https://github.com/aio-libs/aiohttp/issues/5704>`_
18555

@@ -196,19 +66,32 @@ Features
19666

19767
`#6839 <https://github.com/aio-libs/aiohttp/issues/6839>`_
19868

69+
- Performance: Skipped filtering ``CookieJar`` when the jar is empty or all cookies have expired.
70+
71+
`#7819 <https://github.com/aio-libs/aiohttp/issues/7819>`_
72+
73+
- Performance: Only check origin if insecure scheme and there are origins to treat as secure, in ``CookieJar.filter_cookies()``.
74+
75+
`#7821 <https://github.com/aio-libs/aiohttp/issues/7821>`_
76+
77+
- Performance: Used timestamp instead of ``datetime`` to achieve faster cookie expiration in ``CookieJar``.
78+
79+
`#7824 <https://github.com/aio-libs/aiohttp/issues/7824>`_
80+
19981
- Added support for passing a custom server name parameter to HTTPS connection.
20082

20183
`#7114 <https://github.com/aio-libs/aiohttp/issues/7114>`_
20284

203-
- Added support for using Basic Auth credentials from :file:`.netrc` file when making HTTP requests with the :py:class:`~aiohttp.ClientSession` ``trust_env`` argument is set to ``True`` -- by :user:`yuvipanda`.
85+
- Added support for using Basic Auth credentials from :file:`.netrc` file when making HTTP requests with the
86+
:py:class:`~aiohttp.ClientSession` ``trust_env`` argument is set to ``True``. -- by :user:`yuvipanda`.
20487

20588
`#7131 <https://github.com/aio-libs/aiohttp/issues/7131>`_
20689

20790
- Turned access log into no-op when the logger is disabled.
20891

20992
`#7240 <https://github.com/aio-libs/aiohttp/issues/7240>`_
21093

211-
- Added typing information to ``RawResponseMessage`` -- by :user:`Gobot1234`
94+
- Added typing information to ``RawResponseMessage``. -- by :user:`Gobot1234`
21295

21396
`#7365 <https://github.com/aio-libs/aiohttp/issues/7365>`_
21497

@@ -220,6 +103,14 @@ Features
220103

221104
`#7611 <https://github.com/aio-libs/aiohttp/issues/7611>`_
222105

106+
- Added ``WebSocketResponse.get_extra_info()`` to access a protocol transport's extra info.
107+
108+
`#7078 <https://github.com/aio-libs/aiohttp/issues/7078>`_
109+
110+
- Allow ``link`` argument to be set to None/empty in HTTP 451 exception.
111+
112+
`#7689 <https://github.com/aio-libs/aiohttp/issues/7689>`_
113+
223114

224115

225116
Bugfixes
@@ -231,11 +122,11 @@ Bugfixes
231122

232123
`#3636 <https://github.com/aio-libs/aiohttp/issues/3636>`_
233124

234-
- Fixed client timeout not working when incoming data is always available without waiting -- by :user:`Dreamsorcerer`.
125+
- Fixed client timeout not working when incoming data is always available without waiting. -- by :user:`Dreamsorcerer`.
235126

236127
`#5854 <https://github.com/aio-libs/aiohttp/issues/5854>`_
237128

238-
- Fixed ``readuntil`` to work with a delimiter of more than one character
129+
- Fixed ``readuntil`` to work with a delimiter of more than one character.
239130

240131
`#6701 <https://github.com/aio-libs/aiohttp/issues/6701>`_
241132

@@ -271,6 +162,58 @@ Bugfixes
271162

272163
`#7616 <https://github.com/aio-libs/aiohttp/issues/7616>`_
273164

165+
- Fixed a rare ``RuntimeError: await wasn't used with future`` exception. -- by :user:`stalkerg`
166+
167+
`#7785 <https://github.com/aio-libs/aiohttp/issues/7785>`_
168+
169+
- Fixed issue with insufficient HTTP method and version validation.
170+
171+
`#7700 <https://github.com/aio-libs/aiohttp/issues/7700>`_
172+
173+
- Added check to validate that absolute URIs have schemes.
174+
175+
`#7712 <https://github.com/aio-libs/aiohttp/issues/7712>`_
176+
177+
- Fixed unhandled exception when Python HTTP parser encounters unpaired Unicode surrogates.
178+
179+
`#7715 <https://github.com/aio-libs/aiohttp/issues/7715>`_
180+
181+
- Updated parser to disallow invalid characters in header field names and stop accepting LF as a request line separator.
182+
183+
`#7719 <https://github.com/aio-libs/aiohttp/issues/7719>`_
184+
185+
- Fixed Python HTTP parser not treating 204/304/1xx as an empty body.
186+
187+
`#7755 <https://github.com/aio-libs/aiohttp/issues/7755>`_
188+
189+
- Ensure empty body response for 1xx/204/304 per RFC 9112 sec 6.3.
190+
191+
`#7756 <https://github.com/aio-libs/aiohttp/issues/7756>`_
192+
193+
- Fixed an issue when a client request is closed before completing a chunked payload. -- by :user:`Dreamsorcerer`
194+
195+
`#7764 <https://github.com/aio-libs/aiohttp/issues/7764>`_
196+
197+
- Edge Case Handling for ResponseParser for missing reason value.
198+
199+
`#7776 <https://github.com/aio-libs/aiohttp/issues/7776>`_
200+
201+
- Fixed ``ClientWebSocketResponse.close_code`` being erroneously set to ``None`` when there are concurrent async tasks receiving data and closing the connection.
202+
203+
`#7306 <https://github.com/aio-libs/aiohttp/issues/7306>`_
204+
205+
- Added HTTP method validation.
206+
207+
`#6533 <https://github.com/aio-libs/aiohttp/issues/6533>`_
208+
209+
- Fixed arbitrary sequence types being allowed to inject values via version parameter. -- by :user:`Dreamsorcerer`
210+
211+
`#7835 <https://github.com/aio-libs/aiohttp/issues/7835>`_
212+
213+
- Performance: Fixed increase in latency with small messages from websocket compression changes.
214+
215+
`#7797 <https://github.com/aio-libs/aiohttp/issues/7797>`_
216+
274217

275218

276219
Improved Documentation
@@ -304,11 +247,20 @@ Improved Documentation
304247

305248
`#7334 <https://github.com/aio-libs/aiohttp/issues/7334>`_
306249

250+
- Fix, update, and improve client exceptions documentation.
251+
252+
`#7733 <https://github.com/aio-libs/aiohttp/issues/7733>`_
253+
307254

308255

309256
Deprecations and Removals
310257
-------------------------
311258

259+
- Added ``shutdown_timeout`` parameter to ``BaseRunner``, while
260+
deprecating ``shutdown_timeout`` parameter from ``BaseSite``. -- by :user:`Dreamsorcerer`
261+
262+
`#7718 <https://github.com/aio-libs/aiohttp/issues/7718>`_
263+
312264
- Dropped Python 3.6 support.
313265

314266
`#6378 <https://github.com/aio-libs/aiohttp/issues/6378>`_
@@ -342,7 +294,7 @@ Misc
342294

343295
`#6903 <https://github.com/aio-libs/aiohttp/issues/6903>`_
344296

345-
- Fixed annotation of ``ssl`` parameter to disallow ``True``. -- by :user:`Dreamsorcerer`
297+
- Fixed annotation of ``ssl`` parameter to disallow ``True``. -- by :user:`Dreamsorcerer`.
346298

347299
`#7335 <https://github.com/aio-libs/aiohttp/issues/7335>`_
348300

Diff for: aiohttp/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "3.9.0rc0"
1+
__version__ = "3.9.0"
22

33
from typing import TYPE_CHECKING, Tuple
44

0 commit comments

Comments
 (0)