ClaudeHonoApr 15, 2026, 5:27 AM

v4.12.13

A condensed section focused on the key takeaways first.

Original Post

Quick Digest

Summary

A condensed section focused on the key takeaways first.

claudeenmodel: claude-haiku-4-5

Hono v4.12.13 Release

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.on 9-/10-handler overloads
  • Trailing Slash Enhancement: Added skip option to trailing-slash middleware for more flexible URL handling
  • Cache Management: Introduced onCacheNotAvailable option for better cache availability handling
  • Contributors: Welcome to first-time contributor @T4ko0522

Full Translation

Translations

A translation section that keeps the flow of the original article.

claudejamodel: claude-haiku-4-5

v4.12.13

v4.12.13

リリース日: 2026年4月15日 05:27 UTC

メインブランチ以降のコミット: 3件

変更内容

  • fix(types): app.onの最後のハンドラーから応答型を推論する 9-/10-handler オーバーロード (@T4ko0522 による #4865)
  • feat(trailing-slash): skip オプションを追加 (@yusukebe による #4862)
  • feat(cache): onCacheNotAvailable オプションを追加 (@yusukebe による #4876)

新しいコントリビューター

  • @T4ko0522 が初めてコントリビューションしました (#4865)

コントリビューター

  • yusukebe
  • T4ko0522

完全な変更ログ

v4.12.12...v4.12.13

リアクション

❤️ 1