v4.12.6

honojs/honov4.12.6Mar 10, 2026by yusukebe

AI Summary

This release includes multiple fixes including ReDoS mitigation for accept header parsing, JSX improvements to align with React 19, build configuration enhancements, and lambda-edge support. It also adds function-based options for JSX renderer.

Key Highlights

  • Fixed accept header regex split to mitigate ReDoS vulnerability
  • Fixed JSX link hoisting and dedupe to align with React 19
  • Added tsconfig project references for build improvements
  • Added tsconfig.spec.json
  • Fixed lambda-edge to avoid callback handler deprecation on NODEJS_24_X

New Features

  • Function-based options support for jsx-renderer

Full Release Notes

## What's Changed
* fix(accept): replace regex split to mitigate ReDoS by @EdamAme-x in https://github.com/honojs/hono/pull/4758
* fix(jsx): align link hoisting and dedupe with React 19 by @usualoma in https://github.com/honojs/hono/pull/4792
* chore(builld): tsconfig project references by @BarryThePenguin in https://github.com/honojs/hono/pull/4797
* chore: add `tsconfig.spec.json` by @yusukebe in https://github.com/honojs/hono/pull/4798
* feat(jsx-renderer): support function-based options by @3w36zj6 in https://github.com/honojs/hono/pull/4780
* fix(lambda-edge): avoid callback handler deprecation on NODEJS_24_X by @t0waxx in https://github.com/honojs/hono/pull/4782

## New Contributors
* @t0waxx made their first contribution in https://github.com/honojs/hono/pull/4782

**Full Changelog**: https://github.com/honojs/hono/compare/v4.12.5...v4.12.6