v4.12.5
honojs/honov4.12.5Mar 4, 2026by yusukebe
AI Summary
This release includes bug fixes for request parameter types, JWT token validation, and JSX state handling. It also upgrades the ESLint configuration. The release improves type safety and adds token format validation for JWT operations.
Key Highlights
- Fixed param() to return string | undefined when path type is any
- Added token format validation in JWT decode and decodeHeader functions
- Fixed 'Invalid state: Controller is already closed' error in JSX
- Upgraded @hono/eslint-config
New Features
- JWT token format validation in decode and decodeHeader functions
Full Release Notes
## What's Changed * fix(request): return `string | undefined` from param() when path type is any by @andrewdamelio in https://github.com/honojs/hono/pull/4723 * fix(jwt): validate token format in decode and decodeHeader functions by @otoneko1102 in https://github.com/honojs/hono/pull/4752 * fix(jsx): Fix "Invalid state: Controller is already closed" by @gaearon in https://github.com/honojs/hono/pull/4770 * chore(eslint): upgrade `@hono/eslint-config` by @BarryThePenguin in https://github.com/honojs/hono/pull/4781 ## New Contributors * @andrewdamelio made their first contribution in https://github.com/honojs/hono/pull/4723 * @otoneko1102 made their first contribution in https://github.com/honojs/hono/pull/4752 * @gaearon made their first contribution in https://github.com/honojs/hono/pull/4770 **Full Changelog**: https://github.com/honojs/hono/compare/v4.12.4...v4.12.5