Skip to content

Releases: janbjorge/pgqueuer

v0.18.4

02 Jan 13:55
568ad0d
Compare
Choose a tag to compare

What's Changed

  • Use official Postgres image and streamline Docker setup by @janbjorge in #257

Full Changelog: v0.18.3...v0.18.4

v0.18.3

30 Dec 08:03
59032ba
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.18.2...v0.18.3

v0.18.2

22 Dec 10:57
2c636ec
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.18.1...v0.18.2

v0.18.1

09 Dec 16:32
0fa29b2
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.18.0...v0.18.1

v0.18.0

05 Dec 19:48
dfe6e4d
Compare
Choose a tag to compare

New Features:

  • Added schedules command to the CLI for managing schedules in PGQueuer. You can now list all schedules or remove schedules by their ID or name.

Changes:

  • Internal refactoring of queries and database settings logic into a new qb.py module, improving maintainability and clarity.
  • Table formatting in the CLI is now influenced by the TABLEFMT environment variable rather than CLI flags.
  • pyproject.toml authors updated.

Breaking Changes:

  • Removed --driver CLI option; the queueing driver is now automatically selected based on installed dependencies (asyncpg or psycopg).
  • Removed --table-format argument from dashboard command; use the TABLEFMT environment variable instead.

What's Changed

Full Changelog: v0.17.3...v0.18.0

v0.17.3

25 Nov 08:11
4d69514
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.17.2...v0.17.3

v0.17.2

25 Nov 08:03
0206ba8
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.17.1...v0.17.2

v0.17.1

25 Nov 07:30
7fd180b
Compare
Choose a tag to compare

PGQueuer Now Works with Python 3.13!

PGQueuer is now fully compatible with Python 3.13!

What's Changed

New Contributors

Full Changelog: v0.17.0...v0.17.1

v0.17.0

19 Nov 20:47
a5b8116
Compare
Choose a tag to compare

PGQueuer v0.17.0 Release Notes

PGQueuer v0.17.0 introduces breaking changes, improvements, and bug fixes. Please review the changes below, especially if using custom executors.

Breaking Changes

Executors Overhaul

  • JobExecutor is now AbstractEntrypointExecutor.
  • The execute() method now requires an additional context parameter: async def execute(self, job: models.Job, context: models.Context) -> None.
  • Custom Executor Registration: Use executor_factory instead of executor for registering executors.
  • EntrypointExecutor Parameters: Consolidated into EntrypointExecutorParameters dataclass.

Scheduler Executor Changes

  • Schedulers now use executor_factory instead of direct instantiation.
  • Executor parameters are consolidated into ScheduleExecutorFactoryParameters.

Deprecations

  • Executor Parameter: Deprecated in favor of executor_factory.
  • Retry Timer Argument: Define retry behavior at the entrypoint level instead of using QueueManager.run().

Improvements

  • Executors now receive a context object for better control over job execution.

Migration Guide

Updating Executors and Schedulers

  1. Update executors to inherit from AbstractEntrypointExecutor.
  2. Modify execute() to accept context as a parameter.
  3. Use executor_factory to register executors.
  4. Update schedulers to use executor_factory and access attributes via parameters (e.g., executor.parameters.expression).

Merges

Full Changelog: v0.16.2...v0.17.0

v0.16.2

17 Nov 12:06
fa4eeb3
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.16.1...v0.16.2