Skip to content

Releases: janbjorge/pgqueuer

v0.5.1

26 Jun 20:36
Compare
Choose a tag to compare

Full Changelog: v0.5.0...v0.5.1

v0.5.0

21 Jun 11:26
289a597
Compare
Choose a tag to compare

Release Notes

Breaking

  • Simplified Database Connection: The system no longer requires a connection pool. Instead, a single database connection is now used.

Major

  • Database Abstraction Layer: Introduction of db.py to provide database driver abstractions, supporting both AsyncPG and Psycopg drivers for PostgreSQL.
  • Performance Boost: Introducing the JobBuffer class has significantly increased job processing performance, now handling up to 18,000 jobs per second, up from 5,000 jobs per second.
  • Buffer Management: The JobBuffer class to handle job accumulation and flushing based on capacity or timeout, improving job processing efficiency.

Minor

  • Dependency Management: Adjustments in pyproject.toml to include and better manage dependencies such as asyncpg and psycopg.
  • Queue Manager Updates: Significant enhancements in QueueManager to integrate the new JobBuffer, optimizing job handling and logging.
  • CLI Improvements: Enhancements to cli.py to support the new driver implementations and streamline command execution.
  • Benchmarking: Updates to benchmarking scripts for better performance tracking and configuration options.

These changes aim to enhance performance, improve code maintainability.

Full Changelog: 0.4.1...v0.5.0

0.4.1

31 May 20:33
3736a8d
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.4.0...0.4.1

0.4.0

31 May 20:26
8919699
Compare
Choose a tag to compare

Notice of Breaking Change

The latest update introduces a breaking change due to the addition of a new updated column to the queue table with a NOT NULL constraint. Users will need to run the upgrade command to update their database schema accordingly. Please ensure you execute the following command after upgrading to avoid any disruptions.

python -m PgQueuer upgrade

This will trigger the below addition a column and creation of an index.

ALTER TABLE pgqueuer ADD COLUMN updated TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW();
CREATE INDEX pgqueuer_updated_id_id1_idx ON pgqueuer (updated ASC, id DESC) INCLUDE (id) WHERE status = 'picked';

What's Changed

Full Changelog: v0.3.6...0.4.0

v0.3.6

20 May 20:52
764c12a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.5...v0.3.6

v0.3.5

11 May 14:40
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.4...v0.3.5

v0.3.4

08 May 07:43
595afe2
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.3...v0.3.4

v0.3.3

05 May 13:48
4744541
Compare
Choose a tag to compare

What's Changed

  • Always print install/uninstall query, prefix uniq constrant by @janbjorge in #11

Full Changelog: v0.3.2...v0.3.3

v0.3.2

05 May 10:04
Compare
Choose a tag to compare

Full Changelog: v0.3.1...v0.3.2

v0.3.1

05 May 09:26
bf66c78
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.0...v0.3.1