hono
4.13.19 · 16 Nov 2026MIT112.7M / weekRepositoryHomepagenpmAtom feed
Upgrading hono From 1.3.6 to 1.4.0
1 release in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 2
- new
- 3
- fixes
Before you upgrade
Tick each one off as you go- Breaking1.4.0
Security
44 advisories still affect 1.4.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 includes some breaking changes.
- New
Adoption of a new sort order for routing in RegExpRouter
- New
c.resis available before dispatching - Fixed
context: Initialize status and header values after
newResponse - Fixed
jwt: Ensure the request does not continue if the jwt token is invalid or expired
- Fixed
router: Fixed trie-router bugs
- Breaking
1 other line we could not sort, mostly version bumps
- 1.4.0
feat(trie-router) : Routing with order specification
1 internal line (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.