Repository navigation
Update dependency hono to v4.13.16 - #9
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Contributor
|
Preview |
renovate
Bot
force-pushed
the
renovate/hono-4.x
branch
from
October 25, 2026 09:31
06d3dfe to
e6554c8
Compare
renovate
Bot
force-pushed
the
renovate/hono-4.x
branch
from
November 1, 2026 04:47
e6554c8 to
9a21bb2
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.13.7→4.13.16Release Notes
honojs/hono (hono)
v4.13.16Compare Source
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()inhono/mountandapp.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-7975RegExpRouter skips wildcard middleware for certain route patterns and for paths with an encoded line terminator
Affects:
RegExpRouter, including the defaultSmartRouter. 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]*}, throwUnsupportedPathError. RegeneratePreparedRegExpRouterdata. GHSA-h7mg-cq63-vhpqvalidator('form')skips validation formultipart/form-datarequests with extra parametersAffects:
validator('form')inhono/validator. Amultipart/form-datarequest with an extra parameter such ascharsetwas not recognized as a form. The validator then saw an empty object while the handler could read all fields. GHSA-4h7h-rv7c-7m2vcsshelper does not escape a closing tag assembled from template parts and values, allowing HTML injectionAffects:
cssinhono/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-rxc6csrf()does not check requests sent by hyperlink auditing (text/ping)Affects:
csrf()inhono/csrf. A POST sent by Chromium's<a ping>has the content typetext/pingand was not checked againstOriginandSec-Fetch-Site. GHSA-46wx-v44x-9hh2Users who rely on path-scoped middleware with
mount(), wildcard middleware with the default router,validator('form'), thecsshelper with untrusted values, orcsrf()are strongly encouraged to upgrade to this version.What's Changed
critin #5597Full Changelog: honojs/hono@v4.13.15...v4.13.16
v4.13.15Compare Source
What's Changed
c.header()after the response body is consumed by @yusukebe in #5587Full Changelog: honojs/hono@v4.13.14...v4.13.15
v4.13.14Compare Source
What's Changed
honopeer range #5537d.ts#5557getPathwhenstrictisfalse#5563Full Changelog: honojs/hono@v4.13.13...v4.13.14
v4.13.13Compare Source
Mount Middleware
app.mount()is now available as the Mount Middleware,hono/mount. It is just a handler, so you register it withapp.all():app.mount()still works in v4 but is deprecated and will be removed in v5. Migrating is a one-line change:What's Changed
app.mountin #5221Full Changelog: honojs/hono@v4.13.12...v4.13.13
v4.13.12Compare Source
What's Changed
Full Changelog: honojs/hono@v4.13.11...v4.13.12
v4.13.11Compare Source
Security fixes
serveStaticdecodes the request path a second time, leading to bypass of middleware on static pathsAffects:
hono/serve-staticand the adapters built on it (hono/bun,hono/deno,hono/cloudflare-workers,@hono/bun,@hono/deno,@hono/cloudflare-workers). FixesserveStaticdecoding an already-decoded path, where a crafted request could be routed as one path and served as another, skipping middleware mounted on a static prefix. GHSA-5r4p-p66f-jhc7serveStaticnow rejects request paths that still contain%after decoding. To serve files whose names contain a literal%, setallowPercentInPath: true.The same fix ships in
@hono/node-serverv2.1.3.v4.13.10Compare Source
Adapters are now separate packages
The runtime adapters are now published as their own packages:
@hono/bun,@hono/deno,@hono/cloudflare-workers,@hono/aws-lambda,@hono/lambda-edge,@hono/netlify,@hono/vercel, and@hono/service-worker.@hono/denois also on JSR.hono/<adapter>still works in v4 but is deprecated and will be removed in v5. Migrating is an import change:hono/cloudflare-pages is deprecated without a replacement package; Cloudflare recommends Workers with static assets.
What's Changed
cr.ymlby the pnpm migration in #54561.0.0-rc.1in #5459adapters/*in #5466Full Changelog: honojs/hono@v4.13.9...v4.13.10
v4.13.9Compare Source
What's Changed
Full Changelog: honojs/hono@v4.13.8...v4.13.9
v4.13.8Compare Source
What's Changed
Full Changelog: honojs/hono@v4.13.7...v4.13.8
Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.