# bunqueue v2.6.37

getJobCounts now returns delayed and paused counts, getJobs supports multiple statuses, GET /queues/summary endpoint.

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

---

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

getJobCounts now returns delayed and paused counts, getJobs supports multiple statuses, GET /queues/summary endpoint.

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

#### To install bunqueue v2.6.37

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

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

#### To upgrade bunqueue

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

## Removed

- Flaky TCP integration tests (sandboxed-worker, monitoring)

## `getJobCounts` now returns `delayed` and `paused` counts

Matches BullMQ's `getJobCounts()` return type. Both embedded and TCP modes include `delayed` (jobs with future `runAt`) and `paused` (waiting jobs count when queue is paused). ([#56](https://github.com/egeominotti/bunqueue/issues/56))

## `getJobs` supports multiple statuses

Accepts `string | string[]` for the `state` parameter, matching BullMQ's `getJobs(types?: JobType | JobType[])` interface. Works in embedded, TCP, and HTTP (`?state=waiting&state=delayed`). ([#55](https://github.com/egeominotti/bunqueue/issues/55))

## `GET /queues/summary` endpoint

Returns all queues with name, paused status, and job counts in a single HTTP call, replacing N+1 round-trips.

## Thanks to 1 contributor!

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

---

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