Hono 4.13.22
Hono 4.13.22 landed on November 25, 2026, one day after 4.13.21. The release carries seven changes, all fixes, and its notes open with a line worth taking literally: this is a hardening release, and updating is recommended. Nothing here adds an API. Several items close holes that would have been reachable from untrusted input, which is the part that matters more than the version number.
What Actually Got Hardened
- Malformed path guard: the guard added in
mountnow survives the build output instead of being stripped, so packaged deployments get the same protection as source runs (PR #5675). - Basic auth:
basicAuth()throws at setup whenusernameorpasswordis not a string (PR #5676). That is the change most likely to break a running app, and it breaks it on purpose. - MIME lookup: an extension that happens to match an inherited property name now returns
undefinedrather than leaking an object property (PR #5677). - JSX: a plain object child is no longer treated as an array (PR #5678).
- SSE: line breaks are rejected in the
retryfield, closing a response splitting vector (PR #5679). - Streaming: a synchronous
onErrorcallback is accepted again (PR #5680). - Body parsing:
parseBody()skips keys containingconstructor.prototype, which blocks prototype pollution through form fields (PR #5681).
The One That Will Bite
If basic auth credentials come from environment variables, check them. Passing process.env.API_USER while that variable is unset used to fail quietly at request time. It now fails at setup, and the app does not start. That is the better outcome, but it is a startup failure on deploy for anyone whose configuration was already broken.
Perspective
Three patch releases in four days is not a sign of a stable branch settling down. It is a sign that people are reading the routing and parser code closely, and reporting what they find. The prototype pollution and SSE fixes in particular read like results of a deliberate audit rather than accident reports. For a framework that runs on Workers, Deno and Node with the same router, that attention is the thing keeping the surface small.
Upgrade
npm install [email protected]. Then start the app once in staging and watch for a thrown error from the auth middleware, since that is the only change that can fail before the first request is served.