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

bunqueue v2.6.91

Simple Mode: 8 advanced features, modular architecture, 50 unit tests, comprehensive documentation.

bun add bunqueue@2.6.91
npm install bunqueue@2.6.91
bun add bunqueue@latest

All built on top of existing Queue/Worker APIs with zero core modifications:

  • Batch Processing: accumulate N jobs, flush on size or timeout, per-job Promise resolution
  • Advanced Retry: 5 strategies (fixed, exponential, jitter, fibonacci, custom), retryIf predicate
  • Graceful Cancellation: AbortController per job, cancel(), isCancelled(), getSignal()
  • Circuit Breaker: auto-pause worker after N consecutive failures, half-open recovery
  • Event Triggers: declarative “on job A complete → create job B” with optional conditions
  • Job TTL: expire unprocessed jobs, per-name overrides, runtime updates
  • Priority Aging: automatically boost priority of old waiting/prioritized jobs

Each feature in its own file under src/client/bunqueue/ (max 300 lines each)

For Simple Mode features, 29 integration assertions

Super detailed guide with architecture diagrams, code examples, and interaction notes


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