Releases
worker-v0.0.2
Compare
Sorry, something went wrong.
No results found
0.0.2 (2026-06-12)
⚠ BREAKING CHANGES
worker: WorkerErrorEvent.scope replaced by WorkerErrorEvent.kind/jobId/handlerName. WorkerPool constructor options now accepts an optional events field.
worker: Worker event handler signatures changed. onJobStart → onJobStarted, onJobComplete → onJobCompleted, onJobFail → onJobFailed (all receive event objects). onError → onWorkerError. onJobRecovered removed. Stall terminal failures now emit onJobFailed.
migrate to Node-first pnpm workspace (npm + JSR)
config: default global concurrency scope
worker: Job lifecycle accounting replaces attempts with runs, failures, and stalls.
worker: add leases and force shutdown
Features
add async dispose support and connection promise caching (60542cd )
client: add createQueueClient factory with dual config support (ab97683 )
config: default global concurrency scope (f58c241 )
core,worker,config: add per-queue job retention (e7e58d0 )
migrate to Node-first pnpm workspace (npm + JSR) (788dd51 )
worker: add connection lifecycle hooks, typed errors, and refined WorkerErrorEvent (4d94038 )
worker: add leases and force shutdown (482e8a7 )
worker: add WorkerPool for managing multiple typed queue consumers (34594b6 )
worker: implement Worker with lifecycle state machine and job processing (50aaedc )
worker: introduce definition-based worker pools (a1f3a62 )
worker: redesign event surface — single-event objects, distinct retry/fail, stall cause (b85a638 )
worker: refine event payloads — add timing, remove attempt copies, report hook failures (a22c597 )
Bug Fixes
Dependencies
The following workspace dependencies were updated
dependencies
@panqueue/config bumped to 0.0.2
@panqueue/core bumped to 0.0.2
You can’t perform that action at this time.