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

bunqueue v2.5.8

Fixes 2 bugs. FlowJobData type, CLI env var auth.

bun add bunqueue@2.5.8
npm install bunqueue@2.5.8
bun add bunqueue@latest

New exported interface for flow-injected fields (__flowParentId, __flowParentIds, __parentId, __parentQueue, __childrenIds). Processor<T, R> now intersects T with FlowJobData for automatic IntelliSense in Worker callbacks. (#18)

CLI now reads BQ_TOKEN / BUNQUEUE_TOKEN environment variables as fallback when --token is not provided. Priority: --token flag > BQ_TOKEN > BUNQUEUE_TOKEN. (#13)

  • Repeat job updateData: updateData() now propagates to the next repeat execution. Previously, calling updateData() on a completed repeated job silently failed because the job was removed from the index. A repeat chain now tracks successor job IDs so updates reach the next scheduled execution. (#16)
  • Worker event IntelliSense: Worker now has typed on() and once() overloads for all 10 events (ready, active, completed, failed, progress, stalled, drained, error, cancelled, closed), providing full TypeScript autocomplete. (#15)
  • Updated Worker guide with typed event reference table
  • Updated Flow guide with FlowJobData type documentation
  • Updated Queue guide with updateData() for repeatable jobs
  • Updated CLI guide and env vars guide with BQ_TOKEN / BUNQUEUE_TOKEN

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