Skip to content

2.0.3

Compare
Choose a tag to compare
@metaist metaist released this 10 May 04:12
· 46 commits to main since this release

2.0.3 - 2023-05-10T03:44:15Z

This version introduced a new class-based API via the Q object.
The function-based API is officially deprecated and will be removed
in v3.

Changed

  • sortiter now sorts the list of waiting messages in place to improve performance (~50%).
  • replaced pylint with ruff
  • #6: supported python versions: removed 3.6, 3.7; added 3.10, 3.11

Added

  • build badge
  • #1: support for threading
  • #3: map function for simple use-cases
  • #4: Q class wrapper for the queue

Deprecated

Most of the function-based API is now deprecated.

  • put_msg: use Q.put() instead
  • iter_msg: use iter(Q) instead
  • iter_q: use Q.items() instead
  • sortiter: use Q.sorted() instead
  • endq: use Q.end() instead
  • endq_and_wait: use Q.stop() instead