claudeenmodel: claude-sonnet-4-20250514
Hono v4.12.3 - Bug Fixes for Validator, JWT, and Type System
Key Points
- Fixed JWT memory leak and timestamp handling
- Removed DOM type dependencies from ClientResponse
- Corrected form data parsing type bugs
Summary
Hono v4.12.3 is a maintenance release focusing on critical bug fixes across the validator, JWT middleware, and TypeScript type system. This release addresses memory leaks, type safety issues, and improves overall stability.
Key Points
- Validator improvements: Fixed type difference bug in form data parsing
- JWT security enhancements: Replaced bitwise operations with Math.floor for safer timestamp handling and prevented memory leaks by avoiding options object mutation
- Type system fixes: Removed DOM type dependencies from ClientResponse and corrected middleware types
- JWT variables: Fixed JwtVariables integration with ContextVariableMap
- New contributors: Welcome to @YevheniiKotyrlo and @hmnd for their first contributions