npm hono 2.1.4
v2.1.4

latest releases: 4.6.2, 4.6.1, 4.6.0...
2 years ago

Summary

Performance tuning!

This release includes performance improvement. "Hello World" will be 11% faster and c.req.query 25% faster on Bun. Of course, it becomes faster on Deno.

What's Changed

  • perf: do not compose if it has only one handler by @yusukebe in #493
  • fix: fixed the issue logger called twice by @yusukebe in #494
  • perf(compose): Remove await composed() from hono.ts. by @usualoma in #495
  • perf(compose): Always return a Promise without async. by @usualoma in #496
  • perf(req): improve c.req.query performance by @yusukebe in #498
  • Fix regexp ambigous route by @usualoma in #499

Full Changelog: v2.1.3...v2.1.4

Don't miss a new hono release

NewReleases is sending notifications on new releases.