Key Points
- Response type inference fix for app.on handlers
- Trailing-slash skip option added
- Cache onCacheNotAvailable option introduced
Summary
Hono v4.12.13 includes type inference improvements, trailing slash handling enhancements, and cache management options.
Key Points
- Type Inference Fix: Improved response type inference from the last handler in
app.on9-/10-handler overloads - Trailing Slash Enhancement: Added
skipoption to trailing-slash middleware for more flexible URL handling - Cache Management: Introduced
onCacheNotAvailableoption for better cache availability handling - Contributors: Welcome to first-time contributor @T4ko0522