Skip to content

v2.2.2

Compare
Choose a tag to compare
@yusukebe yusukebe released this 27 Sep 13:04
· 1571 commits to main since this release

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