Skip to content

Releases: aio-libs/aiojobs

1.2.1

18 Nov 18:37
1058fff
Compare
Choose a tag to compare
  • Use aiohttp.web.AppKey for aiohttp integration.

1.2.0

30 Aug 15:56
b45532f
Compare
Choose a tag to compare
  • Scheduler.spawn() now accepts a name parameter, similar to asyncio.create_task(). (#385)
  • Removed async-timeout dependency on Python 3.11+. (#443)
  • Dropped Python 3.7 support.

v1.1.0

16 Oct 12:39
ed98149
Compare
Choose a tag to compare

Features

  • Complete type annotations have been added. (#352 <https://github.com/aio-libs/aiojobs/pull/352>_)
  • Scheduler can (and should be) instantiated directly. (#353 <https://github.com/aio-libs/aiojobs/pull/353>_)
  • Job is also exported by default now, to aid type annotations. (#355 <https://github.com/aio-libs/aiojobs/pull/355>_)

Bugfixes

  • Fix scheduler blocking forever when pending limit is reached. (#135 <https://github.com/aio-libs/aiojobs/pull/135>_)
  • Fix @atomic wrapper not passing self to methods. (#344 <https://github.com/aio-libs/aiojobs/pull/344>_)
  • Job.wait() now returns the task value if the job is already closed. (#343 <https://github.com/aio-libs/aiojobs/pull/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 <https://github.com/aio-libs/aiojobs/pull/338>_)
  • create_scheduler() is deprecated and will be removed in v2. (#353 <https://github.com/aio-libs/aiojobs/pull/353>_)

v1.0.0

09 Nov 12:01
Compare
Choose a tag to compare

Features

  • Switch to async-timeout>=4.0.0. (#275)
  • Added Python 3.10 support. (#277)
  • Added type hints support. (#280)

Deprecations and Removals

  • Dropped Python 3.5 support. (#279)

aiojobs 0.2.1 release

10 Mar 22:51
Compare
Choose a tag to compare

Changes

0.2.1 (2018-03-10)

  • Add missing decription file

0.2.0 (2018-03-10)

Features

  • Add a new scheduler parameter for control pending jobs size. (#19)

  • Cancelling a task suspended on job.wait() doesn't cancel inner
    job task but timeout exemption does. (#28)

Bugfixes

  • Fix AttributeError when @atomic decorator is used in Class Based Views.
    (#21)