@shivaedev/effect-pg-boss 0.15.1 → 0.15.2
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.15.2 - 2026-10-21
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- Require pg-boss 12.38.0 and generate applications with the matching @pg-boss/dashboard 1.12.0.
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Support schema 46 in the PostgreSQL expiry test controls, preserving native supervision and dead lettering.
|
|
12
|
+
|
|
3
13
|
## 0.15.1 - 2026-10-20
|
|
4
14
|
|
|
5
15
|
### Fixed
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { quotedSchema } from "#internal/storedRows.ts";
|
|
2
2
|
export async function expireAttempt(client, schema, job, cause = "expiry") {
|
|
3
|
-
if ((await client.schemaVersion()) !==
|
|
4
|
-
throw new Error("Testing expiry requires pg-boss schema version
|
|
3
|
+
if ((await client.schemaVersion()) !== 46) {
|
|
4
|
+
throw new Error("Testing expiry requires pg-boss schema version 46");
|
|
5
5
|
}
|
|
6
6
|
const quoted = quotedSchema(schema);
|
|
7
7
|
const timestamp = cause === "expiry" ? "started_on" : "heartbeat_on";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shivaedev/effect-pg-boss",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.2",
|
|
4
4
|
"description": "Effect-native jobs and lifecycle management for pg-boss",
|
|
5
5
|
"homepage": "https://github.com/ShivaeDev/platform/tree/main/packages/effect-pg-boss#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
"@shivaedev/test-story": "0.17.0",
|
|
48
48
|
"@types/node": "24.19.2",
|
|
49
49
|
"effect": "4.0.4",
|
|
50
|
-
"pg-boss": "12.
|
|
50
|
+
"pg-boss": "12.38.0",
|
|
51
51
|
"typescript": "7.0.2",
|
|
52
52
|
"vitest": "5.0.4"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"effect": "4.0.4",
|
|
56
|
-
"pg-boss": "12.
|
|
56
|
+
"pg-boss": "12.38.0"
|
|
57
57
|
},
|
|
58
58
|
"engines": {
|
|
59
59
|
"node": ">=24"
|
|
@@ -2,8 +2,8 @@ import type { Job, PgBoss } from "pg-boss";
|
|
|
2
2
|
import { quotedSchema } from "#internal/storedRows.ts";
|
|
3
3
|
|
|
4
4
|
export async function expireAttempt(client: PgBoss, schema: string, job: Job<unknown>, cause: "expiry" | "heartbeat" = "expiry"): Promise<void> {
|
|
5
|
-
if ((await client.schemaVersion()) !==
|
|
6
|
-
throw new Error("Testing expiry requires pg-boss schema version
|
|
5
|
+
if ((await client.schemaVersion()) !== 46) {
|
|
6
|
+
throw new Error("Testing expiry requires pg-boss schema version 46");
|
|
7
7
|
}
|
|
8
8
|
const quoted = quotedSchema(schema);
|
|
9
9
|
const timestamp = cause === "expiry" ? "started_on" : "heartbeat_on";
|