Packages

hono

4.13.19 · 16 Nov 2026MIT113.6M / weekRepositoryHomepagenpmAtom feed

Your version

2.0.9

18 Aug 2022Where it was published

2.7.8 is the newest release of 2.x.

In short

1 faster2 fixed2 internal

Security

44 advisories affect 2.0.9; 4.13.16 fixes them

39 more

Release note

Summary

Performance improvement - We have revised the await/async process so that it is faster in some situations.

It has been 8-9% faster in the benchmark:

hono - trie-router(default) x 393,919 ops/sec ±4.52% (86 runs sampled)
hono - regexp-router x 478,140 ops/sec ±2.85% (83 runs sampled)
hono optimized - trie-router(default) x 427,940 ops/sec ±4.32% (81 runs sampled)
hono optimized - regexp-router x 512,488 ops/sec ±5.28% (75 runs sampled)
Fastest is hono optimized - regexp-router
✨  Done in 28.36s.

On Bun, it has been 15% faster.

Before: Requests/sec: 57043.0018
After:  Requests/sec: 65658.9860

What's Changed

  • context: Fixed ContextVariableMap is not enabled in built code

  • compose: Optimize await

  • compose: Support a handler that non-async and returning a promise.

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.