Repository navigation
PgQueuer v2.0.0
PgQueuer v2.0.0 improves queue correctness, scheduler behavior, observability, and PostgreSQL/in-memory parity.
Run pgq upgrade before starting workers. This release adds pgqueuer_statistics_created; its CREATE INDEX blocks writes to pgqueuer_statistics while it runs.
Breaking changes
- Python 3.11 is now the minimum supported version.
- Removed
--dry-runfrompgq install,uninstall,upgrade,durability, andautovac. Usepgq sql <command>to print SQL. - Removed ignored
pgq upgrade --durability/-d; usepgq durability. - Removed
pgqueuer.domain.settings.add_prefix(). UseDBSettings(prefix=...)orPGQUEUER_PREFIX. - Removed
Driver.tmandTaskManagerPort.
Highlights
throughput_timeseries(bucket=...)supports whole-second buckets from a fixed UTC origin. Statistics remain stored per second.- Cancelling a picked job retains its concurrency slot and dedupe key until its worker records completion.
- Requeued and retried jobs notify idle listeners immediately.
- Every-second schedules run every second. New schedules are detected within one second when none are registered.
- Fixed dequeue eligibility for jobs due exactly at the current database time.
- Fixed duplicated statistics aggregation, traceback reads through psycopg, large retry-backoff overflows, NUL characters in failure data, and Prometheus label escaping.
- Improved in-memory/PostgreSQL parity for queue order, dedupe conflicts, schedule handling, statistics, and job logging.
New Contributors
- @devpryan7792 made their first contribution in #954
- @ericdelorefice made their first contribution in #996
Full Changelog: v1.6.0...v2.0.0