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
parseBodyby removing it frombodyCache - TypeScript Enhancement: Added
PickResponseByStatusCodetype for improved client-side type safety - SSG Context: Fixed SSG context passing to
forGetInfoURLRequestfunction - Service Worker: Aligned
fire()fallback behavior withhandle()method for consistency - CORS Security: Fixed origin reflection when credentials are enabled with wildcard configuration
- Community: Welcomed 2 new contributors to the project