bunqueue v2.6.15
blog · release
bunqueue v2.6.15
Full HTTP REST API parity with TCP protocol, HTTP route architecture, HTTP API documentation rewritten.
To install bunqueue v2.6.15
Section titled “To install bunqueue v2.6.15”bun add bunqueue@2.6.15npm install bunqueue@2.6.15To upgrade bunqueue
Section titled “To upgrade bunqueue”bun add bunqueue@latestFull HTTP REST API parity with TCP protocol
Section titled “Full HTTP REST API parity with TCP protocol”All 76 TCP commands are now accessible via HTTP endpoints. Previously only 17 endpoints were available. New endpoints include:
- Job management: promote, update data, get state, get result, get/update progress, change priority, discard to DLQ, move to delayed, change delay, wait for completion, get children values
- Job logs: add, get, and clear structured logs per job
- Job locking: heartbeat, extend lock, batch heartbeat, batch extend locks
- Batch operations: bulk push (
PUSHB), batch pull (PULLB), batch acknowledge (ACKB) - Queue control: list queues, list jobs by state, job counts, priority counts, pause/resume, drain, obliterate, clean with grace period, promote all delayed, retry completed
- DLQ: list DLQ jobs, retry (single or all), purge
- Rate limiting & concurrency: set/clear per-queue rate limits and concurrency limits
- Queue configuration: get/set stall detection config, get/set DLQ config
- Cron jobs: full CRUD (list, add, get, delete)
- Webhooks: full CRUD (list, add, remove, enable/disable)
- Workers: list, register, unregister, worker heartbeat
- Monitoring: ping, storage status
HTTP route architecture
Section titled “HTTP route architecture”Routes split into 4 files (httpRouteJobs.ts, httpRouteQueues.ts, httpRouteQueueConfig.ts, httpRouteResources.ts) for maintainability.
HTTP API documentation rewritten
Section titled “HTTP API documentation rewritten”Enterprise-grade docs with curl examples, full request/response specs, parameter tables, and error cases for every endpoint (1,640 lines).
Thanks to 1 contributor!
Section titled “Thanks to 1 contributor!”← bunqueue v2.6.14 · Release on GitHub · Commits since v2.6.14 · Full changelog · All posts