stablemates-workhorse 0.14.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd4d8cc52fc88ae2cbd92f6f5598e21d3c4791570cad1508e8d7d694da69266b
4
- data.tar.gz: 3906afd6e03c53e2ea38323010d6467ea7967411c8af5774fdcdbcdf67759a4d
3
+ metadata.gz: ada675ecd38ee7f528c98894b840ae3efbb604f66055bbc405bd5e25a972b5c1
4
+ data.tar.gz: 7c800a1b76bdba58e2e9eb566814cd064a483c0dfe689ffd8b06b441850a1317
5
5
  SHA512:
6
- metadata.gz: e56f01c4a86357055c12dca6408d4fc0481b5c7a5e064ce66b70203ad586caea73daadc810239d4c210a1845100cc709969e70f83b858cac07a972e5a424b039
7
- data.tar.gz: '078d745f19c28498c426c329d533c2280c0100283955e71ce11dcc11bb9e53a061a249e5ffcc445e474c5ceab71e49a0fc870457aa5ab5dac9085a64dbac814c'
6
+ metadata.gz: 745a120d3e5ed782c595e512a9597c09a630b317b7004bf71e16677bcedede1f7d571b90dbaeda178adc07817880f4cd4e957fb1183ac3e2dc6ff3d35cbc2b44
7
+ data.tar.gz: 2ff9147d43d755d67dca231d5172f844c3fc810bebb0c70239d5e90e26df0ec3f77711f97b719c8d7d2fdbc641f9e13e48b0253b2fc8eba09be25c640118c646
data/CHANGELOG.md CHANGED
@@ -3,6 +3,29 @@
3
3
  `stablemates-workhorse` gem versions and release notes live here. The gem carries the version the
4
4
  other SDKs carry, because every tag names one release of all of them.
5
5
 
6
+ ## 0.15.0 — 2026-11-21
7
+
8
+ The npm packages, Python distribution, Go module, Rust crate, Ruby gem, JVM artifacts, and .NET
9
+ packages release from one source commit.
10
+
11
+ Requires **schema v99**, Ruby **3.3** or newer, and PostgreSQL **15** or newer.
12
+
13
+ ### Upgrade steps
14
+
15
+ **Migrate the schema, then roll out the new processes.** Run `workhorse schema migrate`. Migration
16
+ 0106 moves the schema from version 104 to version **105**. It replaces two function bodies and changes
17
+ no stored rows. The SDK compatibility floor stays at **99**, so a 0.14 process keeps working on
18
+ version 105, and the upgrade is a rolling deployment.
19
+
20
+ [The upgrade notes](../docs/upgrading.md#upgrade-from-014x-to-0150) give each step.
21
+
22
+ ### Cleanup no longer reads the whole key and dependency tables
23
+
24
+ Under a generic plan, `prune_enqueue_idempotency_v1` and `prune_released_dependencies_v1` read the
25
+ whole `enqueue_idempotency` or `task_dependency` table to delete the rows of one pass (issue 1263).
26
+ They now delete the rows that they locked by their `ctid`. The result does not change, and this SDK
27
+ does not change. Migration 0106 moves the schema to version 105, and the floor stays 99.
28
+
6
29
  ## 0.14.0 — 2026-11-13
7
30
 
8
31
  There is no 0.13.0. A task queue does not tempt fate.
data/README.md CHANGED
@@ -32,7 +32,7 @@ bundle add connection_pool
32
32
  Install the schema once, as a deployment step. The application never installs or migrates it.
33
33
 
34
34
  ```bash
35
- npx --package @stablemates/workhorse@0.14.0 workhorse schema install
35
+ npx --package @stablemates/workhorse@0.15.0 workhorse schema install
36
36
  ```
37
37
 
38
38
  The machine that runs that deployment step needs Node.js 22 or newer. The application itself needs
@@ -2,5 +2,5 @@
2
2
  "formatVersion": 1,
3
3
  "readSurfaceVersion": 1,
4
4
  "archive": "read-surface-1.tar.gz",
5
- "sha256": "214184b0cb7993a3abd9f8c398bede823de78541b873a642c172d4a56e8eba15"
5
+ "sha256": "2a7ecb371cb812ea7567bd6aeb32ded3faed85291b664f3d3e9de4f27eff44f8"
6
6
  }
@@ -11,7 +11,7 @@ module Stablemates
11
11
  MINIMUM_PROTOCOL_VERSION = 5
12
12
  MAXIMUM_PROTOCOL_VERSION = 5
13
13
  MINIMUM_SCHEMA_VERSION = 99
14
- MAXIMUM_SCHEMA_VERSION = 104
14
+ MAXIMUM_SCHEMA_VERSION = 105
15
15
  # PostgreSQL's atomic enqueue batch limit.
16
16
  MAX_ENQUEUE_BATCH_SIZE = 1000
17
17
  DEFAULT_TASK_VALUE_MAX_BYTES = 1048576
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Stablemates
4
4
  module Workhorse
5
- VERSION = "0.14.0"
5
+ VERSION = "0.15.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stablemates-workhorse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stablemates