Skip to content

Releases: aio-libs/janus

2.0.0

13 Dec 12:58
652bc8d
Compare
Choose a tag to compare

  • Implement .shutdown(immediate=False) for both sync and async APIs #720

    The change is not fully backward compatible:

    1. If the queue is closed, janus.AsyncQueueShutDown and
      janus.SyncQueueShutDown exceptions are raised instead of RuntimeError.

    2. Both sync and async .task_done() and .join() don't raise any exception
      on queue shutdown/closing anymore; it is compatible with shutdown behavior
      of stdlib sync and async queues.

1.2.0

12 Dec 23:59
60f0bb3
Compare
Choose a tag to compare

  • Optimize internal implementation for a little speedup #699

  • Make not-full and not-empty notifications faster #703

  • Add .aclose() async method #709

  • Reduce notifications for a minor speedup #704

  • Allow janus.Queue() instantiation without running asyncio event loop #710

  • Remove sync notifiers for a major speedup #714

  • Fix hang in AsyncQueue.join() #716

janus 1.1.0

30 Oct 00:05
Compare
Choose a tag to compare
  • Drop Python 3.7 and 3.8 support

  • janus now works on Python 3.9-3.13

  • Reexport SyncQueueEmpty, SyncQueueFull, AsyncQueueEmpty, and AsyncQueueFull names #680

janus 1.0.0 release

17 Dec 09:06
0783f9b
Compare
Choose a tag to compare
  • Dropped Python 3.6 support
  • Janus is marked as stable, no API changes was made for years

janus 0.6.1 release

26 Oct 15:20
Compare
Choose a tag to compare
  • Raise RuntimeError on queue.join() after queue closing. #295

  • Replace timeout type from Optional[int] to Optional[float] #267

janus 0.6.0 release

26 Oct 15:20
Compare
Choose a tag to compare
  • Drop Python 3.5, the minimal supported version is Python 3.6

  • Support Python 3.9

  • Refomat with black

janus 0.5.0 release

26 Oct 15:19
Compare
Choose a tag to compare
  • Remove explicit loop arguments and forbid creating queues outside event loops #246

janus 0.4.0 release

28 Jul 10:52
Compare
Choose a tag to compare

Changes

  • Add py.typed macro #89

  • Drop python 3.4 support and fix minimal version python3.5.3 #88

  • Add property with that indicates if queue is closed #86

janus 0.3.2 release

06 Jul 20:08
Compare
Choose a tag to compare

Changes

  • Fixed python3.7 support #97

janus 0.3.1 release

30 Jan 21:51
Compare
Choose a tag to compare

Changes

  • Fixed bug with join() in case tasks are added by sync_q.put() #75