v4.6.14
honojs/honov4.6.14Dec 14, 2024by yusukebe
AI Summary
This is a patch release (v4.6.14) focusing on performance optimizations for the routing layer and bug fixes. The release includes performance improvements for both pattern-router and trie-router, a fix for the MIME type of application/json to remove the incorrect charset parameter, and a fix to prevent console.error(undefined) when streaming pipes are aborted.
Key Highlights
- Performance improvements in pattern-router when creating null objects
- Performance improvements in trie-router by avoiding spread operator for Object.create(null)
- Fixed MIME type of application/json by removing incorrect charset parameter
- Fixed streaming to prevent console.error(undefined) when pipe is aborted
- Two new contributors: @SaekiTominaga and @aantthony
New Features
- Performance optimization for pattern-router (null object creation)
- Performance optimization for trie-router (avoiding spread operator)
- Fixed application/json MIME type to not include charset parameter
- Fixed streaming error handling to prevent console.error(undefined) on pipe abort
Full Release Notes
## What's Changed * perf(pattern-router): improve performance when create null object by @EdamAme-x in https://github.com/honojs/hono/pull/3730 * perf(trie-router): avoid calling spread operator for `Object.create(null)` by @usualoma in https://github.com/honojs/hono/pull/3735 * fix: Remove `charset` parameter from MIME type of `application/json` by @SaekiTominaga in https://github.com/honojs/hono/pull/3743 * fix(streaming) Prevent console.error(undefined) when pipe is aborted by @aantthony in https://github.com/honojs/hono/pull/3747 ## New Contributors * @SaekiTominaga made their first contribution in https://github.com/honojs/hono/pull/3743 * @aantthony made their first contribution in https://github.com/honojs/hono/pull/3747 **Full Changelog**: https://github.com/honojs/hono/compare/v4.6.13...v4.6.14