Skip to content

Commit

Permalink
Release v1.3.0 (#504)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer authored Jul 24, 2024
1 parent c6c55ab commit b29732f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
11 changes: 11 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@ Changelog

.. towncrier release notes start
1.3.0 (2024-07-24)
==================

- Added ``Scheduler.wait_and_close()`` to allow a grace period for tasks to complete
before closing the scheduler.
- Added ``Scheduler.shield()`` as an alternative to ``asyncio.shield()`` which tracks
the shielded task, thus ensuring shielded tasks are given time to complete on application
shutdown (when used with ``Scheduler.wait_and_close()``).
- Added support for ``async with`` syntax which will automatically call
``Scheduler.wait_and_close()`` when exiting the context.

1.2.1 (2023-11-18)
==================

Expand Down
2 changes: 1 addition & 1 deletion aiojobs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from ._job import Job
from ._scheduler import ExceptionHandler, Scheduler

__version__ = "1.2.1"
__version__ = "1.3.0"


async def create_scheduler(
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ project_urls =
Chat: Gitter = https://gitter.im/aio-libs/Lobby
CI: GitHub Actions = https://github.com/aio-libs/aiojobs/actions?query=workflow%%3ACI
Coverage: codecov = https://codecov.io/github/aio-libs/aiojobs
Docs: Changelog = https://docs.aiojobs.org/en/stable/changes.html
Docs: RTD = https://docs.aiojobs.org
Docs: Changelog = https://aiojobs.readthedocs.io/en/stable/changes.html
Docs: RTD = https://aiojobs.readthedocs.io/en/stable/
GitHub: issues = https://github.com/aio-libs/aiojobs/issues
GitHub: repo = https://github.com/aio-libs/aiojobs
description = Job scheduler for managing background tasks (asyncio)
Expand Down

0 comments on commit b29732f

Please sign in to comment.