v4.6.10

honojs/honov4.6.10Nov 13, 2024by yusukebe

AI Summary

This is a patch release (v4.6.10) focused on bug fixes, performance optimizations, and refactoring. Key improvements include fixing missing JSR exports, adding a guard for serveStatic to prevent reading empty folders, preventing c.req.routeIndex from being changed in the combine middleware, and optimizing the trie-router for better performance.

Key Highlights

  • Fixed missing JSR exports (PR #3636)
  • Added guard in serveStatic to prevent reading empty folders (PR #3639)
  • Fixed middleware/combine to prevent c.req.routeIndex from being changed (PR #3663)
  • Optimized trie-router by removing unnecessary processes (PR #3647)
  • Reduced minified bundle size by using `#` for private props in router (PR #3660)

Full Release Notes

## What's Changed
* chore: format `no-response.yml` by @yusukebe in https://github.com/honojs/hono/pull/3622
* ci(deno): merge deno runtime coverage by @usualoma in https://github.com/honojs/hono/pull/3632
* chore: bump `devDependencies` by @EdamAme-x in https://github.com/honojs/hono/pull/3633
* fix(jsr): fix missing exports by @EdamAme-x in https://github.com/honojs/hono/pull/3636
* refactor(hono-base): use object abbreviation notation by @EdamAme-x in https://github.com/honojs/hono/pull/3640
* chore(build): validate if exporting is correct in `package.json` and `jsr.json` by @EdamAme-x in https://github.com/honojs/hono/pull/3638
* fix(serveStatic): add guard to prevent reading empty folders by @oussamasf in https://github.com/honojs/hono/pull/3639
* docs(service-worker): fix module docs for service worker adapter by @rwv in https://github.com/honojs/hono/pull/3645
* refactor(hono-base): remove unneeded processes and variables by @EdamAme-x in https://github.com/honojs/hono/pull/3649
* perf(trie-router): optimize and remove unnecessary processes by @EdamAme-x in https://github.com/honojs/hono/pull/3647
* refactor(router): use `#` for private props to reduce the minified bundle size by @EdamAme-x in https://github.com/honojs/hono/pull/3660
* fix(middleware/combine): prevent `c.req.routeIndex` from being changed by @usualoma in https://github.com/honojs/hono/pull/3663

## New Contributors
* @oussamasf made their first contribution in https://github.com/honojs/hono/pull/3639
* @rwv made their first contribution in https://github.com/honojs/hono/pull/3645

**Full Changelog**: https://github.com/honojs/hono/compare/v4.6.9...v4.6.10