v4.13.1

FireRedTeam/FireRedVADv4.13.1Aug 7, 2026by yusukebe

AI Summary

This release focuses on fixing bugs in the trie-router, stream utilities, and ETag middleware to improve stability and correctness.

Key Highlights

  • Fixed trie-router to count every slash consumed by a pattern.
  • Re-acquired writer lock when pipe() throws to prevent deadlocks.
  • Fixed ETag middleware to skip unsafe methods or error responses in non-* cases.

Full Release Notes

## What's Changed
* fix(trie-router): count every slash a pattern consumes by @Jaybhade in https://github.com/honojs/hono/pull/5189
* fix(utils/stream): re-acquire writer lock when pipe() throws by @Sriharsha-dev369 in https://github.com/honojs/hono/pull/4988
* fix(etag): skip unsafe methods or error responses on non-* case by @na-trium-144 in https://github.com/honojs/hono/pull/5196

## New Contributors
* @Jaybhade made their first contribution in https://github.com/honojs/hono/pull/5189
* @Sriharsha-dev369 made their first contribution in https://github.com/honojs/hono/pull/4988

**Full Changelog**: https://github.com/honojs/hono/compare/v4.13.0...v4.13.1