From 2c5e2e201c4dcd40b112eb3193c73f2c2b84d263 Mon Sep 17 00:00:00 2001 From: "Nathaniel J. Smith" Date: Tue, 31 Jul 2018 20:27:26 -0700 Subject: [PATCH 1/2] Release engineering for 1.10 --- async_generator/_version.py | 2 +- docs/source/history.rst | 27 ++++++++++++++++++++++++--- newsfragments/15.feature.rst | 5 ----- 3 files changed, 25 insertions(+), 9 deletions(-) delete mode 100644 newsfragments/15.feature.rst diff --git a/async_generator/_version.py b/async_generator/_version.py index 6466e34..bb438da 100644 --- a/async_generator/_version.py +++ b/async_generator/_version.py @@ -1 +1 @@ -__version__ = "1.9+dev" +__version__ = "1.10" diff --git a/docs/source/history.rst b/docs/source/history.rst index 0efc1af..49da75e 100644 --- a/docs/source/history.rst +++ b/docs/source/history.rst @@ -5,6 +5,27 @@ Release history .. towncrier release notes start +Async_Generator 1.10 (2018-07-31) +--------------------------------- + +Features +~~~~~~~~ + +- Add support for PEP 525-style finalization hooks via + ``set_asyncgen_hooks()`` and ``get_asyncgen_hooks()`` functions. On + Python 3.6+, these are aliases for the versions in ``sys``; on + Python 3.5, they're work-alike implementations. And, + ``@async_generator`` generators now call these hooks at the + appropriate times. (`#15 + `__) + +Fixes +~~~~~ + +- Package now properly includes license files. (`#11 + `__) + + 1.9 (2018-01-19) ---------------- @@ -12,9 +33,9 @@ Release history * When a partially-exhausted ``async_generator`` is garbage collected, the warning printed now includes the generator's name to help you track it down. -* Move under the auspices of the Trio project - * This includes a license change from MIT → dual MIT+Apache2 - * Various changes to project organization to match Trio project standard +* Move under the auspices of the Trio project. This includes a license + change from MIT → dual MIT+Apache2, and various changes to internal + organization to match Trio project standard. 1.8 (2017-06-17) ---------------- diff --git a/newsfragments/15.feature.rst b/newsfragments/15.feature.rst deleted file mode 100644 index de7fb49..0000000 --- a/newsfragments/15.feature.rst +++ /dev/null @@ -1,5 +0,0 @@ -Add support for PEP 525-style finalization hooks via ``set_asyncgen_hooks()`` -and ``get_asyncgen_hooks()`` functions, which mimic the behavior of the ones -in ``sys`` if we're running on a Python version that doesn't have them natively. -``@async_generator`` generators behave the same way as native ones with respect -to these hooks. From 0c92235b19dd5ac99fbebc5b7b4a1e7916d07218 Mon Sep 17 00:00:00 2001 From: "Nathaniel J. Smith" Date: Tue, 31 Jul 2018 20:35:31 -0700 Subject: [PATCH 2/2] Bump version to 1.10+dev --- async_generator/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/async_generator/_version.py b/async_generator/_version.py index bb438da..9eb22aa 100644 --- a/async_generator/_version.py +++ b/async_generator/_version.py @@ -1 +1 @@ -__version__ = "1.10" +__version__ = "1.10+dev"