Skip to content
Get started
Get started
bunqueue v2.6.4
View Markdown
blog · release

bunqueue v2.6.4

Fixes 1 bug. SandboxedWorker generics, processor API improvements.

bun add bunqueue@2.6.4
npm install bunqueue@2.6.4
bun add bunqueue@latest

SandboxedWorker<T> now supports a generic type parameter for typed events (e.g., worker.on('completed', (job: Job<MyData>) => ...))

Processor files now receive log(), fail(), and parentId on the job object alongside progress()

  • Typed on()/once() overloads for all SandboxedWorker events (#25)
  • Lock token race condition: Resolved race where concurrent ack/fail operations could use an expired lock token, causing “Invalid or expired lock token” errors under high concurrency. (#28)

← bunqueue v2.6.2 · Release on GitHub · Commits since v2.6.2 · Full changelog · All posts