Skip to content

Commit fc201e8

Browse files
authored
Release 3.10.0 (#8550)
1 parent 305f67a commit fc201e8

File tree

2 files changed

+35
-58
lines changed

2 files changed

+35
-58
lines changed

CHANGES.rst

Lines changed: 34 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
.. towncrier release notes start
1212
13-
3.10.0rc0 (2024-07-29)
13+
3.10.0 (2024-07-30)
1414
========================
1515

1616
Bug fixes
@@ -33,62 +33,6 @@ Bug fixes
3333

3434

3535

36-
37-
Removals and backward incompatible breaking changes
38-
---------------------------------------------------
39-
40-
- The shutdown logic in 3.9 waited on all tasks, which caused issues with some libraries.
41-
In 3.10 we've changed this logic to only wait on request handlers. This means that it's
42-
important for developers to correctly handle the lifecycle of background tasks using a
43-
library such as ``aiojobs``. If an application is using ``handler_cancellation=True`` then
44-
it is also a good idea to ensure that any :func:`asyncio.shield` calls are replaced with
45-
:func:`aiojobs.aiohttp.shield`.
46-
47-
Please read the updated documentation on these points:
48-
https://docs.aiohttp.org/en/stable/web_advanced.html#graceful-shutdown
49-
https://docs.aiohttp.org/en/stable/web_advanced.html#web-handler-cancellation
50-
51-
-- by :user:`Dreamsorcerer`
52-
53-
54-
*Related issues and pull requests on GitHub:*
55-
:issue:`8495`.
56-
57-
58-
59-
60-
Miscellaneous internal changes
61-
------------------------------
62-
63-
- Improve performance of filtering cookies -- by :user:`bdraco`.
64-
65-
This change is a followup to the improvements in :issue:`7583`
66-
67-
68-
*Related issues and pull requests on GitHub:*
69-
:issue:`8535`.
70-
71-
72-
73-
74-
----
75-
76-
77-
3.10.0b1 (2024-07-22)
78-
========================
79-
80-
No significant changes.
81-
82-
83-
----
84-
85-
86-
3.10.0b0 (2024-07-22)
87-
=========================
88-
89-
Bug fixes
90-
---------
91-
9236
- Fixed server response headers for ``Content-Type`` and ``Content-Encoding`` for
9337
static compressed files -- by :user:`steverep`.
9438

@@ -268,9 +212,42 @@ Contributor-facing changes
268212

269213

270214

215+
Removals and backward incompatible breaking changes
216+
---------------------------------------------------
217+
218+
- The shutdown logic in 3.9 waited on all tasks, which caused issues with some libraries.
219+
In 3.10 we've changed this logic to only wait on request handlers. This means that it's
220+
important for developers to correctly handle the lifecycle of background tasks using a
221+
library such as ``aiojobs``. If an application is using ``handler_cancellation=True`` then
222+
it is also a good idea to ensure that any :func:`asyncio.shield` calls are replaced with
223+
:func:`aiojobs.aiohttp.shield`.
224+
225+
Please read the updated documentation on these points:
226+
https://docs.aiohttp.org/en/stable/web_advanced.html#graceful-shutdown
227+
https://docs.aiohttp.org/en/stable/web_advanced.html#web-handler-cancellation
228+
229+
-- by :user:`Dreamsorcerer`
230+
231+
232+
*Related issues and pull requests on GitHub:*
233+
:issue:`8495`.
234+
235+
236+
237+
271238
Miscellaneous internal changes
272239
------------------------------
273240

241+
- Improve performance of filtering cookies -- by :user:`bdraco`.
242+
243+
This change is a followup to the improvements in :issue:`7583`
244+
245+
246+
*Related issues and pull requests on GitHub:*
247+
:issue:`8535`.
248+
249+
250+
274251
- Improved URL handler resolution time by indexing resources in the UrlDispatcher.
275252
For applications with a large number of handlers, this should increase performance significantly.
276253
-- by :user:`bdraco`

aiohttp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "3.10.0rc0"
1+
__version__ = "3.10.0"
22

33
from typing import TYPE_CHECKING, Tuple
44

0 commit comments

Comments
 (0)