Skip to content

PgQueuer v1.0

v1.2.0 Feature

This release adds 1 notable feature for engineering teams evaluating rollout.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

postgresql python queue

Summary

AI summary

Updates PgQueuer v1.2.0, Thanks, and Bug Fixes across a mixed release.

Changes in this release

Feature Medium

Adds on_conflict option for enqueue to skip duplicate jobs.

Adds on_conflict option for enqueue to skip duplicate jobs.

Source: llm_adapter@2026-07-16

Confidence: high

Bugfix Medium

Preserves priority when merging queued and stale jobs in dequeue.

Preserves priority when merging queued and stale jobs in dequeue.

Source: llm_adapter@2026-07-16

Confidence: high

Full changelog

PgQueuer v1.2.0

Features

  • on_conflict option for enqueue — pass on_conflict="skip" to silently skip jobs whose dedupe_key already exists instead of raising. Default remains "raise". Also exposed on the CLI. (#681)

Bug Fixes

  • Priority preserved when merging queued and stale jobs in dequeue — a stale high-priority job could previously be starved indefinitely behind a stream of fresh lower-priority work (regression from #607). The merged set is
    now ordered priority DESC, id ASC across both sources. (#684)

Internal

  • Test suite now runs in parallel via pytest-xdist; container startup and TTL cache tests deflaked.

Thanks

  • @wjmorland for proposing the on_conflict feature (#678) and reviewing the implementation.
  • @vedarolap for the detailed report on priority loss in the dequeue merge (#684).

Full Changelog: https://github.com/janbjorge/PgQueuer/compare/v1.1.1...v1.2.0

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track PgQueuer v1.0

Get notified when new releases ship.

Sign up free

About PgQueuer v1.0

All releases →

Related context

Related tools

Earlier breaking changes

  • v1.0.0 QueueManager now requires Queries(driver) instead of driver directly; PgQueuer constructor unchanged
  • v1.0.0 RetryWithBackoffEntrypointExecutor renamed to DatabaseRetryEntrypointExecutor and no longer depends on async-timeout
  • v1.0.0 CLI flags --pg-host, --pg-user etc. removed; use libpq environment variables or --pg-dsn instead
  • v1.0.0 Synchronous entrypoint handlers are rejected; only async def is allowed
  • v1.0.0 Custom async Driver must implement notify(channel, payload) method

Beta — feedback welcome: [email protected]