@zerotal/queue 1.7.2 → 1.7.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/CHANGELOG.md CHANGED
@@ -8,6 +8,8 @@ follows the Zerotal monorepo's unified versioning.
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ ## [1.7.2] — 2026-08-18
12
+
11
13
  ### Fixed
12
14
 
13
15
  - **`queue:work` listened on one hardcoded queue, so queued notifications were never sent.**
@@ -22,10 +24,9 @@ follows the Zerotal monorepo's unified versioning.
22
24
  `["default"]`. The flag still overrides it and now accepts a comma-separated list
23
25
  (`--queue=emails,reports`) in priority order, so one worker can take a subset without a second
24
26
  process. `--once` stops at the first queue with a claimable job rather than taking one job per
25
- queue, and the idle sleep is only taken when *no* queue had anything — sleeping after the first
27
+ queue, and the idle sleep is only taken when _no_ queue had anything — sleeping after the first
26
28
  empty one would leave a busy second queue waiting out the poll interval.
27
29
 
28
-
29
30
  ## [1.5.0] — 2026-08-15
30
31
 
31
32
  ### Added
package/api-surface.md CHANGED
@@ -298,13 +298,13 @@ interface WorkerPoolOptions = {
298
298
  size: number
299
299
  }
300
300
 
301
- type BatchStatus = 'failed' | 'pending' | 'complete'
301
+ type BatchStatus = 'pending' | 'complete' | 'failed'
302
302
 
303
303
  type JobStatus = 'dispatched' | 'completed' | 'failed' | 'retried'
304
304
 
305
305
  type SerializedJob = { className: string; payload: Record<string, unknown>;}
306
306
 
307
- type WorkerResult = { success: true;} | { success: false; error: string;}
307
+ type WorkerResult = { success: true } | { success: false; error: string }
308
308
 
309
309
  ## ./commands `(./src/commands/index.ts)`
310
310
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zerotal/queue",
3
- "version": "1.7.2",
3
+ "version": "1.7.4",
4
4
  "license": "MIT",
5
5
  "maturity": "stable",
6
6
  "private": false,
@@ -31,8 +31,8 @@
31
31
  "typecheck": "tsc --noEmit"
32
32
  },
33
33
  "dependencies": {
34
- "@zerotal/core": "1.7.2",
35
- "@zerotal/orm": "1.7.2"
34
+ "@zerotal/core": "1.7.4",
35
+ "@zerotal/orm": "1.7.4"
36
36
  },
37
37
  "devDependencies": {
38
38
  "typescript": "^5.8.0"