Changelog

(unreleased)

  • V0.22.4. [Ben King]

  • Feat: move to session callback (#223) [Ben]

v0.22.3 (2025-03-12)

  • V0.22.3. [Ben King]

  • Feat: allow override of client session (#222) [Ben]

v0.22.2 (2025-02-27)

  • V0.22.1. [tobymao]

  • Feat: allow ignoring of lock check for sweeping, this is important for http queue. [tobymao]

v0.22.1 (2025-02-20)

  • V0.22.1. [tobymao]

  • Check if daemon task is still alive while waiting, otherwise we could be waiting forever. [tobymao]

    to repro, start a worker with 1 concurrency, docker reset postgres, you’re now stuck

v0.22.0 (2025-02-12)

  • V0.22.0. [tobymao]

  • Fix!: update defaults to not touching status. [tobymao]

    prior to this commit, job.update() would also override status, this is problematic when using update() for heartbeats since it would override an abort. now, a job status only gets updated if status is passed in directly.

  • V0.21.1. [tobymao]

  • Allow aborting jobs to be swept. [tobymao]

    with the http queue, jobs can be forever stuck in aborting because the server (postgres) continues to hold onto the lock. this makes it so that they will move onto aborted despite the lock. the worker additionally will check for aborted/aborting.

  • V0.21.0. [tobymao]

  • Raise an error if from_url argument misses the scheme during Queue creation. [euri10]

  • Example. [tobymao]

  • Filter jobs by queue closes #207. [tobymao]

  • Chore: cleanup test. [tobymao]

  • Slightly faster tests, add queued checks. [Graeme Holliday]

  • Fix style. [Graeme Holliday]

  • Add time-machine and tests. [Graeme Holliday]

  • Add timezone to cron scheduler. [Graeme Holliday]

v0.20.1 (2025-01-27)

  • V0.20.1. [Ben King]

  • Fix web stats. [Ben King]

  • Feat: allow types to be used upstream in pydantic. [Ben King]

v0.20.0 (2025-01-21)

  • V0.20.0. [Ben King]

  • Feat!: adding metadata to workers (#201) [Ben]

    • feat!: adding metadata to workers

    -alter table to store metadata in what is known as the stats table

    • unify functions so that we only have really the concept of worker_info to simplify things

  • Feat: introduce simple migration framework. [Ben King]

  • Chore: address feeedback. [Ben King]

  • Move worker id to worker class. [Ben King]

  • Feat: http workers pass their own id. [Ben King]

v0.19.0 (2024-12-04)

  • V0.19.0. [tobymao]

  • Fix!: wrap non-async calls and enforce that canceling them is a blocking operation. [tobymao]

  • Make job queue lazy so there isn’t a mismatch of event loops. [tobymao]

v0.18.3 (2024-11-19)

  • V0.18.3. [tobymao]

  • Broken http info call because of plural. [Ben King]

    • add test case to make sure it works

    • fix typo

v0.18.2 (2024-11-06)

  • Bump version to 0.18.2. [Iaroslav Zeigerman]

  • Feat: Preserve the event loop in a Queue when connecting. [Iaroslav Zeigerman]

  • Raise in the HTTP queue on HTTP error. [Iaroslav Zeigerman]

v0.18.1 (2024-10-18)

  • V0.18.1. [tobymao]

  • Feat: Support burst mode. [Iaroslav Zeigerman]

  • Revert back to client side time. [tobymao]

v0.18.0 (2024-10-14)

  • V0.18.0. [tobymao]

  • Chore: increase timer. [tobymao]

  • Feat!: add priorities and groups to postgres. [tobymao]

  • Prevent multiple ddls from executing. [tobymao]

  • Flaky tests by adjusting timings. [Iaroslav Zeigerman]

  • Chore: update readme. [tobymao]

v0.17.2 (2024-10-09)

  • V0.17.2. [Iaroslav Zeigerman]

  • Prevent cron jobs from running too soon when using Postgres. [Iaroslav Zeigerman]

v0.17.1 (2024-10-05)

  • V0.17.1. [tobymao]

  • Concurrency 1 needs to queue cron jobs. [tobymao]

  • Lint path handling. [Aleix Rodríguez Alameda]

  • Remove files. [Aleix Rodríguez Alameda]

  • Static gzip assets starlette + fallback. [Aleix Rodríguez Alameda]

v0.17.0 (2024-10-03)

  • V0.17.0. [tobymao]

  • Merge pull request #167 from tobymao/toby/multiplexer. [Toby Mao]

    fix!: use multiplexer for postgres