hono
4.13.19 · 16 Nov 2026MIT113.6M / weekRepositoryHomepagenpmAtom feed
Upgrading hono From 3.6.3 to 3.12.12
47 releases in betweenevery note read
Before you upgrade
Tick each one off as you go- Deprecated3.12.0
- Deprecated3.8.0
Security
45 advisories still affect 3.12.12
- 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.
Fixes 1 advisory affecting 3.6.3
- Named path parameters can be overridden in TrieRoutermoderate · GHSA-f6gv-hh8j-q8vq
- 3.12.0
This release introduces CSRF Protection Middleware.
- 3.12.0
CSRF Protection Middleware compares the
Originheader value with the request URL. - 3.12.0
middleware/csrf: Introduce CSRF middleware
- 3.11.7
This release includes a security patch that fixes the vulnerability in TrieRouter.
- 3.11.7
The advisory: github.com/honojs/hono/security/advisories/GHSA…
- 3.11.7
If you discover such a vulnerability, please contact us immediately.
- 3.9.2
This release includes a security patch that fixes the vulnerability for
serveStaticon Windows OS.
Release by release
- Fixed
types:
MergeSchemaPathinfer inputs not only params
- Fixed
- Fixed
html: Remove circular dependencies in
hono/html - Fixed
types:
MergeSchemePathinfers param types correctly
- Fixed
- Fixed
trie-router: Fix same parameter name issue
- Fixed
- Fixed
Replace fs.existsSync() with Bun.file().exists()
- Fixed
types: Infer complex path params
- Fixed
jsx: Fix context provider with async component
- Fixed
- Fixed
factory: Correct types inside of
createMiddleware() - Fixed
Enable to return Response like object
- Fixed
- New
dev: Support
NO_COLOR - Fixed
hono-base: Fix not found handler calling timing when one middleware
- New
- New
Add Type to request for Lambda@Edge adapter to support S3 origin
- New
Add script for watch, remove tsc from test
- Fixed
types: Use middlewares with different env types
- Fixed
context: Fixed middleware +
c.json({}, requestInit)problem
- New
- Fixed
trie-router: Fixed same name path params matter
- Fixed
10 other lines we could not sort, mostly version bumps
- 3.12.6
Refactor middleware, tests
- 3.11.9
Use vitest for fastly compute testing
- 3.11.0
feat/allow
bearerAuthto accept a list of token strings - 3.10.2
Export APIGatewayProxyResult from aws-lambda
- 3.10.0
Ree.js ree.js.org - Ree.js is a library that makes web development faster and easier by providing features such as URL Imports, JSX support, and server-side rendering.
- 3.9.0
Hono Storage - Hono Storage is a storage helper for Hono, similar to multer in Express.
- 3.9.0
Hono for Durable Object - Hono DO is a wrapper for Cloudflare Workers' Durable Object, designed for Hono.
- 3.9.0
Hwy - Hwy is a simple, lightweight, and flexible web framework, built on Hono and HTMX.
- 3.8.0
Revert "feat(app):
basePathoption for the constructor, deprecateapp.basePath()(#1560)" - 3.7.0
feat(client) add cookie type validate
45 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.