Skip to content

Commit 1497c77

Browse files
committed
Bump version to 0.29.0
1 parent b92131c commit 1497c77

File tree

9 files changed

+34
-16
lines changed

9 files changed

+34
-16
lines changed

docs/source/history.rst

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,39 @@ Release history
55

66
.. towncrier release notes start
77
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>`__)
39+
40+
841
Trio 0.28.0 (2024-12-25)
942
------------------------
1043

newsfragments/2757.feature.rst

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

newsfragments/2764.bugfix.rst

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

newsfragments/3145.feature.rst

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

newsfragments/3166.misc.rst

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

newsfragments/3186.misc.rst

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

newsfragments/3201.misc.rst

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

newsfragments/405.misc.rst

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

src/trio/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# This file is imported from __init__.py and parsed by setuptools
22

3-
__version__ = "0.28.0+dev"
3+
__version__ = "0.29.0"

0 commit comments

Comments
 (0)