v4.6.16
honojs/honov4.6.16Jan 5, 2025by yusukebe
AI Summary
This is a patch release (v4.6.16) for the Hono web framework that includes three bug fixes. The release addresses issues with JSX/DOM memoization, context body handling, and type definitions for the `app.on()` method.
Key Highlights
- Fixed JSX/DOM memoization issue where cached results were incorrectly returned when context changed
- Fixed context handling to properly handle single body override when multiple return values exist
- Corrected TypeScript types for `app.on(method,path[],middleware,handler)` method signature
Full Release Notes
## What's Changed * fix(jsx/dom): should not return memoized result when context is changed by @usualoma in https://github.com/honojs/hono/pull/3792 * fix(context): single body overrides other returns by @askorupskyy in https://github.com/honojs/hono/pull/3800 * fix(types): correct `app.on(method,path[],middleware,handler)` type by @yusukebe in https://github.com/honojs/hono/pull/3802 **Full Changelog**: https://github.com/honojs/hono/compare/v4.6.15...v4.6.16