Hono Release Notes
52 release notes curated from 1 source by the Releasebot Team. Last updated: Nov 27, 2026
- Nov 26, 2026
- Date parsed from source:Nov 26, 2026
- First seen by Releasebot:Nov 27, 2026
- Modified by Releasebot:Nov 27, 2026
v4.13.23
Hono releases security fixes for TrieRouter, constrained route matching, and Bun path handling. The update prevents prototype pollution from unusual HTTP methods, corrects middleware and route matching, and ensures paths are read correctly for requests without a usable Host header.
Security fixes
This release includes fixes for the following security issues:
TrieRouter treats proto as a registered HTTP method
Affects: applications that use TrieRouter and accept arbitrary method names, for example with HTTP/2 on Node.js or with hono/method-override. A request with a method name such as proto made the router add a property to Object.prototype, so later requests in the same process could fail until it was restarted. The router no longer treats an inherited property as a registered method. GHSA-656w-x92q-369m
except() skips a middleware for a path that only starts or ends with an alternative of a constrained parameter
Affects: except() in hono/combine, with a path condition that has an alternation in a constrained parameter. A path that only started or ended with one of the alternatives also matched the condition, so the middleware did not run for it. The regular expression of a parameter is now grouped, and routes on TrieRouter with such a parameter are corrected by the same change. GHSA-586x-c76g-h528
getPath() drops the first path segment when the request URL has no scheme and host
Affects: applications on Bun that rely on path rules of a reverse proxy to protect routes. Bun gives a URL with only the path for a request without a usable Host header, and Hono dropped the first segment of the path before routing, so a request could reach a route that the proxy blocks by path. The path of such a URL is now read correctly. GHSA-mhwf-w6q6-q58w
Users who use TrieRouter with HTTP/2 on Node.js or hono/method-override, except() with a constrained parameter, or Bun behind a reverse proxy are strongly encouraged to upgrade to this version.
Full Changelog: v4.13.22...v4.13.23
Original source - Nov 25, 2026
- Date parsed from source:Nov 25, 2026
- First seen by Releasebot:Nov 25, 2026
- Modified by Releasebot:Nov 25, 2026
v4.13.22
Hono releases a security-focused hardening update with fixes across routing, authentication, JSX, server-sent events, streaming, and body parsing. Basic Auth now rejects non-string credentials during setup.
This release includes hardening changes. We recommend that you update.
What's Changed
- fix(mount): keep the malformed path guard in the built output in #5675
- fix(basic-auth): throw an error if the username or the password is not a string in #5676
- fix(utils/mime): return undefined for an extension that is an inherited property name in #5677
- fix(jsx): do not treat a plain object child as an array in #5678
- fix(sse): reject line breaks in retry in #5679
- fix(streaming): accept a sync onError callback in #5680
- fix(utils/body): skip keys with constructor.prototype in parseBody() in #5681
Basic Auth Middleware throws an error for a value that is not a string
basicAuth() now throws an error at setup if username or password is not a string. If you pass an env variable, check that it is set.
Full Changelog: v4.13.21...v4.13.22
Original source All of your release notes in one feed
Join Releasebot and get updates from Hono and hundreds of other software products.
- Nov 23, 2026
- Date parsed from source:Nov 23, 2026
- First seen by Releasebot:Nov 24, 2026
- Modified by Releasebot:Nov 24, 2026
v4.13.21
Hono hardens JWT verification by rejecting non-canonical Base64URL signatures and prevents client path parameters from changing the host when using a relative base URL.
Hardening
hono/jwt: A JWT signature must be in the canonical Base64URL form. A signature with=padding, or with non-zero unused bits in the last character, is now rejected. Thanks to @xpcmdshell, @ongteckwu, @ffasterss, and @shirabe0x05 for the reports.hono/client: A path param can no longer change the host of the request URL when the base URL is relative. Thanks to @ongteckwu for the report.
What's Changed
fix(client): Do not change the host with a path param in #5669fix(client): Remove trailing slashes of the base URL without a regular expression in #5672fix(jwt): Accept only the canonical encoding of a signature in #5673
Full Changelog: v4.13.20...v4.13.21
Original source - Nov 22, 2026
- Date parsed from source:Nov 22, 2026
- First seen by Releasebot:Nov 23, 2026
- Modified by Releasebot:Nov 23, 2026
v4.13.20
Hono releases v4.13.20 with fixes for client initialization, compressed HEAD responses, cookie validation, WebSocket types, JSX state and async providers, JSONParsed types, and UTF-8 BOM handling in AWS Lambda text bodies.
What's Changed
- fix(client): keep class instances in the init options as they are in #5650
- fix(compress): send the compressed response headers for HEAD requests in #5651
- fix(cookie): do not accept a lone double quote as a cookie value in #5652
- fix(helper/websocket): do not depend on DOM-only types in #5653
- fix(utils/types): keep JSONParsed cheap for non-recursive types in #5658
- fix(jsx/dom): restore the useActionState changes removed by #5636 in #5656
- fix(jsx): isolate the value of each async Provider in #5660
- fix(utils/types): keep an optional property optional in JSONParsed in #5664
- fix(aws-lambda,lambda-edge): keep a leading UTF-8 BOM in a text body in #5665
Full Changelog: v4.13.19...v4.13.20
Original source - Nov 22, 2026
- Date parsed from source:Nov 22, 2026
- First seen by Releasebot:Nov 22, 2026
- Modified by Releasebot:Nov 23, 2026
Similar to Hono with recent updates:
- Smokeball release notes149 release notes · Latest Nov 11, 2026
- Cosmolex release notes20 release notes · Latest Jul 30, 2025
- PracticePanther release notes37 release notes · Latest Oct 27, 2026
- Salesforce release notes105 release notes · Latest Nov 1, 2026
- Microsoft release notes1279 release notes · Latest Dec 4, 2026
- Zoom release notes230 release notes · Latest Nov 30, 2026
- Nov 22, 2026
- Date parsed from source:Nov 22, 2026
- First seen by Releasebot:Nov 22, 2026
- Modified by Releasebot:Nov 23, 2026
@hono/[email protected]
Hono fixes AWS Lambda and Lambda Edge handling of leading UTF-8 BOMs in text bodies and body omission in 204 responses.
What's Changed
- fix(aws-lambda,lambda-edge): keep a leading UTF-8 BOM in a text body (#5665)
- fix(lambda-edge): omit body in a 204 result (#5643)
- Nov 22, 2026
- Date parsed from source:Nov 22, 2026
- First seen by Releasebot:Nov 22, 2026
- Modified by Releasebot:Nov 23, 2026
@hono/[email protected]
Hono fixes AWS Lambda adapters to preserve leading UTF-8 BOMs in text bodies and sanitize non-ASCII API Gateway v2 header values.
What's Changed
- fix(aws-lambda,lambda-edge): keep a leading UTF-8 BOM in a text body (#5665)
- fix(aws-lambda): sanitize non-ASCII header values in API Gateway v2 events (#5483)
- Nov 16, 2026
- Date parsed from source:Nov 16, 2026
- First seen by Releasebot:Nov 17, 2026
- Modified by Releasebot:Nov 17, 2026
v4.13.19
Hono releases v4.13.19 with fixes across JSX, middleware, and runtime integrations, plus new secure-headers overwrite and JWT token-header verification options.
What's Changed
- fix(jsx): render an async component that returns null, a boolean, or a number in #5594
- fix(jsx/dom): align useActionState with React 19 in #5635
- fix(jsx/dom): reset a form's pending state when its action rejects in #5636
- fix(jsx/dom): keep an ErrorBoundary in sync when its parent re-renders in #5638
- fix(jsx/dom): keep keyed components in order when they update with a reorder in #5637
- fix(bun): pass errors thrown in WebSocket handlers to onError in #5620
- fix(proxy): drop Transfer-Encoding and Keep-Alive from the headers option in #5640
- fix(method-override): drop the body when overriding to GET or HEAD in #5641
- fix(jsx/dom): restore attributes and effects when Suspense children suspend again in #5642
- fix(combine): continue the chain when a Condition returns true in every() in #5392
- docs: fix JSDoc parameter types and missing annotations in middleware and helpers in #5409
- fix(jsx/dom): keep a falsy Suspense fallback in #5644
- fix(lambda-edge): omit body in a 204 result in #5643
- fix(utils/types): stop JSONParsed at a recursive JSON type in #5645
- feat(secure-headers): add an overwrite option in #5634
- feat(jwt): add a typ option to verify the token header in #5639
Full Changelog
Full Changelog: v4.13.18...v4.13.19
Original source - Nov 11, 2026
- Date parsed from source:Nov 11, 2026
- First seen by Releasebot:Nov 11, 2026
v4.13.18
Hono releases security fixes for request validation, body memory handling, mounted paths, and static file serving. The updates address cases that could skip validation, exhaust memory, misroute requests, or serve files through inconsistent path decoding.
Security fixes
This release includes fixes for the following security issues:
validator() skips validation for requests whose Content-Type parameters are formatted differently
Affects: validator('json') and validator('form') in hono/validator. A Content-Type with whitespace before ;, a trailing ;, or an unusual parameter name was not recognized, so the validator saw an empty object while the handler could read all fields. This completes the fix for GHSA-4h7h-rv7c-7m2v. The validator now decides by the media type alone, as c.req.parseBody() does. GHSA-92p4-j3wq-jmqx
bodyLimit() keeps every transfer chunk of a request body in memory
Affects: bodyLimit() in hono/body-limit. A body sent in very small transfer chunks was retained as one object per chunk, so a request within the configured limit could exhaust memory. The body is now buffered in one array bounded by maxSize. GHSA-39q9-qp46-w8xg
mount() and app.mount() forward a wrong path when a custom getPath adds a prefix
Affects: mount() in hono/mount and app.mount() on 4.13.16 and 4.13.17. With a getPath that prepends a prefix such as the host name, one segment too many was removed from the forwarded path, so middleware scoped inside the mount prefix could be skipped. The prefix is removed from the routed path again. Paths that would change meaning when forwarded now get 400, and an optional regular expression parameter in a mount path throws. GHSA-h25j-2p75-qj33
serveStatic() serves a path that was decoded twice when allowPercentInPath is enabled
Affects: serveStatic() in hono/serve-static and the runtime adapters, only with allowPercentInPath: true. A malformed percent escape in the request path was decoded a second time, so a path that middleware registered on the encoded form did not see could still reach a static file. The file path must now be the same as the routed path, and otherwise the response is 404. GHSA-74fm-fwc7-3fwp
Users who rely on validator(), bodyLimit(), mount() with a custom getPath, or serveStatic() with allowPercentInPath are strongly encouraged to upgrade to this version.
Full Changelog: v4.13.17...v4.13.18
Original source - Nov 7, 2026
- Date parsed from source:Nov 7, 2026
- First seen by Releasebot:Nov 8, 2026
v4.13.17
Hono releases a maintenance update with fixes across cookies, URL parsing, response handling, content negotiation, timing metrics, JSX security, static site generation, AWS Lambda headers, and handler types.
What's Changed
- fix(cookie): match the __Secure- and __Host- prefixes case-insensitively in #5608
- fix(utils/url): do not match a query key across separators in #5607
- fix(etag,pretty-json): cancel the discarded response body in #5606
- fix(client): detect the JSON media type with whitespace before a parameter in #5609
- fix(timing): honor a precision of 0 in setMetric in #5363
- fix(utils/mime,ssg): match media types case-insensitively in #5449
- fix(timing): escape double quotes and backslashes in Server-Timing descriptions in #5478
- fix(etag): preserve commas within quoted entity tags in #5353
- fix(accepts): preserve exact media type quality over subtype wildcards in #5427
- fix(cookie): match the __Secure- and __Host- prefixes case-insensitively in CookieConstraint in #5611
- fix(jsx): add the CSP nonce to all scripts generated by ErrorBoundary in #5430
- fix(ssg): do not reuse created directories across toSSG runs in #5381
- fix(aws-lambda): sanitize non-ASCII header values in API Gateway v2 events in #5483
- fix(jsx): escape element and object attribute values in #5512
- fix(jsx): do not render ref objects as attributes in #5615
- fix(factory): keep independent return types for nine handlers in #5618
Full Changelog: v4.13.16...v4.13.17
Original source - Nov 1, 2026
- Date parsed from source:Nov 1, 2026
- First seen by Releasebot:Nov 2, 2026
v4.13.16
Hono releases security fixes for mount path handling, wildcard middleware, form validation, CSS escaping, CSRF checks, and JWT verification, addressing vulnerabilities that could bypass middleware or validation and enable injection.
Security fixes
This release includes fixes for the following security issues:
mount()andapp.mount()can forward a path that bypasses middleware scoped inside the mount prefixAffects: mount() in hono/mount and app.mount(). A dynamic prefix such as /api/:tenant/* was removed by the length of the route pattern. The forwarded path was also re-normalized by the URL parser, so a decoded \ became / and .. collapsed. Both let a crafted request skip middleware scoped inside the mount prefix. Routes such as /assets* and duplicate parameter names now throw. GHSA-4m76-xfj5-7975
RegExpRouter skips wildcard middleware for certain route patterns and for paths with an encoded line terminator
Affects: RegExpRouter, including the default SmartRouter. Wildcard middleware was not applied in three cases: a parameter written as {[^/]+} in the middleware path only, a /prefix* route next to /prefix/* middleware, and a path with an encoded line terminator. RegExpRouter now covers the same routes as the other routers. Custom patterns that can match the empty string, such as {[0-9]*}, throw UnsupportedPathError. Regenerate PreparedRegExpRouter data. GHSA-h7mg-cq63-vhpq
validator('form') skips validation for multipart/form-data requests with extra parameters
Affects: validator('form') in hono/validator. A multipart/form-data request with an extra parameter such as charset was not recognized as a form. The validator then saw an empty object while the handler could read all fields. GHSA-4h7h-rv7c-7m2v
css helper does not escape a closing tag assembled from template parts and values, allowing HTML injection
Affects: css in hono/css. A </style> split between the template and a value, or between two values, was not escaped. Closing tags are now escaped after minification. GHSA-3gg2-335m-rxc6
csrf() does not check requests sent by hyperlink auditing (text/ping)
Affects: csrf() in hono/csrf. A POST sent by Chromium's <a ping> has the content type text/ping and was not checked against Origin and Sec-Fetch-Site. GHSA-46wx-v44x-9hh2
Users who rely on path-scoped middleware with mount(), wildcard middleware with the default router, validator('form'), the css helper with untrusted values, or csrf() are strongly encouraged to upgrade to this version.
What's Changed
- fix(jwt): reject a signature segment outside the base64url alphabet and a header with crit in #5597
Full Changelog: v4.13.15...v4.13.16
Original source - Nov 1, 2026
- Date parsed from source:Nov 1, 2026
- First seen by Releasebot:Nov 2, 2026
v4.13.15
Hono fixes authentication realm escaping and allows response headers to be set after the body is consumed.
What's Changed
- fix(auth): escape backslashes in the WWW-Authenticate realm by @yusukebe in #5590
- docs(contributing): drop the note about linking a fork branch by @yusukebe in #5593
- fix(context): allow c.header() after the response body is consumed by @yusukebe in #5587
Full Changelog: v4.13.14...v4.13.15
Original source - Oct 25, 2026
- Date parsed from source:Oct 25, 2026
- First seen by Releasebot:Oct 26, 2026
v4.13.14
Hono releases v4.13.14 with fixes across routing, static file serving, CSS minification, and JSX, plus bearer-auth support for message functions that return a Response.
What's Changed
- docs(contributing): ask for issues instead of RPs #5526
- docs(readme): sync the contributing list with CONTRIBUTING.md #5527
- fix(adapters): accept Hono v5 prereleases in the hono peer range #5537
- chore: unified oxfmt and oxlint config #5518
- docs(readme): remove the deepwiki badge #5548
- fix(serve-static): only serve GET and HEAD requests #5514
- fix(build): keep barrel imports in the bundled d.ts #5557
- fix(jsx): preserve self-closing void elements in cloneElement #5314
- fix(css): keep "//" inside an unquoted url() when minifying #5450
- fix(css): keep the descendant combinator before a pseudo-class when minifying #5451
- fix(serve-static): respect q-values in Accept-Encoding for precompressed files #5436
- fix(helper/route): match regex params in basePath() the same way as the router #5498
- fix(trie-router): keep first value for duplicate path params #5423
- fix(hono-base): disallow getPath when strict is false #5563
- fix(css): Fix multiline CSS handling in style replacement #5405
- feat(bearer-auth): allow MessageFunction to return a Response #5269
- fix(utils/url): preserve encoded duplicate query order #5495
Full Changelog: v4.13.13...v4.13.14
Original source - Oct 8, 2026
- Date parsed from source:Oct 8, 2026
- First seen by Releasebot:Oct 11, 2026
@hono/[email protected]
Hono accepts v5 prereleases in the peer range and keeps internal types private in bundled d.ts.
What's Changed
Accept Hono v5 prereleases in the hono peer range, so npm install with hono@next no longer fails with ERESOLVE by @yusukebe in #5537
Keep internal types private in the bundled d.ts by @yusukebe in #5485
Original source - Oct 8, 2026
- Date parsed from source:Oct 8, 2026
- First seen by Releasebot:Oct 11, 2026
@hono/[email protected]
Hono fixes npm install with v5 prereleases and keeps internal types private in bundled d.ts.
What's Changed
Accept Hono v5 prereleases in the hono peer range, so npm install with hono@next no longer fails with ERESOLVE by @yusukebe in #5537
Keep internal types private in the bundled d.ts by @yusukebe in #5485
Original source
Curated by the Releasebot team
Releasebot is an aggregator of official release notes from hundreds of software vendors and thousands of sources.
Our editorial process involves the manual review and audit of release notes procured with the help of automated systems.