v4.6.18
honojs/honov4.6.18Jan 23, 2025by yusukebe
AI Summary
This is a minor patch release focused on TypeScript type improvements and bug fixes. It includes performance optimizations for type utilities in `types.ts`, a fix for calculating Context<Env> type for each handler, and a correction to the factory.createMiddleware() type definition.
Key Highlights
- Performance improvements to TypeScript types (Utilities and ParamKey definitions)
- Fixed type calculation for Context<Env> for each handler
- Fixed type definition for factory.createMiddleware()
- All changes are TypeScript-related (types and factory)
Full Release Notes
## What's Changed * perf(types): improve Utilities in `types.ts` by @yusukebe in https://github.com/honojs/hono/pull/3836 * perf(types): define `ParamKey` simply by @yusukebe in https://github.com/honojs/hono/pull/3837 * fix(types): Calculate Context<Env> type for each handler by @sushichan044 in https://github.com/honojs/hono/pull/3675 * fix(factory): correct the type of `factory.createMiddleware()` by @yusukebe in https://github.com/honojs/hono/pull/3849 **Full Changelog**: https://github.com/honojs/hono/compare/v4.6.17...v4.6.18