bunqueue v2.5.1
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…
To install bunqueue v2.5.1
Section titled “To install bunqueue v2.5.1”bun add bunqueue@2.5.1npm install bunqueue@2.5.1To upgrade bunqueue
Section titled “To upgrade bunqueue”bun add bunqueue@latestWhat’s new
Section titled “What’s new”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
Bugfixes
Section titled “Bugfixes”- MCP error handling: All 66 tool handlers now wrapped with
withErrorHandlerthat catches backend exceptions and returns structured{ error: "message" }responses withisError: trueinstead 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, andbunqueue_get_cronnow returnisError: truewhen resource is not found
Thanks to 1 contributor!
Section titled “Thanks to 1 contributor!”← bunqueue v2.5.0 · Release on GitHub · Commits since v2.5.0 · Full changelog · All posts