diff --git a/CHANGELOG.md b/CHANGELOG.md index 917205bfc..a3de518b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,9 @@ Notable changes between releases. Detailed migration notes for storage transitio ## [Unreleased] -## [0.6.12] — Unreleased +## [0.6.12] — 2026-11-05 -Patch release: queue storage no longer drives PostgreSQL 18 into a backend crash when a rescue, cancel or claim close locks a claim that was just rewritten, batch completion and bulk "move failed to DLQ" on queue storage no longer fail once a batch grows past PostgreSQL's bind-parameter limit, draining a queue cancels its backlog in bulk, and cancelling or moving an available job no longer acts on one a worker has already claimed. No migration and no public API change. +Patch release: queue storage no longer drives PostgreSQL 18 into a backend crash when a rescue, cancel or claim close locks a claim that was just rewritten, batch completion and bulk "move failed to DLQ" on queue storage no longer fail once a batch grows past PostgreSQL's bind-parameter limit, draining a queue cancels its backlog in bulk, and cancelling or moving an available job no longer acts on one a worker has already claimed. No migration, no schema patch and no public API change. Upgrading from 0.6.11 is a rolling upgrade of processes; the rescues run on the maintenance leader and any runtime can become leader, so roll all of them. - **Queue storage no longer drives PostgreSQL 18 into a backend crash when a rescue, cancel or claim close locks a claim that was just rewritten.** A diff --git a/Cargo.lock b/Cargo.lock index e76d52a56..d3f6db04d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -383,7 +383,7 @@ checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" [[package]] name = "awa" -version = "0.6.11" +version = "0.6.12" dependencies = [ "async-trait", "awa-macros", @@ -408,7 +408,7 @@ dependencies = [ [[package]] name = "awa-cli" -version = "0.6.11" +version = "0.6.12" dependencies = [ "assert_cmd", "awa-model", @@ -430,7 +430,7 @@ dependencies = [ [[package]] name = "awa-macros" -version = "0.6.11" +version = "0.6.12" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -440,7 +440,7 @@ dependencies = [ [[package]] name = "awa-metrics" -version = "0.6.11" +version = "0.6.12" dependencies = [ "awa-model", "opentelemetry", @@ -448,7 +448,7 @@ dependencies = [ [[package]] name = "awa-model" -version = "0.6.11" +version = "0.6.12" dependencies = [ "awa-macros", "blake3", @@ -469,7 +469,7 @@ dependencies = [ [[package]] name = "awa-seaorm" -version = "0.6.11" +version = "0.6.12" dependencies = [ "awa", "awa-testing", @@ -482,7 +482,7 @@ dependencies = [ [[package]] name = "awa-testing" -version = "0.6.11" +version = "0.6.12" dependencies = [ "async-trait", "awa-model", @@ -497,7 +497,7 @@ dependencies = [ [[package]] name = "awa-ui" -version = "0.6.11" +version = "0.6.12" dependencies = [ "awa-metrics", "awa-model", @@ -520,7 +520,7 @@ dependencies = [ [[package]] name = "awa-worker" -version = "0.6.11" +version = "0.6.12" dependencies = [ "anyhow", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index 4b14bdede..d3332591f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ members = [ exclude = ["awa-python", "spike"] [workspace.package] -version = "0.6.11" +version = "0.6.12" edition = "2021" license = "MIT OR Apache-2.0" description = "Postgres-native background job queue — transactional enqueue, heartbeat crash recovery, SKIP LOCKED dispatch" @@ -25,11 +25,11 @@ categories = ["database", "asynchronous", "web-programming"] [workspace.dependencies] # Internal crates -awa-model = { path = "awa-model", version = "0.6.11" } -awa-macros = { path = "awa-macros", version = "0.6.11" } -awa-metrics = { path = "awa-metrics", version = "0.6.11" } -awa-worker = { path = "awa-worker", version = "0.6.11" } -awa = { path = "awa", version = "0.6.11" } +awa-model = { path = "awa-model", version = "0.6.12" } +awa-macros = { path = "awa-macros", version = "0.6.12" } +awa-metrics = { path = "awa-metrics", version = "0.6.12" } +awa-worker = { path = "awa-worker", version = "0.6.12" } +awa = { path = "awa", version = "0.6.12" } # Database sea-orm = { version = "=2.0.0-rc.38", default-features = false, features = ["sqlx-postgres", "runtime-tokio-rustls", "with-chrono", "with-json"] } diff --git a/awa-cli/Cargo.toml b/awa-cli/Cargo.toml index 833d86ef3..38a1dd52b 100644 --- a/awa-cli/Cargo.toml +++ b/awa-cli/Cargo.toml @@ -14,7 +14,7 @@ path = "src/main.rs" [dependencies] awa-model.workspace = true awa-worker.workspace = true -awa-ui = { path = "../awa-ui", version = "0.6.11" } +awa-ui = { path = "../awa-ui", version = "0.6.12" } axum.workspace = true sqlx.workspace = true tokio.workspace = true @@ -28,5 +28,5 @@ hex.workspace = true uuid.workspace = true [dev-dependencies] -awa-testing = { path = "../awa-testing", version = "0.6.11" } +awa-testing = { path = "../awa-testing", version = "0.6.12" } assert_cmd = "2" diff --git a/awa-cli/pyproject.toml b/awa-cli/pyproject.toml index 30b1e9133..e65d2fced 100644 --- a/awa-cli/pyproject.toml +++ b/awa-cli/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "awa-cli" -version = "0.6.11" +version = "0.6.12" description = "CLI for the Awa Postgres-native job queue (migrations, admin, serve)" readme = "README.md" requires-python = ">=3.10" diff --git a/awa-python/Cargo.lock b/awa-python/Cargo.lock index 0ff92ab60..91e9ca5d7 100644 --- a/awa-python/Cargo.lock +++ b/awa-python/Cargo.lock @@ -95,7 +95,7 @@ checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" [[package]] name = "awa-macros" -version = "0.6.11" +version = "0.6.12" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -105,7 +105,7 @@ dependencies = [ [[package]] name = "awa-metrics" -version = "0.6.11" +version = "0.6.12" dependencies = [ "awa-model", "opentelemetry", @@ -113,7 +113,7 @@ dependencies = [ [[package]] name = "awa-model" -version = "0.6.11" +version = "0.6.12" dependencies = [ "awa-macros", "blake3", @@ -133,7 +133,7 @@ dependencies = [ [[package]] name = "awa-python" -version = "0.6.11" +version = "0.6.12" dependencies = [ "async-trait", "awa-model", @@ -156,7 +156,7 @@ dependencies = [ [[package]] name = "awa-worker" -version = "0.6.11" +version = "0.6.12" dependencies = [ "async-trait", "awa-macros", diff --git a/awa-python/Cargo.toml b/awa-python/Cargo.toml index c7289eba0..765d62396 100644 --- a/awa-python/Cargo.toml +++ b/awa-python/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "awa-python" -version = "0.6.11" +version = "0.6.12" edition = "2021" [lib] @@ -12,8 +12,8 @@ default = ["cel"] cel = ["awa-model/cel"] [dependencies] -awa-model = { path = "../awa-model", version = "0.6.11" } -awa-worker = { path = "../awa-worker", version = "0.6.11", features = ["__python-bridge"] } +awa-model = { path = "../awa-model", version = "0.6.12" } +awa-worker = { path = "../awa-worker", version = "0.6.12", features = ["__python-bridge"] } pyo3 = { version = "0.29", features = ["macros", "abi3-py310", "chrono"] } pyo3-async-runtimes = { version = "0.29", features = ["tokio-runtime"] } sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "postgres", "chrono", "json"] } diff --git a/awa-python/pyproject.toml b/awa-python/pyproject.toml index f273c0632..85c8ed55f 100644 --- a/awa-python/pyproject.toml +++ b/awa-python/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "maturin" [project] name = "awa-pg" requires-python = ">=3.10" -version = "0.6.11" +version = "0.6.12" description = "Postgres-native background job queue — Python SDK with async/sync workers, transactional enqueue, and progress tracking. Install awa-pg[ui] to add the bundled web dashboard." readme = "README.md" license = {text = "MIT OR Apache-2.0"} @@ -32,7 +32,7 @@ classifiers = [ # # Kept opt-in so the default `awa-pg` install stays small — workers and # producers don't need the ~10 MB UI bundle. -ui = ["awa-cli==0.6.11"] +ui = ["awa-cli==0.6.12"] [project.urls] Homepage = "https://github.com/hardbyte/awa" diff --git a/awa-python/uv.lock b/awa-python/uv.lock index 1a53ba342..cc2a010df 100644 --- a/awa-python/uv.lock +++ b/awa-python/uv.lock @@ -88,12 +88,12 @@ wheels = [ [[package]] name = "awa-cli" -version = "0.6.11" +version = "0.6.12" source = { directory = "../awa-cli" } [[package]] name = "awa-pg" -version = "0.6.11" +version = "0.6.12" source = { editable = "." } [package.optional-dependencies] diff --git a/awa-seaorm/Cargo.toml b/awa-seaorm/Cargo.toml index 0631fd68b..9f1679557 100644 --- a/awa-seaorm/Cargo.toml +++ b/awa-seaorm/Cargo.toml @@ -14,6 +14,6 @@ serde_json.workspace = true sqlx.workspace = true [dev-dependencies] -awa-testing = { path = "../awa-testing", version = "0.6.11" } +awa-testing = { path = "../awa-testing", version = "0.6.12" } serde = { workspace = true, features = ["derive"] } tokio = { workspace = true, features = ["macros", "rt-multi-thread"] } diff --git a/awa/Cargo.toml b/awa/Cargo.toml index 1994b8d08..005d5b3ff 100644 --- a/awa/Cargo.toml +++ b/awa/Cargo.toml @@ -20,7 +20,7 @@ awa-macros.workspace = true awa-worker.workspace = true [dev-dependencies] -awa-testing = { path = "../awa-testing", version = "0.6.11" } +awa-testing = { path = "../awa-testing", version = "0.6.12" } sqlx.workspace = true serde.workspace = true serde_json.workspace = true