bunqueue v2.8.40
blog · release
bunqueue v2.8.40
Fixes 5 bugs and ships 3 additions. The CLI now derives command routing and command discovery from one canonical registry.
To install bunqueue v2.8.40
Section titled “To install bunqueue v2.8.40”bun add bunqueue@2.8.40npm install bunqueue@2.8.40To upgrade bunqueue
Section titled “To upgrade bunqueue”bun add bunqueue@latestWhat’s new
Section titled “What’s new”- Property campaigns cover arbitrary argv, safe-integer boundaries, Unicode, JSON values, serialization and flag permutations. Real TCP/SQLite E2E tests cover every CLI command, restart persistence, direct-API parity, malformed inputs, concurrent idempotency, duplicate ACKs and killed long-polls.
- A targeted mutation campaign killed all five parser, router, codec, JSON and cancellation mutants. Workflow retry tests now observe terminal state instead of sleeping for eight seconds, cutting the reported retry case from about 8.1 seconds to about 2.1 seconds under the isolated parallel suite.
- The real-TCP count regression harness now binds a kernel-assigned port, so parallel CI cannot collide with an unreserved random port.
Bugfixes
Section titled “Bugfixes”- The CLI now derives command routing and command discovery from one canonical
registry. Help, aliases and the command builder expose the same surface,
including
pingandbackup create. --jsonemits exactly one JSON document on local, remote and error paths. Safe-integer parsing rejects imprecise values, while negative JSON primitives, equivalent flag spellings and independent flag ordering retain their intended meaning.- Closing a TCP connection now cancels its pending pull. An interrupted long-poll cannot claim the next job, leave a hidden waiter or consume rate/concurrency resources while waiting for a shard lock.
Bugfixes
Section titled “Bugfixes”- TCP, SQLite, CLI and cloud transports share a canonical MessagePack codec.
Hostile object keys such as
__proto__round-trip without renaming, collisions, data loss or prototype pollution while ordinary frames retain the fast decoder path. - Active-to-waiting transitions, per-queue DLQ configuration, stall counters and related queue indexes now persist and recover coherently. The generated broker model covers 69 lifecycle, ordering, resource and persistence invariants.
Thanks to 1 contributor!
Section titled “Thanks to 1 contributor!”← bunqueue v2.8.39 · Release on GitHub · Commits since v2.8.39 · Full changelog · All posts