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)