10
10
11
11
.. towncrier release notes start
12
12
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
+ ==================
145
15
146
16
Features
147
17
--------
@@ -179,7 +49,7 @@ Features
179
49
180
50
`#5219 <https://github.com/aio-libs/aiohttp/issues/5219 >`_
181
51
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 `.
183
53
184
54
`#5704 <https://github.com/aio-libs/aiohttp/issues/5704 >`_
185
55
@@ -196,19 +66,32 @@ Features
196
66
197
67
`#6839 <https://github.com/aio-libs/aiohttp/issues/6839 >`_
198
68
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
+
199
81
- Added support for passing a custom server name parameter to HTTPS connection.
200
82
201
83
`#7114 <https://github.com/aio-libs/aiohttp/issues/7114 >`_
202
84
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 `.
204
87
205
88
`#7131 <https://github.com/aio-libs/aiohttp/issues/7131 >`_
206
89
207
90
- Turned access log into no-op when the logger is disabled.
208
91
209
92
`#7240 <https://github.com/aio-libs/aiohttp/issues/7240 >`_
210
93
211
- - Added typing information to ``RawResponseMessage `` -- by :user: `Gobot1234 `
94
+ - Added typing information to ``RawResponseMessage ``. -- by :user: `Gobot1234 `
212
95
213
96
`#7365 <https://github.com/aio-libs/aiohttp/issues/7365 >`_
214
97
@@ -220,6 +103,14 @@ Features
220
103
221
104
`#7611 <https://github.com/aio-libs/aiohttp/issues/7611 >`_
222
105
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
+
223
114
224
115
225
116
Bugfixes
@@ -231,11 +122,11 @@ Bugfixes
231
122
232
123
`#3636 <https://github.com/aio-libs/aiohttp/issues/3636 >`_
233
124
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 `.
235
126
236
127
`#5854 <https://github.com/aio-libs/aiohttp/issues/5854 >`_
237
128
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.
239
130
240
131
`#6701 <https://github.com/aio-libs/aiohttp/issues/6701 >`_
241
132
@@ -271,6 +162,58 @@ Bugfixes
271
162
272
163
`#7616 <https://github.com/aio-libs/aiohttp/issues/7616 >`_
273
164
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
+
274
217
275
218
276
219
Improved Documentation
@@ -304,11 +247,20 @@ Improved Documentation
304
247
305
248
`#7334 <https://github.com/aio-libs/aiohttp/issues/7334 >`_
306
249
250
+ - Fix, update, and improve client exceptions documentation.
251
+
252
+ `#7733 <https://github.com/aio-libs/aiohttp/issues/7733 >`_
253
+
307
254
308
255
309
256
Deprecations and Removals
310
257
-------------------------
311
258
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
+
312
264
- Dropped Python 3.6 support.
313
265
314
266
`#6378 <https://github.com/aio-libs/aiohttp/issues/6378 >`_
342
294
343
295
`#6903 <https://github.com/aio-libs/aiohttp/issues/6903 >`_
344
296
345
- - Fixed annotation of ``ssl `` parameter to disallow ``True ``. -- by :user: `Dreamsorcerer `
297
+ - Fixed annotation of ``ssl `` parameter to disallow ``True ``. -- by :user: `Dreamsorcerer `.
346
298
347
299
`#7335 <https://github.com/aio-libs/aiohttp/issues/7335 >`_
348
300
0 commit comments