# bunqueue v2.6.16

Fixes 3 bugs. PUSH maxAttempts silently ignored via HTTP: The HTTP endpoint mapped attempts instead of maxAttempts, causing retry configuration to be discarded.

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

---

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

Fixes 3 bugs. PUSH maxAttempts silently ignored via HTTP: The HTTP endpoint mapped attempts instead of maxAttempts, causing retry configuration to be discarded.

#### To install bunqueue v2.6.16

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

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

#### To upgrade bunqueue

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

## Bugfixes

- **PUSH `maxAttempts` silently ignored via HTTP**: The HTTP endpoint mapped `attempts` instead of `maxAttempts`, causing retry configuration to be discarded. Now correctly maps to `maxAttempts` (also accepts `attempts` for backwards compatibility).
- **GetJobs pagination broken via HTTP**: The HTTP endpoint sent `start`/`end` instead of `offset`/`limit`, causing query parameters to be silently ignored. Pagination now works correctly.
- **Batch HTTP endpoints unreachable**: `/jobs/ack-batch`, `/jobs/extend-locks`, and `/jobs/heartbeat-batch` were intercepted by the generic `/jobs/:id` pattern. Fixed by matching exact batch paths before the wildcard pattern.

---

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