# bunqueue v2.0.1

Fixes 1 bug. Critical: jobId deduplication not working after restart - The customIdMap was not populated when recovering jobs from SQLite on server startup.

Canonical: https://bunqueue.dev/blog/bunqueue-v2-0-1/

---

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

Fixes 1 bug. Critical: jobId deduplication not working after restart - The customIdMap was not populated when recovering jobs from SQLite on server startup.

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

#### To install bunqueue v2.0.1

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

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

#### To upgrade bunqueue

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

## Bugfixes

- **Critical: jobId deduplication not working after restart** - The `customIdMap` was not populated when recovering jobs from SQLite on server startup. This caused `getDeduplicationJobId()` to return `null` and allowed duplicate jobs with the same `jobId` to be created.

## Thanks to 1 contributor!

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

---

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