diff --git a/docs/source/history.rst b/docs/source/history.rst index f4cbbbf9..7eae34f5 100644 --- a/docs/source/history.rst +++ b/docs/source/history.rst @@ -5,6 +5,26 @@ Release history .. towncrier release notes start +trio-asyncio 0.15.0 (2024-04-24) +-------------------------------- + +Features +~~~~~~~~ + +- trio-asyncio now properly finalizes asyncio-flavored async generators + upon closure of the event loop. Previously, Trio's async generator finalizers + would try to finalize all async generators in Trio mode, regardless of their + flavor, which could lead to spurious errors. (`#92 `__) + + +Bugfixes +~~~~~~~~ + +- trio-asyncio no longer raises a spurious "Event loop stopped before Future + completed!" exception if a function passed to :func:`asyncio.run` calls + :func:`sys.exit`. (`#149 `__) + + trio-asyncio 0.14.1 (2024-04-18) -------------------------------- diff --git a/newsfragments/149.bugfix.rst b/newsfragments/149.bugfix.rst deleted file mode 100644 index 9dccfc89..00000000 --- a/newsfragments/149.bugfix.rst +++ /dev/null @@ -1,3 +0,0 @@ -trio-asyncio no longer raises a spurious "Event loop stopped before Future -completed!" exception if a function passed to :func:`asyncio.run` calls -:func:`sys.exit`. diff --git a/newsfragments/92.feature.rst b/newsfragments/92.feature.rst deleted file mode 100644 index 16104a35..00000000 --- a/newsfragments/92.feature.rst +++ /dev/null @@ -1,4 +0,0 @@ -trio-asyncio now properly finalizes asyncio-flavored async generators -upon closure of the event loop. Previously, Trio's async generator finalizers -would try to finalize all async generators in Trio mode, regardless of their -flavor, which could lead to spurious errors. diff --git a/trio_asyncio/_version.py b/trio_asyncio/_version.py index e9a1a0d2..4a06ac8f 100644 --- a/trio_asyncio/_version.py +++ b/trio_asyncio/_version.py @@ -1,3 +1,3 @@ # This file is imported from __init__.py and exec'd from setup.py -__version__ = "0.14.1+dev" +__version__ = "0.15.0+dev"