File tree 3 files changed +30
-17
lines changed
3 files changed +30
-17
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,36 @@ Release history
5
5
6
6
.. towncrier release notes start
7
7
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
+
8
38
Trio 0.21.0 (2022-06-07)
9
39
----------------------------
10
40
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments