v4.11.2
honojs/honov4.11.2Dec 25, 2025by yusukebe
AI Summary
Performance and refactoring release with multiple type optimizations and documentation improvements.
Key Highlights
- Fixed validator preserving literal union types in input type inference
- Refactored HonoURL types
- Reduced Simplify in ToSchema for performance
- Optimized MergeMiddlewareResponse type
New Features
- Type optimization: ToSchema Simplify reduction
- Type optimization: MergeMiddlewareResponse
- Bug fix: Validator literal union types
Full Release Notes
## What's Changed * docs: improve grammar in contributing documentation by @Ishiezz in https://github.com/honojs/hono/pull/4581 * fix(validator): preserve literal union types in input type inference by @yusukebe in https://github.com/honojs/hono/pull/4583 * chore: bump typescript-go preview for accurate benchmarking by @sushichan044 in https://github.com/honojs/hono/pull/4586 * refactor(hono-base): add type annotations by @yusukebe in https://github.com/honojs/hono/pull/4591 * refactor(client): refactor `HonoURL` types by @yusukebe in https://github.com/honojs/hono/pull/4592 * perf(types): reduce `Simplify` in `ToSchema` by @yusukebe in https://github.com/honojs/hono/pull/4597 * perf(types): optimize `MergeMiddlewareResponse` type by @yusukebe in https://github.com/honojs/hono/pull/4598 ## New Contributors * @Ishiezz made their first contribution in https://github.com/honojs/hono/pull/4581 **Full Changelog**: https://github.com/honojs/hono/compare/v4.11.1...v4.11.2