hono-agents@3.0.12

cloudflare/agentshono-agents@3.0.12Aug 18, 2026by github-actions[bot]

AI Summary

A patch update that ensures HTTP rejection responses from `onBeforeConnect` are preserved and not passed through to downstream Hono handlers.

Key Highlights

  • Preserve HTTP rejection responses from `onBeforeConnect`
  • Requires `agents >=0.17.1`

Breaking Changes

  • Applications relying on rejected Agent WebSocket requests falling through to other Hono handlers must adjust routing configuration

New Features

  • HTTP rejection handling preservation

Full Release Notes

### Patch Changes

-   [#2115](https://github.com/cloudflare/agents/pull/2115) [`caba4ca`](https://github.com/cloudflare/agents/commit/caba4ca93acaa9de663517397d9d71775b65dcf4) Thanks [@ben-reitz](https://github.com/ben-reitz)! - Preserve HTTP rejection responses returned by `onBeforeConnect` instead of continuing through downstream Hono handlers.

    Existing applications that relied on rejected Agent WebSocket requests falling through to another Hono handler must mount `agentsMiddleware` on a narrower path or configure a distinct Agent route prefix. `hono-agents@3.0.12` also requires `agents >=0.17.1`.