bunqueue v2.5.2
blog · release
bunqueue v2.5.2
Fixes 4 bugs. Tests for PUSHB deduplication (same-batch and cross-batch), test for ping response structure validation, E2E TCP deduplication test script (scripts/tcp/test-dedup-tcp.ts).
To install bunqueue v2.5.2
Section titled “To install bunqueue v2.5.2”bun add bunqueue@2.5.2npm install bunqueue@2.5.2To upgrade bunqueue
Section titled “To upgrade bunqueue”bun add bunqueue@latestWhat’s new
Section titled “What’s new”- Tests for PUSHB deduplication (same-batch and cross-batch)
- Tests for CLI server argument re-injection (
--host,-p,--host=VALUE,--port=VALUE) - Test for ping response structure validation
- E2E TCP deduplication test script (
scripts/tcp/test-dedup-tcp.ts)
Bugfixes
Section titled “Bugfixes”- TCP deduplication:
jobIddeduplication now works correctly in TCP mode. The auto-batcher was sendingjobIdinstead ofcustomIdin PUSHB commands, causing the server to skip deduplication for all batched operations (#10) - CLI
--hostand-pflags:bunqueue start --host 127.0.0.1 -p 6666now correctly binds to the specified host and port. Previously,parseGlobalOptions()consumed these flags as global options, removing them before the server could use them (#9) - Docker healthcheck: Changed healthcheck URL from
localhostto127.0.0.1to avoid IPv6 resolution issues in Alpine containers (#7) - TCP ping health check: Fixed ping response parsing from
response.pongtoresponse.data.pongmatching the actual server response structure (#5)
Documentation
Section titled “Documentation”- Updated deployment guide healthcheck example (
localhost→127.0.0.1) - Clarified that
jobIddeduplication works in both embedded and TCP modes - Added
--hostflag example to CLI start command reference
Thanks to 2 contributors!
Section titled “Thanks to 2 contributors!”← bunqueue v2.5.1 · Release on GitHub · Commits since v2.5.1 · Full changelog · All posts