hono
4.13.19 · 16 Nov 2026MIT113.6M / weekRepositoryHomepagenpmAtom feed
Upgrading hono From 2.5.6 to 2.7.8
16 releases in betweenevery note read
Start here
Security
44 advisories still affect 2.7.8
- Hono allows bypass of CSRF Middleware by a request without Content-Type header.moderate · GHSA-2234-fmw7-43wr
- Hono missing validation of cookie name on write path in setCookie()moderate · GHSA-26pp-8wgv-hjvm
- Hono: app.mount() strips mount prefix using undecoded path, causing incorrect routing for percent-encoded pathsmoderate · GHSA-2gcr-mfcq-wcc3
Upgrading to 4.13.16 clears them.
- 2.5.7
Vulnerability detail: The handler is called even if it's a preflight request.
Release by release
2.7.8nothing new or fixed in the note
- New
Use added app's errorHandler
- New
Use added app's errorHandler with comose()
- New
- Fixed
Fix 404 error on Serve Static Middleware
- Fixed
serve-static: Decode url pathname
- Fixed
- Fixed
context: Fixed bug raw
Responsecontent-type is overwritten
- Fixed
- Fixed
request: Make optional param type correct
- Fixed
context: Set the header values of already set
- Fixed
- Fixed
context: Enable destruction such
json - Fixed
Fixed type error for optional parameters
- Fixed
- Fixed
cors: Fix bugs handling pre-flight
- Fixed
2.7.1nothing new or fixed in the note
7 other lines we could not sort, mostly version bumps
- 2.7.8
Header may return undefined
- 2.7.7
Revert "feat: use added app's errorHandler (#871)"
- 2.7.6
Missing mime types
- 2.7.3
Remove unnecessary individual strict mode family options
- 2.6.2
Log a more detailed error stack.
- 2.6.0
cookieshould returnstring | undefined - 2.5.7
Updated CORS
8 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.