Skip to content

Commit 87ea870

Browse files
committed
Bump version to 0.22.0
1 parent b3a7c58 commit 87ea870

File tree

3 files changed

+30
-17
lines changed

3 files changed

+30
-17
lines changed

docs/source/history.rst

+30
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,36 @@ Release history
55

66
.. towncrier release notes start
77
8+
Trio 0.22.0 (2022-09-28)
9+
------------------------
10+
11+
Headline features
12+
~~~~~~~~~~~~~~~~~
13+
14+
- ``MultiError`` has been deprecated in favor of the standard :exc:`BaseExceptionGroup`
15+
(introduced in :pep:`654`). On Python versions below 3.11, this exception and its
16+
derivative :exc:`ExceptionGroup` are provided by the backport_. Trio still raises
17+
``MultiError``, but it has been refactored into a subclass of :exc:`BaseExceptionGroup`
18+
which users should catch instead of ``MultiError``. Uses of the ``MultiError.filter()``
19+
class method should be replaced with :meth:`BaseExceptionGroup.split`. Uses of the
20+
``MultiError.catch()`` class method should be replaced with either ``except*`` clauses
21+
(on Python 3.11+) or the ``exceptiongroup.catch()`` context manager provided by the
22+
backport_.
23+
24+
See the :ref:`updated documentation <exceptiongroups>` for details.
25+
26+
.. _backport: https://pypi.org/project/exceptiongroup/ (`#2211 <https://github.com/python-trio/trio/issues/2211>`__)
27+
28+
29+
Features
30+
~~~~~~~~
31+
32+
- Added support for `Datagram TLS
33+
<https://en.wikipedia.org/wiki/Datagram_Transport_Layer_Security>`__,
34+
for secure communication over UDP. Currently requires `PyOpenSSL
35+
<https://pypi.org/p/pyopenssl>`__. (`#2010 <https://github.com/python-trio/trio/issues/2010>`__)
36+
37+
838
Trio 0.21.0 (2022-06-07)
939
----------------------------
1040

newsfragments/2010.feature.rst

-4
This file was deleted.

newsfragments/2211.headline.rst

-13
This file was deleted.

0 commit comments

Comments
 (0)