Skip to content

Commit

Permalink
Merge pull request #3210 from A5rocks/release-0.29.0
Browse files Browse the repository at this point in the history
Bump version to 0.29.0
  • Loading branch information
A5rocks authored Feb 14, 2025
2 parents b92131c + b632590 commit 5eb5afb
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 16 deletions.
33 changes: 33 additions & 0 deletions docs/source/history.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,39 @@ Release history

.. towncrier release notes start
Trio 0.29.0 (2025-02-14)
------------------------

Features
~~~~~~~~

- 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>`__)
- 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>`__)


Bugfixes
~~~~~~~~

- Clear Trio's cache of worker threads upon `os.fork`. (`#2764 <https://github.com/python-trio/trio/issues/2764>`__)


Miscellaneous internal changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- Stop using ctypes to mutate tracebacks for ``strict_exception_groups=False``'s exception collapsing. (`#405 <https://github.com/python-trio/trio/issues/405>`__)
- Fixed spelling error in Windows error code enum for ``ERROR_INVALID_PARAMETER``. (`#3166 <https://github.com/python-trio/trio/issues/3166>`__)
- Publicly re-export ``__version__`` for type checking purposes. (`#3186 <https://github.com/python-trio/trio/issues/3186>`__)
- The typing of :func:`trio.abc.HostnameResolver.getaddrinfo` has been corrected to
match that of the stdlib `socket.getaddrinfo`, which was updated in mypy 1.15 (via
a typeshed update) to include the possibility of ``tuple[int, bytes]`` for the
``sockaddr`` field of the result. This happens in situations where Python was compiled
with ``--disable-ipv6``.

Additionally, the static typing of :func:`trio.to_thread.run_sync`,
:func:`trio.from_thread.run` and :func:`trio.from_thread.run_sync` has been
improved and should reflect the underlying function being run. (`#3201 <https://github.com/python-trio/trio/issues/3201>`__)


Trio 0.28.0 (2024-12-25)
------------------------

Expand Down
1 change: 0 additions & 1 deletion newsfragments/2757.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion newsfragments/2764.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion newsfragments/3145.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion newsfragments/3166.misc.rst

This file was deleted.

1 change: 0 additions & 1 deletion newsfragments/3186.misc.rst

This file was deleted.

9 changes: 0 additions & 9 deletions newsfragments/3201.misc.rst

This file was deleted.

1 change: 0 additions & 1 deletion newsfragments/405.misc.rst

This file was deleted.

2 changes: 1 addition & 1 deletion src/trio/_version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This file is imported from __init__.py and parsed by setuptools

__version__ = "0.28.0+dev"
__version__ = "0.29.0+dev"

0 comments on commit 5eb5afb

Please sign in to comment.