v4.7.11

honojs/honov4.7.11May 31, 2025by yusukebe

AI Summary

This is a minor patch release (v4.7.11) for the Hono web framework focused on bug fixes and CI/benchmark improvements. Key fixes include proper 304 response handling for weak ETags in the ETag middleware and using `c.newResponse()` for error responses in the base handler.

Key Highlights

  • Fixed ETag middleware to return 304 when weak ETag is passed in 'If-None-Match' header
  • Fixed base response handling to use `c.newResponse()` for error.getResponse()
  • Added URLSearchParams to query-params benchmark
  • Added type benchmark with typescript-go preview
  • Added Deepwiki link to README documentation

Full Release Notes

## What's Changed
* chore(benchmark): add `URLSearchParams` to the query-params benchmark by @yusukebe in https://github.com/honojs/hono/pull/4149
* ci: skip lib check in type check benchmark by @sushichan044 in https://github.com/honojs/hono/pull/4162
* CI: add type benchmark with typescript-go preview by @sushichan044 in https://github.com/honojs/hono/pull/4161
* chore: ignore CLAUDE.local.md in gitignore by @yusukebe in https://github.com/honojs/hono/pull/4176
* fix(middleware/etag): should return 304 when weak etag is passed in  'If-None-Match' by @techfish-11 in https://github.com/honojs/hono/pull/4171
* docs(readme): Added Deepwiki link in README by @MathurAditya724 in https://github.com/honojs/hono/pull/4179
* fix(base): use `c.newResponse()` for the response of `err.getResponse()` by @yusukebe in https://github.com/honojs/hono/pull/4181

## New Contributors
* @techfish-11 made their first contribution in https://github.com/honojs/hono/pull/4171

**Full Changelog**: https://github.com/honojs/hono/compare/v4.7.10...v4.7.11