Skip to content

chore(deps): update dependency hono to v4.13.23 - #6

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/hono-4.x-lockfile
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/hono-4.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

This PR contains the following updates:

Package Change Age Confidence
hono (source) 4.13.18 → 4.13.23 age confidence

Release Notes

honojs/hono (hono)

v4.13.23

Compare Source

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: honojs/hono@v4.13.22...v4.13.23

v4.13.22

Compare Source

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: honojs/hono@v4.13.21...v4.13.22

v4.13.21

Compare Source

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 #​5669
  • fix(client): remove trailing slashes of the base URL without a regular expression in #​5672
  • fix(jwt): accept only the canonical encoding of a signature in #​5673

Full Changelog: honojs/hono@v4.13.20...v4.13.21

v4.13.20

Compare Source

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: honojs/hono@v4.13.19...v4.13.20

v4.13.19

Compare Source

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: honojs/hono@v4.13.18...v4.13.19


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/hono-4.x-lockfile branch from a8621fe to 1a90fef Compare November 26, 2026 08:17
@renovate renovate Bot changed the title chore(deps): update dependency hono to v4.13.19 chore(deps): update dependency hono to v4.13.22 Nov 26, 2026
@renovate renovate Bot changed the title chore(deps): update dependency hono to v4.13.22 chore(deps): update dependency hono to v4.13.23 Nov 27, 2026
@renovate
renovate Bot force-pushed the renovate/hono-4.x-lockfile branch from 1a90fef to 6e13da7 Compare November 27, 2026 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants