bunqueue v1.9.9
blog · release
bunqueue v1.9.9
Fixes 4 bugs. Comprehensive Functional Test Suite.
To install bunqueue v1.9.9
Section titled “To install bunqueue v1.9.9”bun add bunqueue@1.9.9npm install bunqueue@1.9.9To upgrade bunqueue
Section titled “To upgrade bunqueue”bun add bunqueue@latestComprehensive Functional Test Suite
Section titled “Comprehensive Functional Test Suite”28 new test files covering all major features
- 14 embedded mode tests + 14 TCP mode tests
- Tests for: advanced DLQ, job management, monitoring, rate limiting, stall detection, webhooks, queue groups, and more
- All 24 embedded test suites pass (143/143 individual tests)
Changes
Section titled “Changes”- BullMQ-Style Idempotency -
jobIdoption now returns existing job instead of throwing error- Duplicate job submissions are idempotent (same behavior as BullMQ)
- Cleaner handling of retry scenarios without error handling
- Improved documentation for
jobIddeduplication behavior
Bugfixes
Section titled “Bugfixes”- Embedded test suite now properly uses embedded mode (was incorrectly trying TCP)
- Fixed
getJobCounts()in tests to use queue-specificgetJobs()method - Fixed async
getJob()calls in job management tests - Fixed PROMOTE, CHANGE PRIORITY, and MOVE TO DELAYED test logic