bunqueue v2.6.40
blog · release
bunqueue v2.6.40
bunqueue Cloud.
To install bunqueue v2.6.40
Section titled “To install bunqueue v2.6.40”bun add bunqueue@2.6.40npm install bunqueue@2.6.40To upgrade bunqueue
Section titled “To upgrade bunqueue”bun add bunqueue@latestbunqueue Cloud
Section titled “bunqueue Cloud”Remote dashboard telemetry agent. Connect any bunqueue instance to bunqueue Cloud with just 2 env vars (BUNQUEUE_CLOUD_URL + BUNQUEUE_CLOUD_API_KEY). Zero overhead when disabled.
- Snapshot channel: HTTP POST every 5s with full server state: stats, throughput, latency percentiles, memory, per-queue counts, worker details, cron jobs, storage status, DLQ entries, recent jobs.
- Event channel: Outbound WebSocket for real-time job event forwarding (Failed, Stalled, etc.) with configurable filtering.
- Remote commands (opt-in): Dashboard can execute commands on the instance via the same WebSocket:
queue:pause,queue:resume,queue:drain,dlq:retry,dlq:purge,job:cancel,job:promote,cron:upsert,cron:delete. RequiresBUNQUEUE_CLOUD_REMOTE_COMMANDS=true. - Multi-instance: Multiple bunqueue instances can connect to the same dashboard with separate instance IDs and names.
- Resilience: Offline snapshot buffer (720 snapshots), circuit breaker, WebSocket auto-reconnect with exponential backoff + jitter, graceful shutdown with final snapshot.
- Security: API key auth, optional HMAC-SHA256 signing, job data redaction, remote commands disabled by default.
- New env vars:
BUNQUEUE_CLOUD_URL,BUNQUEUE_CLOUD_API_KEY,BUNQUEUE_CLOUD_INSTANCE_NAME,BUNQUEUE_CLOUD_INTERVAL_MS,BUNQUEUE_CLOUD_REMOTE_COMMANDS,BUNQUEUE_CLOUD_SIGNING_SECRET,BUNQUEUE_CLOUD_INCLUDE_JOB_DATA,BUNQUEUE_CLOUD_REDACT_FIELDS,BUNQUEUE_CLOUD_EVENTS.
Thanks to 1 contributor!
Section titled “Thanks to 1 contributor!”← bunqueue v2.6.39 · Release on GitHub · Commits since v2.6.39 · Full changelog · All posts