ClaudeHonoMar 4, 2026, 9:40 AM

v4.12.5

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-sonnet-4-20250514

Hono v4.12.5 - Bug Fixes for Request Params, JWT Validation, and JSX

Key Points

  • Fixed request param() type safety issue
  • Enhanced JWT token validation security
  • Resolved JSX controller state error

Summary

Hono v4.12.5 is a patch release that addresses critical bugs in request parameter handling, JWT token validation, and JSX rendering. This release includes fixes from new contributors and updates to development tooling.

Key Points

  • Request Parameter Fix: Fixed param() function to properly return string | undefined when path type is any
  • JWT Security Enhancement: Added token format validation in JWT decode and decodeHeader functions
  • JSX Stability: Resolved "Invalid state: Controller is already closed" error in JSX rendering
  • Development Tools: Upgraded ESLint configuration for improved code quality
  • Community Growth: Three new contributors joined the project with meaningful contributions

Full Translation

Translations

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

claudejamodel: claude-sonnet-4-20250514

v4.12.5

v4.12.5

リリース日: 2026年3月4日 09:40 メインブランチからのコミット数: このリリース以降24コミット

変更内容

修正

  • request: パスタイプがanyの場合、param()からstring | undefinedを返すように修正 by @andrewdamelio in #4723
  • jwt: decodeおよびdecodeHeader関数でトークン形式の検証を追加 by @otoneko1102 in #4752
  • jsx: "Invalid state: Controller is already closed"エラーを修正 by @gaearon in #4770

その他

  • eslint: @hono/eslint-configをアップグレード by @BarryThePenguin in #4781

新規コントリビューター

  • @andrewdamelio が #4723 で初回コントリビュート
  • @otoneko1102 が #4752 で初回コントリビュート
  • @gaearon が #4770 で初回コントリビュート

完全な変更履歴

v4.12.4...v4.12.5

コントリビューター

gaearon、BarryThePenguin、その他2名のコントリビューター

コミュニティの反応

  • 👍 1件
  • 🎉 1件
  • ❤️ 2件
  • 🚀 5件

合計8名がリアクション

v4.12.5 | Hono | DocsDigest