Pgqueuer

Latest version: v0.19.3

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 13

0.14.0

Breaking Change

This release introduces a new database schema. **Before deploying this version, ensure your database schema is updated** by running the following command:

bash
python -m pgqueuer upgrade


This step is essential for compatibility with new features, including schema modifications related to job management.

What's Changed

- **PsycopgDriver Fix**: Corrected missing inheritance for `PsycopgDriver`, enhancing type compatibility and functionality. [169](https://github.com/janbjorge/pgqueuer/pull/169)
- **Renamed `alive` to `shutdown`**: Updated the `alive` attribute to `shutdown` to better reflect its purpose across the codebase. Backwards compatibility maintained with a deprecation warning. [168](https://github.com/janbjorge/pgqueuer/pull/168)
- **Exponential Backoff with Jitter**: Added exponential backoff with jitter for deadlock mitigation, improving job processing resilience in high-concurrency environments. [171](https://github.com/janbjorge/pgqueuer/pull/171)
- **Queue Manager ID Column**: Introduced a `queue_manager_id` column to support isolated queue management and improved tracking across multiple managers. [175](https://github.com/janbjorge/pgqueuer/pull/175)
- **`alive` Property Deprecation**: Issued a deprecation warning on the `alive` property to encourage migration to `shutdown`. [176](https://github.com/janbjorge/pgqueuer/pull/176)
- **Async Generator for Job Dequeuing**: Refactored job dequeuing logic into an async generator, enhancing efficiency and readability. [174](https://github.com/janbjorge/pgqueuer/pull/174)

**Full Changelog**: [v0.13.0...v0.14.0](https://github.com/janbjorge/pgqueuer/compare/v0.13.0...v0.14.0)

0.13.0

What's Changed
* fix: dashboard show `Created` in user timezone by trim21 in https://github.com/janbjorge/pgqueuer/pull/160
* Add doc-string retry_timer_buffer_timeout by janbjorge in https://github.com/janbjorge/pgqueuer/pull/161
* Add pgq cli script by janbjorge in https://github.com/janbjorge/pgqueuer/pull/164
* Update cli docs by janbjorge in https://github.com/janbjorge/pgqueuer/pull/165
* Updated readme by janbjorge in https://github.com/janbjorge/pgqueuer/pull/166

New Contributors
* trim21 made their first contribution in https://github.com/janbjorge/pgqueuer/pull/160

**Full Changelog**: https://github.com/janbjorge/pgqueuer/compare/v0.12.0...v0.13.0

0.12.0

What's Changed
* Add pgq as cli option by janbjorge in https://github.com/janbjorge/pgqueuer/pull/159


**Full Changelog**: https://github.com/janbjorge/pgqueuer/compare/v0.11.0...v0.12.0

0.11.0

What's Changed
* Use uv in github actions by janbjorge in https://github.com/janbjorge/pgqueuer/pull/147
* Number of consumers in test_serialized_dispatch_mixed must be gt. 1 by janbjorge in https://github.com/janbjorge/pgqueuer/pull/148
* Add sleep ci job by janbjorge in https://github.com/janbjorge/pgqueuer/pull/150
* Add executor to entrypoint fn by janbjorge in https://github.com/janbjorge/pgqueuer/pull/155
* Cleanup a few code smells by janbjorge in https://github.com/janbjorge/pgqueuer/pull/158


**Full Changelog**: https://github.com/janbjorge/pgqueuer/compare/v0.10.0...v0.11.0

0.10.0

Im excited to announce **Serialized Dispatch** for PGQueuer!

Serialized Dispatch ensures jobs of the same type are processed one at a time, perfect for avoiding race conditions when modifying shared resources.

Example
Define an entrypoint with Serialized Dispatch:
python
qm.entrypoint("data_processing", serialized_dispatch=True)
async def data_processing(job):
Job processing logic
...

This ensures only one `data_processing` job runs at a time, avoiding concurrent modifications.

Other changes
* Add validate benchmark ci test by janbjorge in https://github.com/janbjorge/pgqueuer/pull/137
* Update ci.yml by janbjorge in https://github.com/janbjorge/pgqueuer/pull/138
* Delete tools/compare_rps_main.py by janbjorge in https://github.com/janbjorge/pgqueuer/pull/139
* Add ci schedule by janbjorge in https://github.com/janbjorge/pgqueuer/pull/140
* Add serialized dispatch by janbjorge in https://github.com/janbjorge/pgqueuer/pull/136

**Full Changelog**: https://github.com/janbjorge/pgqueuer/compare/v0.9.2...v0.10.0

0.9.2

What's Changed
* Add heartbeat docs. by janbjorge in https://github.com/janbjorge/pgqueuer/pull/134


**Full Changelog**: https://github.com/janbjorge/pgqueuer/compare/v0.9.1...v0.9.2

Page 5 of 13

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.