v4.13.8

honojs/honov4.13.8Sep 15, 2026by yusukebe

Upgrading?

AI Summary

This release focuses on performance optimizations for the JSX/DOM renderer and fixes several bugs related to Accept header parsing, AWS Lambda streaming, and request body caching. It also includes updates to documentation to improve code clarity.

Key Highlights

  • Optimized JSX/DOM performance by reducing lookup work for large keyed updates and optimizing matching-head child lookup.
  • Fixed AWS Lambda to correctly respect backpressure when streaming response bodies.
  • Corrected Accept header parsing to treat the 'q' parameter case-insensitively and handle quality values (clamping negative values to 0).
  • Fixed request media type preservation when reusing cached request bodies.

Full Release Notes

## What's Changed
* docs: fix typos in code comments and link third-party middleware section in https://github.com/honojs/hono/pull/5343
* perf(jsx/dom): reduce lookup work for large keyed updates in https://github.com/honojs/hono/pull/5340
* fix(aws-lambda): respect backpressure when streaming the response body in https://github.com/honojs/hono/pull/5351
* fix(accepts, language): skip accept entries with quality 0 when matching in https://github.com/honojs/hono/pull/5311
* fix(accept): treat the q parameter name as case-insensitive in https://github.com/honojs/hono/pull/5349
* fix(accept): clamp a negative q to 0, not 1 in https://github.com/honojs/hono/pull/5357
* fix(request): keep the request media type when reusing a cached body in https://github.com/honojs/hono/pull/5366
* docs(combine): fix except() JSDoc param and add missing @returns in https://github.com/honojs/hono/pull/5346
* perf(jsx/dom): optimize matching-head child lookup during reconciliation in https://github.com/honojs/hono/pull/5329

**Full Changelog**: https://github.com/honojs/hono/compare/v4.13.7...v4.13.8

Related Repositories