Skip to content
Get started
Get started
bunqueue v2.5.1
View Markdown
blog · release

bunqueue v2.5.1

Fixes 3 bugs and ships 2 additions. MCP error handling: All 66 tool handlers now wrapped with withErrorHandler that catches backend exceptions and returns structured { error: "message" } responses with isError: true instead of raw stack…

bun add bunqueue@2.5.1
npm install bunqueue@2.5.1
bun add bunqueue@latest
  • src/mcp/tools/withErrorHandler.ts, Reusable error boundary for MCP tool handlers
  • 39 new MCP backend tests (75 total), webhooks, worker management, monitoring, batch operations, heartbeat, progress, full lifecycle
  • MCP error handling: All 66 tool handlers now wrapped with withErrorHandler that catches backend exceptions and returns structured { error: "message" } responses with isError: true instead of raw stack traces
  • MCP TCP connection: createBackend() is now async and properly awaits TCP connection. Previously used fire-and-forget (void backend.connect()) which silently swallowed connection failures
  • MCP not-found responses: bunqueue_get_job, bunqueue_get_job_by_custom_id, bunqueue_get_progress, and bunqueue_get_cron now return isError: true when resource is not found

← bunqueue v2.5.0 · Release on GitHub · Commits since v2.5.0 · Full changelog · All posts