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
- @mishra-prabhakar made their first contribution in #556
Full Changelog: v2.2.1...v2.2.2