Hono 4.13.14
Hono 4.13.14 shipped on October 25, 2026, and it is a bug-fix release with a clear theme: serving static files and rendering markup without surprises. Seventeen changes landed, none of them a new feature you have to learn, several of them worth taking today.
🐛 Bug Bashes
serve-static was the busiest module. It now serves only GET and HEAD requests instead of answering every verb, and it respects q-values in Accept-Encoding when picking a precompressed file. Both are correctness fixes. The first closes a hole where a POST to a static path could return file content, the second stops the middleware from handing a client a brotli file it never asked to prefer.
The trie router now keeps the first value when a path contains duplicate parameter names, which matches the behavior of other routers. hono-base disallows getPath when strict is false, and the route helper's basePath() now matches regex parameters the same way the router does. If you have been debugging a mismatched route in a mounted sub-app, that last one is probably your bug.
🎨 CSS Crunching
Three minifier fixes land together: a // inside an unquoted url() is preserved, the descendant combinator before a pseudo-class survives minification, and multiline CSS inside style replacement is handled correctly. In practice this means inline styles passed through the CSS helper stop silently losing selectors. The JSX path gets one fix too: cloneElement keeps self-closing void elements intact.
🔐 Auth and Query Handling
bearer-auth now allows a MessageFunction to return a Response, so you can send a custom body or a redirect instead of only a message string. In the URL utilities, encoded duplicate query parameters keep their original order, which fixes signature checks against URLs with repeated keys.
⬆️ Upgrade Notes
Adapters now accept Hono v5 prereleases in their hono peer range, and the bundled d.ts keeps barrel imports, so TypeScript consumers stop seeing broken re-exports. Run npm install [email protected]. There are no deprecations and no breaking changes. If you serve static assets from the edge or behind a CDN, this is the release to schedule: the GET/HEAD restriction is the kind of fix that quietly removes a class of security report from your backlog.