ClaudeHonoMar 23, 2026, 10:39 AM

v4.12.9

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.9 - Bug Fixes and Type Improvements

Key Points

  • Fixed critical TypeError in request body parsing
  • Added PickResponseByStatusCode type for better TypeScript support
  • Resolved CORS credential handling with wildcard origins

Summary

Hono v4.12.9 is a maintenance release that addresses several critical bug fixes across request handling, SSG context, service worker behavior, and CORS functionality. The release also introduces improved TypeScript types for better client-side development experience.

Key Points

  • Request Handling: Fixed TypeError in parseBody by removing it from bodyCache
  • TypeScript Enhancement: Added PickResponseByStatusCode type for improved client-side type safety
  • SSG Context: Fixed SSG context passing to forGetInfoURLRequest function
  • Service Worker: Aligned fire() fallback behavior with handle() method for consistency
  • CORS Security: Fixed origin reflection when credentials are enabled with wildcard configuration
  • Community: Welcomed 2 new contributors to the project

Full Translation

Translations

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

claudejamodel: claude-sonnet-4-20250514

v4.12.9

v4.12.9

リリース日: 2026年3月23日 10:39

変更内容

修正

  • request: TypeErrorを防ぐためにbodyCacheからparseBodyを削除 (#4807)
  • ssg: forGetInfoURLRequestにSSG_CONTEXTを渡すように修正 (#4810)
  • service-worker: fire()のフォールバック動作をhandle()と一致するように修正 (#4821)
  • cors: credentialsがtrueでワイルドカードが使用されている場合にリクエストオリジンを反映するように修正 (#4813)

新機能

  • client: PickResponseByStatusCode型を追加 (#4791)

新規コントリビューター

  • @yuintei が初回コントリビューション (#4810)
  • @ctonneslan が初回コントリビューション (#4813)

フルチェンジログ

v4.12.8...v4.12.9

コントリビューター

  • yusukebe
  • yuintei

リアクション統計

  • 👍 7件の反応
  • ❤️ 2件の反応
  • 🚀 3件の反応
  • 合計10名が反応