Skip to content

Commit 2272c2b

Browse files
Release v3.10.6 (#9288)
1 parent 81bb9cb commit 2272c2b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+80
-162
lines changed

CHANGES.rst

Lines changed: 79 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -10,100 +10,90 @@
1010

1111
.. towncrier release notes start
1212
13-
3.10.6rc2 (2024-09-23)
14-
======================
13+
3.10.6 (2024-09-24)
14+
===================
1515

16-
No significant changes.
16+
Bug fixes
17+
---------
1718

19+
- Added :exc:`aiohttp.ClientConnectionResetError`. Client code that previously threw :exc:`ConnectionResetError`
20+
will now throw this -- by :user:`Dreamsorcerer`.
1821

19-
----
2022

23+
*Related issues and pull requests on GitHub:*
24+
:issue:`9137`.
2125

22-
3.10.6rc1 (2024-09-22)
23-
======================
2426

25-
Removals and backward incompatible breaking changes
26-
---------------------------------------------------
2727

28-
- Increased minimum yarl version to 1.12.0 -- by :user:`bdraco`.
28+
- Fixed an unclosed transport ``ResourceWarning`` on web handlers -- by :user:`Dreamsorcerer`.
2929

3030

3131
*Related issues and pull requests on GitHub:*
32-
:issue:`9267`.
33-
34-
35-
36-
37-
----
32+
:issue:`8875`.
3833

3934

40-
3.10.6rc0 (2024-09-22)
41-
======================
4235

43-
Bug fixes
44-
---------
45-
46-
- Implemented binding to IPv6 addresses in the pytest server fixture.
36+
- Fixed resolve_host() 'Task was destroyed but is pending' errors -- by :user:`Dreamsorcerer`.
4737

4838

4939
*Related issues and pull requests on GitHub:*
50-
:issue:`4650`.
40+
:issue:`8967`.
5141

5242

5343

54-
- Fixed StreamResponse.prepared to return True after EOF is sent -- by :user:`arthurdarcet`.
44+
- Fixed handling of some file-like objects (e.g. ``tarfile.extractfile()``) which raise ``AttributeError`` instead of ``OSError`` when ``fileno`` fails for streaming payload data -- by :user:`ReallyReivax`.
5545

5646

5747
*Related issues and pull requests on GitHub:*
58-
:issue:`5343`.
48+
:issue:`6732`.
5949

6050

6151

62-
- Fixed ``Response.text`` when body is a ``Payload`` -- by :user:`Dreamsorcerer`.
52+
- Fixed web router not matching pre-encoded URLs (requires yarl 1.9.6+) -- by :user:`Dreamsorcerer`.
6353

6454

6555
*Related issues and pull requests on GitHub:*
66-
:issue:`6485`.
56+
:issue:`8898`, :issue:`9267`.
6757

6858

6959

70-
- Added support for URL credentials with empty (zero-length) username, e.g. ``https://:password@host`` -- by :user:`shuckc`
60+
- Fixed an error when trying to add a route for multiple methods with a path containing a regex pattern -- by :user:`Dreamsorcerer`.
7161

7262

7363
*Related issues and pull requests on GitHub:*
74-
:issue:`6494`.
64+
:issue:`8998`.
7565

7666

7767

78-
- Fixed handling of some file-like objects (e.g. ``tarfile.extractfile()``) which raise ``AttributeError`` instead of ``OSError`` when ``fileno`` fails for streaming payload data -- by :user:`ReallyReivax`.
68+
- Fixed ``Response.text`` when body is a ``Payload`` -- by :user:`Dreamsorcerer`.
7969

8070

8171
*Related issues and pull requests on GitHub:*
82-
:issue:`6732`.
72+
:issue:`6485`.
8373

8474

8575

86-
- Stopped logging exceptions from ``web.run_app()`` that would be raised regardless -- by :user:`Dreamsorcerer`.
76+
- Fixed compressed requests failing when no body was provided -- by :user:`Dreamsorcerer`.
8777

8878

8979
*Related issues and pull requests on GitHub:*
90-
:issue:`6807`.
80+
:issue:`9108`.
9181

9282

9383

94-
- Changed ``make_mocked_request()`` to use empty payload by default -- by :user:`rahulnht`.
84+
- Fixed client incorrectly reusing a connection when the previous message had not been fully sent -- by :user:`Dreamsorcerer`.
9585

9686

9787
*Related issues and pull requests on GitHub:*
98-
:issue:`7167`.
88+
:issue:`8992`.
9989

10090

10191

102-
- Used more precise type for ``ClientResponseError.headers``, fixing some type errors when using them -- by :user:`Dreamorcerer`.
92+
- Fixed race condition that could cause server to close connection incorrectly at keepalive timeout -- by :user:`Dreamsorcerer`.
10393

10494

10595
*Related issues and pull requests on GitHub:*
106-
:issue:`8768`.
96+
:issue:`9140`.
10797

10898

10999

@@ -115,11 +105,11 @@ Bug fixes
115105

116106

117107

118-
- Changed behavior when returning an invalid response to send a 500 response -- by :user:`Dreamsorcerer`.
108+
- Fixed error handling after 100-continue so server sends 500 response instead of disconnecting -- by :user:`Dreamsorcerer`.
119109

120110

121111
*Related issues and pull requests on GitHub:*
122-
:issue:`8845`.
112+
:issue:`8876`.
123113

124114

125115

@@ -131,158 +121,141 @@ Bug fixes
131121

132122

133123

134-
- Fixed an unclosed transport ``ResourceWarning`` on web handlers -- by :user:`Dreamsorcerer`.
135-
136-
137-
*Related issues and pull requests on GitHub:*
138-
:issue:`8875`.
139-
140-
141-
142-
- Fixed error handling after 100-continue so server sends 500 response instead of disconnecting -- by :user:`Dreamsorcerer`.
124+
- Added support for URL credentials with empty (zero-length) username, e.g. ``https://:password@host`` -- by :user:`shuckc`
143125

144126

145127
*Related issues and pull requests on GitHub:*
146-
:issue:`8876`.
128+
:issue:`6494`.
147129

148130

149131

150-
- Fixed response reading from closed session to throw an error immediately instead of timing out -- by :user:`Dreamsorcerer`.
132+
- Stopped logging exceptions from ``web.run_app()`` that would be raised regardless -- by :user:`Dreamsorcerer`.
151133

152134

153135
*Related issues and pull requests on GitHub:*
154-
:issue:`8878`.
136+
:issue:`6807`.
155137

156138

157139

158-
- Fixed web router not matching pre-encoded URLs (requires yarl 1.9.6+) -- by :user:`Dreamsorcerer`.
140+
- Implemented binding to IPv6 addresses in the pytest server fixture.
159141

160142

161143
*Related issues and pull requests on GitHub:*
162-
:issue:`8898`.
163-
164-
165-
166-
- Fixed ``CancelledError`` from one cleanup context stopping other contexts from completing -- by :user:`Dreamsorcerer`.
144+
:issue:`4650`.
167145

168146

169-
*Related issues and pull requests on GitHub:*
170-
:issue:`8908`.
171-
172147

148+
- Fixed the incorrect use of flags for ``getnameinfo()`` in the Resolver --by :user:`GitNMLee`
173149

174-
- Fixed ``Site.name`` when host is an empty string -- by :user:`Dreamsorcerer`.
150+
Link-Local IPv6 addresses can now be handled by the Resolver correctly.
175151

176152

177153
*Related issues and pull requests on GitHub:*
178-
:issue:`8929`.
154+
:issue:`9032`.
179155

180156

181157

182-
- Fixed resolve_host() 'Task was destroyed but is pending' errors -- by :user:`Dreamsorcerer`.
158+
- Fixed StreamResponse.prepared to return True after EOF is sent -- by :user:`arthurdarcet`.
183159

184160

185161
*Related issues and pull requests on GitHub:*
186-
:issue:`8967`.
162+
:issue:`5343`.
187163

188164

189165

190-
- Fixed changing scheme/host in ``Response.clone()`` for absolute URLs -- by :user:`Dreamsorcerer`.
166+
- Changed ``make_mocked_request()`` to use empty payload by default -- by :user:`rahulnht`.
191167

192168

193169
*Related issues and pull requests on GitHub:*
194-
:issue:`8990`.
170+
:issue:`7167`.
195171

196172

197173

198-
- Fixed client incorrectly reusing a connection when the previous message had not been fully sent -- by :user:`Dreamsorcerer`.
174+
- Used more precise type for ``ClientResponseError.headers``, fixing some type errors when using them -- by :user:`Dreamsorcerer`.
199175

200176

201177
*Related issues and pull requests on GitHub:*
202-
:issue:`8992`.
178+
:issue:`8768`.
203179

204180

205181

206-
- Fixed an error when trying to add a route for multiple methods with a path containing a regex pattern -- by :user:`Dreamsorcerer`.
182+
- Changed behavior when returning an invalid response to send a 500 response -- by :user:`Dreamsorcerer`.
207183

208184

209185
*Related issues and pull requests on GitHub:*
210-
:issue:`8998`.
186+
:issue:`8845`.
211187

212188

213189

214-
- Updated Python parser to reject messages after a close message, matching C parser behaviour -- by :user:`Dreamsorcerer`.
190+
- Fixed response reading from closed session to throw an error immediately instead of timing out -- by :user:`Dreamsorcerer`.
215191

216192

217193
*Related issues and pull requests on GitHub:*
218-
:issue:`9018`.
194+
:issue:`8878`.
219195

220196

221197

222-
- Fixed creation of ``SSLContext`` inside of :py:class:`aiohttp.TCPConnector` with multiple event loops in different threads -- by :user:`bdraco`.
198+
- Fixed ``CancelledError`` from one cleanup context stopping other contexts from completing -- by :user:`Dreamsorcerer`.
223199

224200

225201
*Related issues and pull requests on GitHub:*
226-
:issue:`9029`.
202+
:issue:`8908`.
227203

228204

229205

230-
- Fixed (on Python 3.11+) some edge cases where a task cancellation may get incorrectly suppressed -- by :user:`Dreamsorcerer`.
206+
- Fixed changing scheme/host in ``Response.clone()`` for absolute URLs -- by :user:`Dreamsorcerer`.
231207

232208

233209
*Related issues and pull requests on GitHub:*
234-
:issue:`9030`.
235-
210+
:issue:`8990`.
236211

237212

238-
- Fixed the incorrect use of flags for ``getnameinfo()`` in the Resolver --by :user:`GitNMLee`
239213

240-
Link-Local IPv6 addresses can now be handled by the Resolver correctly.
214+
- Fixed ``Site.name`` when host is an empty string -- by :user:`Dreamsorcerer`.
241215

242216

243217
*Related issues and pull requests on GitHub:*
244-
:issue:`9032`.
218+
:issue:`8929`.
245219

246220

247221

248-
- Fixed exception information getting lost on ``HttpProcessingError`` -- by :user:`Dreamsorcerer`.
222+
- Updated Python parser to reject messages after a close message, matching C parser behaviour -- by :user:`Dreamsorcerer`.
249223

250224

251225
*Related issues and pull requests on GitHub:*
252-
:issue:`9052`.
226+
:issue:`9018`.
253227

254228

255229

256-
- Fixed ``If-None-Match`` not using weak comparison -- by :user:`Dreamsorcerer`.
230+
- Fixed creation of ``SSLContext`` inside of :py:class:`aiohttp.TCPConnector` with multiple event loops in different threads -- by :user:`bdraco`.
257231

258232

259233
*Related issues and pull requests on GitHub:*
260-
:issue:`9063`.
234+
:issue:`9029`.
261235

262236

263237

264-
- Fixed compressed requests failing when no body was provided -- by :user:`Dreamsorcerer`.
238+
- Fixed (on Python 3.11+) some edge cases where a task cancellation may get incorrectly suppressed -- by :user:`Dreamsorcerer`.
265239

266240

267241
*Related issues and pull requests on GitHub:*
268-
:issue:`9108`.
242+
:issue:`9030`.
269243

270244

271245

272-
- Added :exc:`aiohttp.ClientConnectionResetError`. Client code that previously threw :exc:`ConnectionResetError`
273-
will now throw this -- by :user:`Dreamsorcerer`.
246+
- Fixed exception information getting lost on ``HttpProcessingError`` -- by :user:`Dreamsorcerer`.
274247

275248

276249
*Related issues and pull requests on GitHub:*
277-
:issue:`9137`.
250+
:issue:`9052`.
278251

279252

280253

281-
- Fixed race condition that could cause server to close connection incorrectly at keepalive timeout -- by :user:`Dreamosorcerer`.
254+
- Fixed ``If-None-Match`` not using weak comparison -- by :user:`Dreamsorcerer`.
282255

283256

284257
*Related issues and pull requests on GitHub:*
285-
:issue:`9140`.
258+
:issue:`9063`.
286259

287260

288261

@@ -322,6 +295,14 @@ Features
322295

323296

324297

298+
- Declared Python 3.13 supported -- by :user:`bdraco`.
299+
300+
301+
*Related issues and pull requests on GitHub:*
302+
:issue:`8748`.
303+
304+
305+
325306

326307
Removals and backward incompatible breaking changes
327308
---------------------------------------------------
@@ -336,6 +317,14 @@ Removals and backward incompatible breaking changes
336317

337318

338319

320+
- Increased minimum yarl version to 1.12.0 -- by :user:`bdraco`.
321+
322+
323+
*Related issues and pull requests on GitHub:*
324+
:issue:`9267`.
325+
326+
327+
339328

340329
Improved documentation
341330
----------------------

CHANGES/4414.doc

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGES/4650.bugfix

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGES/5343.bugfix

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGES/6485.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGES/6494.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGES/6732.bugfix

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGES/6764.doc.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGES/6807.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGES/7167.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)