|
10 | 10 |
|
11 | 11 | .. towncrier release notes start |
12 | 12 |
|
| 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 | + |
13 | 95 | 3.8.1 (2021-11-14) |
14 | 96 | ================== |
15 | 97 |
|
|
0 commit comments