# bunqueue v2.6.22

Fixes 2 bugs. Comprehensive WebSocket pub/sub integration test.

Canonical: https://bunqueue.dev/blog/bunqueue-v2-6-22/

---

<!-- Generated from changelog.md by docs/scripts/generate-release-posts.ts. Edit the changelog and regenerate. -->

Fixes 2 bugs. Comprehensive WebSocket pub/sub integration test.

![](https://github.com/egeominotti.png?size=64) [egeominotti](https://github.com/egeominotti)

#### To install bunqueue v2.6.22

```bash title="bun"
bun add bunqueue@2.6.22
```

```bash title="npm"
npm install bunqueue@2.6.22
```

#### To upgrade bunqueue

```bash
bun add bunqueue@latest
```

## Comprehensive WebSocket pub/sub integration test

47 assertions covering all 9 event categories (job lifecycle, queue, DLQ, cron, worker, rate-limit, concurrency, webhook, config, system periodic) plus protocol tests (subscribe, unsubscribe, wildcard, invalid patterns, Ping over WS).

## Bugfixes

- **dlq:added WebSocket event**: Now emitted when a job moves to DLQ after max attempts exceeded. Previously this event was defined but never fired.
- **job:progress WebSocket event**: Progress value now included in event payload. Previously `progress` was `undefined` because the broadcast didn't set the top-level field.

## Thanks to 1 contributor!

- [@egeominotti](https://github.com/egeominotti)

---

[← bunqueue v2.6.21](https://bunqueue.dev/blog/bunqueue-v2-6-21/) · [Release on GitHub](https://github.com/egeominotti/bunqueue/releases/tag/v2.6.22) · [Commits since v2.6.21](https://github.com/egeominotti/bunqueue/compare/v2.6.21...v2.6.22) · [Full changelog](https://bunqueue.dev/changelog/) · [All posts](https://bunqueue.dev/blog/)
