Releases¶
Version history and release notes for pgqrs.
Latest Release¶
-
v0.3.0
Producer/Consumer architecture, unified Table trait, enhanced schema design.
Installation¶
Release Schedule¶
pgqrs follows Semantic Versioning:
| Version Type | Description | Example |
|---|---|---|
| Major (x.0.0) | Breaking changes | 1.0.0 → 2.0.0 |
| Minor (0.x.0) | New features | 0.2.0 → 0.3.0 |
| Patch (0.0.x) | Bug fixes | 0.3.0 → 0.3.1 |
Version History¶
| Version | Date | Highlights |
|---|---|---|
| 0.3.0 | 2024-11-13 | Producer/Consumer architecture |
| 0.2.0 | - | Initial queue implementation |
| 0.1.0 | - | Project inception |
Upgrade Guides¶
Upgrading to 0.3.0¶
Version 0.3.0 introduces breaking changes with the new Producer/Consumer architecture.
Before (0.2.x):
// Old: Monolithic Queue struct
let queue = Queue::new(&pool, "my_queue").await?;
queue.enqueue(&payload).await?;
let msg = queue.dequeue().await?;
After (0.3.0):
// New: Separated Producer and Consumer
let producer = pgqrs::producer(pool.clone(), &queue, host, port, &config).await?;
producer.enqueue(&payload).await?;
let consumer = pgqrs::consumer(pool.clone(), &queue, host, port, &config).await?;
let messages = consumer.dequeue().await?;
Migration Steps:
- Update your
Cargo.tomltopgqrs = "0.3" - Replace
Queueusage withProducerand/orConsumer - Update method calls to match new signatures
- Run the schema migration (automatic with
pgqrs install)
Getting Updates¶
Watch Repository¶
Star and watch the GitHub repository for release notifications.
Cargo¶
Check for updates:
PyPI¶
Check for updates:
Pre-releases¶
Pre-release versions are available for testing:
# Rust (specific version)
cargo add [email protected]
# Python (pre-release)
pip install pgqrs --pre
Warning
Pre-release versions may contain breaking changes and are not recommended for production.
Support Policy¶
| Version | Status | Support Until |
|---|---|---|
| 0.3.x | Active | Current |
| 0.2.x | Maintenance | 6 months after 0.3.0 |
| 0.1.x | End of Life | - |