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

bunqueue v2.0.3

Fixes 6 bugs. Major refactor: Split queue.ts into modular architecture (1955 → 485 lines) - Follows single responsibility principle with 14 focused modules - New modules: operations/add.ts, operations/counts.ts, operations/query.ts…

bun add bunqueue@2.0.3
npm install bunqueue@2.0.3
bun add bunqueue@latest
  • Major refactor: Split queue.ts into modular architecture (1955 → 485 lines)
    • Follows single responsibility principle with 14 focused modules
    • New modules: operations/add.ts, operations/counts.ts, operations/query.ts, operations/management.ts, operations/cleanup.ts, operations/control.ts
    • New modules: jobMove.ts, jobProxy.ts, bullmqCompat.ts, scheduler.ts, dlq.ts, stall.ts, rateLimit.ts, deduplication.ts, workers.ts, queueTypes.ts
    • All 894 unit tests, 25 TCP test suites, and 32 embedded test suites pass
  • getJob() now properly awaits async manager.getJob() call
  • getJobCounts() now uses queue-specific counts instead of global stats
  • promoteJobs() implements correct iteration over delayed jobs
  • addBulk() properly passes BullMQ v5 options (lifo, stackTraceLimit, keepLogs, etc.)
  • toPublicJob() used for full job options support in getJob()
  • extendJobLock() passes token parameter correctly

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