hono
4.13.19 · 16 Nov 2026MIT114.5M / weekRepositoryHomepagenpmAtom feed
Upgrading hono From 3.12.12 to 4.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 5
- changes to make
- 0
- advisories fixed
- 33
- new
- 20
- fixes
Start here
Before you upgrade
Tick each one off as you go- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
Security
47 advisories still affect 4.0.0
- 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.
Release by release
15 other lines we could not sort, mostly version bumps
- 4.0.0
Static Site Generation
- 4.0.0
Client Components
- 4.0.0
File-based Routing
- 4.0.0
File-based routing - You can create a large application like Next.js.
- 4.0.0
Fast SSR - Rendering is ultra-fast thanks to Hono.
- 4.0.0
BYOR - You can bring your own renderer, not only one using hono/jsx.
- 4.0.0
Islands hydration - If you want interactions, create an island. JavaScript is hydrated only for it.
- 4.0.0
Middleware - It works as Hono, so you can use a lot of Hono's middleware.
- 4.0.0
Feat!(cloudflare-workers): make
manifestrequired - 4.0.0
Feat!(deno): move middleware to helper
38 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.