diff --git a/CHANGES.rst b/CHANGES.rst index 8940052..8f51ec2 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -14,6 +14,31 @@ Changelog .. towncrier release notes start +1.1.0 (2022-10-16) +================== + +Features +-------- + +- Complete type annotations have been added. (`#352 `_) +- ``Scheduler`` can (and should be) instantiated directly. (`#353 `_) +- ``Job`` is also exported by default now, to aid type annotations. (`#355 `_) + +Bugfixes +-------- + +- Fix scheduler blocking forever when pending limit is reached. (`#135 `_) +- Fix @atomic wrapper not passing ``self`` to methods. (`#344 `_) +- ``Job.wait()`` now returns the task value if the job is already closed. (`#343 `_) +- Fix ``exception_handler`` being called twice in some situations. (`#354 < https://github.com/aio-libs/aiojobs/pull/354`_) + +Deprecations and Removals +------------------------- + +- Dropped Python 3.6 support. (`#338 `_) +- ``create_scheduler()`` is deprecated and will be removed in v2. (`#353 `_) + + 1.0.0 (2021-11-09) ================== diff --git a/CHANGES/.gitignore b/CHANGES/.gitignore deleted file mode 100644 index f935021..0000000 --- a/CHANGES/.gitignore +++ /dev/null @@ -1 +0,0 @@ -!.gitignore diff --git a/CHANGES/97.bugfix b/CHANGES/97.bugfix deleted file mode 100644 index 33fedd1..0000000 --- a/CHANGES/97.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix scheduler hang when pending limit is reached. diff --git a/aiojobs/__init__.py b/aiojobs/__init__.py index 1c3bd82..d82812b 100644 --- a/aiojobs/__init__.py +++ b/aiojobs/__init__.py @@ -10,7 +10,7 @@ from ._job import Job from ._scheduler import ExceptionHandler, Scheduler -__version__ = "1.0.0" +__version__ = "1.1.0" async def create_scheduler(