hono
4.13.19 · 16 Nov 2026MIT113.6M / weekRepositoryHomepagenpmAtom feed
Upgrading hono From 2.0.9 to 2.1.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 2
- changes to make
- 0
- advisories fixed
- 1
- new
- 0
- fixes
Start here
Before you upgrade
Tick each one off as you go- Breaking2.1.0
- Breaking2.1.0
Security
44 advisories still affect 2.1.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
- Breaking
This release has the breaking changes.
- Breaking
- New
Enable adding types to
c.set/c.getby passing the Generics tonew Hono. #472
- Breaking
2 other lines we could not sort, mostly version bumps
- 2.1.0
TrieRouter is 9~10% faster.
- 2.1.0
c.req.parseBodyparses only FormData. Does not parse JSON, text, or ArrayBuffer. #487
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.