# bunqueue v2.6.2

Fixes 1 bug and ships 1 addition. job.name always 'default' for scheduled jobs: When jobs were created via Queue#upsertJobScheduler, the name from jobTemplate was not embedded in the cron job data.

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

---

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

Fixes 1 bug and ships 1 addition. job.name always 'default' for scheduled jobs: When jobs were created via Queue#upsertJobScheduler, the name from jobTemplate was not embedded in the cron job data.

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

#### To install bunqueue v2.6.2

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

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

#### To upgrade bunqueue

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

## What's new

- Regression test for scheduler job name passthrough (`test/bug-23-scheduler-job-name.test.ts`)

## Bugfixes

- **`job.name` always `'default'` for scheduled jobs**: When jobs were created via `Queue#upsertJobScheduler`, the `name` from `jobTemplate` was not embedded in the cron job data. The worker fell back to `'default'`. Now embeds the name in data, matching `Queue.add()` behavior. (Discussion #23)

## Documentation

- Added SandboxedWorker Options Reference table
- Added SandboxedWorker Event Reference table with types
- Clarified which events are not available on SandboxedWorker (`stalled`, `drained`, `cancelled`)
- Added tip about increasing `maxMemory` for large file processing
- Fixed missing `await` on `worker.start()` calls
- Improved Worker vs SandboxedWorker comparison table

## Thanks to 1 contributor!

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

---

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