hono
4.13.19 · 16 Nov 2026MIT114.5M / weekRepositoryHomepagenpmAtom feed
Upgrading hono From 4.7.11 to 4.8.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 2
- changes to make
- 0
- advisories fixed
- 13
- new
- 5
- fixes
Before you upgrade
Tick each one off as you go- Deprecated4.8.0
- Deprecated4.8.0
Security
49 advisories still affect 4.8.0
- 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
- Hono: `css` helper does not escape a closing tag split between the template and an interpolated value, allowing HTML injectionlow · GHSA-3gg2-335m-rxc6
Upgrading to 4.13.16 clears them.
Release by release
- Deprecated
The
app.fire()method is now deprecated in favor of this approach. - Deprecated
hono-base: Mark
app.fire()as deprecated - New
middleware/cache: Add
cacheableStatusCodesoption - New
hono/jwk: Extended with
allow_anonoption & passingContextto callbacks
- Deprecated
12 other lines we could not sort, mostly version bumps
- 4.8.0
Route Helper
- 4.8.0
JWT Custom Header Location
- 4.8.0
JSX Streaming Nonce Support
- 4.8.0
CORS Dynamic allowedMethods
- 4.8.0
JWK Allow Anonymous Access
- 4.8.0
Cache Status Codes Option
- 4.8.0
Service Worker
fire()Function - 4.8.0
SSG Plugin System
- 4.8.0
MCP Middleware
- 4.8.0
UA Blocker Middleware
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.