# bunqueue v2.6.39

Fixes 3 bugs. Issue #53 test.

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

---

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

Fixes 3 bugs. Issue #53 test.

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

#### To install bunqueue v2.6.39

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

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

#### To upgrade bunqueue

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

## Issue #53 test

Regression test for worker `log` event firing.

## Bugfixes

- **`EventType.Paused` / `EventType.Resumed` missing from enum**: Added `Paused` and `Resumed` variants to `EventType` const enum, fixing TypeScript compilation errors in `queueManager.ts` and `client/events.ts`.
- **`UnrecoverableError` / `DelayedError` not exported**: Added `src/client/errors.ts` with BullMQ-compatible error classes (`UnrecoverableError` to skip retries, `DelayedError` to re-delay jobs) and exported them from `bunqueue/client`.
- **Webhook mapping for pause/resume events**: `eventsManager.ts` now handles `Paused` and `Resumed` event types in the webhook switch.

## Thanks to 1 contributor!

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

---

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