Skip to content

Commit ee5e951

Browse files
committed
Merge branch 'release/v3.8.2' into 3.8
2 parents e4dc8b7 + 3ef9cab commit ee5e951

23 files changed

+84
-31
lines changed

CHANGES.rst

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,88 @@
1010

1111
.. towncrier release notes start
1212
13+
14+
3.8.2 (2022-09-20)
15+
==================
16+
17+
.. note::
18+
19+
This release has some compatibility fixes for Python 3.11 but it may
20+
still have some quirks. Some tests are still flaky in the CI.
21+
22+
.. attention::
23+
24+
This is the last :doc:`aiohttp <index>` release tested under
25+
Python 3.6. The 3.9 stream is dropping it from the CI and the
26+
distribution package metadata.
27+
28+
Bugfixes
29+
--------
30+
31+
- Added support for registering :rfc:`OPTIONS <9110#OPTIONS>`
32+
HTTP method handlers via :py:class:`~aiohttp.web.RouteTableDef`.
33+
`#4663 <https://github.com/aio-libs/aiohttp/issues/4663>`_
34+
- Started supporting :rfc:`authority-form <9112#authority-form>` and
35+
:rfc:`absolute-form <9112#absolute-form>` URLs on the server-side.
36+
`#6227 <https://github.com/aio-libs/aiohttp/issues/6227>`_
37+
- Fixed Python 3.11 incompatibilities by using Cython 0.29.25.
38+
`#6396 <https://github.com/aio-libs/aiohttp/issues/6396>`_
39+
- Extended the ``sock`` argument typing declaration of the
40+
:py:func:`~aiohttp.web.run_app` function as optionally
41+
accepting iterables.
42+
`#6401 <https://github.com/aio-libs/aiohttp/issues/6401>`_
43+
- Fixed a regression where :py:exc:`~asyncio.CancelledError`
44+
occurs on client disconnection.
45+
`#6719 <https://github.com/aio-libs/aiohttp/issues/6719>`_
46+
- Started exporting :py:class:`~aiohttp.web.PrefixedSubAppResource`
47+
under :py:mod:`aiohttp.web` -- by :user:`Dreamsorcerer`.
48+
49+
This fixes a regression introduced by :pr:`3469`.
50+
`#6889 <https://github.com/aio-libs/aiohttp/issues/6889>`_
51+
- Dropped the :class:`object` type possibility from
52+
the :py:attr:`aiohttp.ClientSession.timeout`
53+
property return type declaration.
54+
`#6917 <https://github.com/aio-libs/aiohttp/issues/6917>`_,
55+
`#6923 <https://github.com/aio-libs/aiohttp/issues/6923>`_
56+
57+
58+
Improved Documentation
59+
----------------------
60+
61+
- Added clarification on configuring the app object with
62+
settings such as a database connection.
63+
`#4137 <https://github.com/aio-libs/aiohttp/issues/4137>`_
64+
- Extended the ``sock`` argument typing declaration of the
65+
:py:func:`~aiohttp.web.run_app` function as optionally
66+
accepting iterables.
67+
`#6401 <https://github.com/aio-libs/aiohttp/issues/6401>`_
68+
- Dropped the :class:`object` type possibility from
69+
the :py:attr:`aiohttp.ClientSession.timeout`
70+
property return type declaration.
71+
`#6917 <https://github.com/aio-libs/aiohttp/issues/6917>`_,
72+
`#6923 <https://github.com/aio-libs/aiohttp/issues/6923>`_
73+
74+
75+
Deprecations and Removals
76+
-------------------------
77+
78+
- Dropped Python 3.5 support, :doc:`aiohttp <index>` only works
79+
under Python 3.6 and higher from now on.
80+
`#4046 <https://github.com/aio-libs/aiohttp/issues/4046>`_
81+
82+
83+
Misc
84+
----
85+
86+
- Removed a deprecated usage of :py:func:`pytest.warns(None)
87+
<pytest.warns>` in tests.
88+
`#6663 <https://github.com/aio-libs/aiohttp/issues/6663>`_
89+
- `#6369 <https://github.com/aio-libs/aiohttp/issues/6369>`_, `#6399 <https://github.com/aio-libs/aiohttp/issues/6399>`_, `#6550 <https://github.com/aio-libs/aiohttp/issues/6550>`_, `#6708 <https://github.com/aio-libs/aiohttp/issues/6708>`_, `#6757 <https://github.com/aio-libs/aiohttp/issues/6757>`_, `#6857 <https://github.com/aio-libs/aiohttp/issues/6857>`_, `#6872 <https://github.com/aio-libs/aiohttp/issues/6872>`_.
90+
91+
92+
----
93+
94+
1395
3.8.1 (2021-11-14)
1496
==================
1597

CHANGES/4046.removal

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

CHANGES/4137.doc

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

CHANGES/4663.bugfix

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

CHANGES/6227.bugfix

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

CHANGES/6369.misc

Lines changed: 0 additions & 3 deletions
This file was deleted.

CHANGES/6396.bugfix

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

CHANGES/6399.misc

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

CHANGES/6401.doc

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

CHANGES/6550.misc

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

0 commit comments

Comments
 (0)