@workflow/world-postgres 5.0.2 → 5.0.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workflow/world-postgres",
3
- "version": "5.0.2",
3
+ "version": "5.0.4",
4
4
  "description": "A reference World implementation based on PostgreSQL",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -39,10 +39,10 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "@vercel/queue": "0.8.0",
42
- "@workflow/errors": "5.0.2",
43
- "@workflow/utils": "5.0.1",
44
- "@workflow/world": "5.0.2",
45
- "@workflow/world-local": "5.0.2",
42
+ "@workflow/errors": "5.0.4",
43
+ "@workflow/utils": "5.0.2",
44
+ "@workflow/world": "5.0.4",
45
+ "@workflow/world-local": "5.1.1",
46
46
  "cbor-x": "1.6.0",
47
47
  "dotenv": "17.3.1",
48
48
  "drizzle-orm": "0.45.2",
@@ -55,9 +55,9 @@
55
55
  "@testcontainers/postgresql": "11.12.0",
56
56
  "@types/node": "22.19.0",
57
57
  "@types/pg": "8.20.0",
58
- "@workflow/errors": "5.0.2",
58
+ "@workflow/errors": "5.0.4",
59
59
  "@workflow/tsconfig": "5.0.0",
60
- "@workflow/world-testing": "5.0.2",
60
+ "@workflow/world-testing": "5.0.4",
61
61
  "drizzle-kit": "0.31.9",
62
62
  "typescript": "^6.0.3",
63
63
  "undici": "7.30.0",
@@ -0,0 +1,5 @@
1
+ -- The in-band writer fence for single-orchestrator runs: how many positions
2
+ -- the run's orchestrator writes have been accepted for, `run_created`
3
+ -- included. Every existing run starts at 1, the value a run with no fenced
4
+ -- write has; only single-orchestrator runs ever advance it.
5
+ ALTER TABLE "workflow"."workflow_event_slots" ADD COLUMN IF NOT EXISTS "seq_in_band" integer DEFAULT 1 NOT NULL;
@@ -183,6 +183,13 @@
183
183
  "when": 1789862400000,
184
184
  "tag": "0025_add_snapshots_table",
185
185
  "breakpoints": true
186
+ },
187
+ {
188
+ "idx": 26,
189
+ "version": "7",
190
+ "when": 1789948800000,
191
+ "tag": "0026_add_seq_in_band",
192
+ "breakpoints": true
186
193
  }
187
194
  ]
188
195
  }