npm / bullmq
bullmq
What changed in bullmq 5 to 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-20.
1 security16 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initbullmq 616 changes
Security 1
The stalled checker is detached from the telemetry context to prevent trace leaks.
Fixes and other changes 15
Preserves the last error when maxStartedAttempts is reached.
Resuming after pause(true) wakes the worker's main loop.
In Valkey Glide cluster mode, INFO is routed to a single node.
Retrying a finished job now respects its priority.
Children retried by retryJobs are moved back to their parent’s dependencies.
SQL is inlined at build time to restore support for single-file bundlers.
Stops infinite connection-error retries during shutdown.
Connection options are inferred for the selected backend instead of hiding mismatches with casts.
Retries the LISTEN connection after a failed connect.
Deduplication keys are removed when the corresponding job key no longer exists, fixing stale deduplication state in the listed language clients.
Nested duplicate() calls are now allowed on the lazy Bun adapter.
The worker keeps its blocking client alive while parked in reconnecting.
Under Bun, duplicate() now targets the correct server.
Under Bun, reconnect now targets the correct server.
The worker delegates maximumBlockTimeout to the backend.
bullmq 51 changes
Fixes and other changes 1
Blocking client recovery is backported to v5.x, which may affect worker recovery behavior.