npm hono 2.2.2
v2.2.2

latest releases: 4.6.8, 4.6.7, 4.6.6...
2 years ago

Summary

Bug fixes, friendly error messages, and performance tuning. It will be about 16% faster!! on Bun with a single handler that does not use async such as "Hello World".

What's Changed

  • perf: remove async from dispatch; will be 16% faster by @yusukebe in #550
  • fix(types): enable types for c.env when using validator by @yusukebe in #553
  • use console.trace to improve error handler by @mishra-prabhakar in #556
  • fix(validator): make isOptional rule works correctly by @yusukebe in #555
  • refactor(serve-static): use context/next instead of MiddlewareHandler by @yusukebe in #559

New Contributors

Full Changelog: v2.2.1...v2.2.2

Don't miss a new hono release

NewReleases is sending notifications on new releases.