You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/history.rst
+33Lines changed: 33 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,39 @@ Release history
5
5
6
6
.. towncrier release notes start
7
7
8
+
Trio 0.29.0 (2025-02-14)
9
+
------------------------
10
+
11
+
Features
12
+
~~~~~~~~
13
+
14
+
- Add :func:`trio.lowlevel.in_trio_run` and :func:`trio.lowlevel.in_trio_task` and document the semantics (and differences) thereof. See :ref:`the documentation <trio_contexts>`. (`#2757 <https://github.com/python-trio/trio/issues/2757>`__)
15
+
- If `trio.testing.RaisesGroup` does not get the expected exceptions it now raises an `AssertionError` with a helpful message, instead of letting the raised exception/group fall through. The raised exception is available in the ``__context__`` of the `AssertionError` and can be seen in the traceback. (`#3145 <https://github.com/python-trio/trio/issues/3145>`__)
16
+
17
+
18
+
Bugfixes
19
+
~~~~~~~~
20
+
21
+
- Clear Trio's cache of worker threads upon `os.fork`. (`#2764 <https://github.com/python-trio/trio/issues/2764>`__)
22
+
23
+
24
+
Miscellaneous internal changes
25
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
26
+
27
+
- Stop using ctypes to mutate tracebacks for ``strict_exception_groups=False``'s exception collapsing. (`#405 <https://github.com/python-trio/trio/issues/405>`__)
28
+
- Fixed spelling error in Windows error code enum for ``ERROR_INVALID_PARAMETER``. (`#3166 <https://github.com/python-trio/trio/issues/3166>`__)
29
+
- Publicly re-export ``__version__`` for type checking purposes. (`#3186 <https://github.com/python-trio/trio/issues/3186>`__)
30
+
- The typing of :func:`trio.abc.HostnameResolver.getaddrinfo` has been corrected to
31
+
match that of the stdlib `socket.getaddrinfo`, which was updated in mypy 1.15 (via
32
+
a typeshed update) to include the possibility of ``tuple[int, bytes]`` for the
33
+
``sockaddr`` field of the result. This happens in situations where Python was compiled
34
+
with ``--disable-ipv6``.
35
+
36
+
Additionally, the static typing of :func:`trio.to_thread.run_sync`,
37
+
:func:`trio.from_thread.run` and :func:`trio.from_thread.run_sync` has been
38
+
improved and should reflect the underlying function being run. (`#3201 <https://github.com/python-trio/trio/issues/3201>`__)
0 commit comments