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

bunqueue v2.6.7

Fixes 2 bugs and ships 1 performance improvement. 53 new test suites.

bun add bunqueue@2.6.7
npm install bunqueue@2.6.7
bun add bunqueue@latest

Comprehensive test coverage across embedded and TCP modes:

  • Batch 1–3 (19 embedded + 18 TCP): stress, ETL, retry, cron, queue group, shutdown, backpressure, priorities, lifecycle, data integrity, deduplication, timeouts, flows, removal, pause/resume, worker scaling, cancellation, DLQ patterns, bulk ops
  • Coverage gap tests (16 embedded): auto-batching, webhook delivery, durable jobs, rate limiting, lock race conditions, flow + stall detection, cron timezone/DST, LIFO queue, DLQ selective retry, S3 backup concurrent, webhook SSRF, MCP edge cases, CLI error formatting, flow deduplication, sandboxed worker + flow, queue group + flow
  • Total test count increased from ~4,000 to 4,903
  • CronScheduler scheduleNext() now handles stale entries in O(k) amortized instead of blocking indefinitely
  • CronScheduler stale heap bug: When a cron job was removed, scheduleNext() encountered the stale heap entry and returned early without setting any timer, preventing all subsequent crons from firing. Now properly pops stale entries from the min-heap until a valid one is found. (#33)
  • Graceful shutdown burst load: Fixed worker.close(true) causing unhandled AckBatcher errors when jobs were still completing during burst load scenarios. Changed to graceful close with proper drain.
  • Removed BullMQ-only WorkerOptions from API types (lockDuration, maxStalledCount, etc.)
  • Added auto-batching documentation to Queue guide
  • Added connection pool sizing note to Worker guide
  • Fixed CLI help: removed non-existent socket options, fake interactive prompts

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