v4.7.3

honojs/honov4.7.3Mar 5, 2025by yusukebe

AI Summary

This is a patch release (v4.7.3) focusing on bug fixes, refactoring, and performance improvements. Key fixes include TypeScript 5.7 support for Deno 2.2, BunWebSocketHandler export, and preventing options object mutation in hono-base, along with a performance optimization for URL parameter checking.

Key Highlights

  • Added TypeScript 5.7 support for Deno 2.2 compatibility
  • Fixed export of BunWebSocketHandler for Bun runtime
  • Fixed hono-base to prevent options object mutation
  • Reduced bundle size for pattern-router with improved comments
  • Performance improvement: short-circuited regex in URL parameter checking

Full Release Notes

## What's Changed
* refactor: support TypeScript 5.7 for Deno 2.2 by @yusukebe in https://github.com/honojs/hono/pull/3939
* refactor(pattern-router): reduce bundle size and fix comments by @EdamAme-x in https://github.com/honojs/hono/pull/3936
* fix(bun): export `BunWebSocketHandler` by @yusukebe in https://github.com/honojs/hono/pull/3964
* fix(hono-base): prevent options object mutation by @yusukebe in https://github.com/honojs/hono/pull/3975
* perf(utils/url): Short circuit the regex in checkOptionalParameter by @csainty in https://github.com/honojs/hono/pull/3974

## New Contributors
* @csainty made their first contribution in https://github.com/honojs/hono/pull/3974

**Full Changelog**: https://github.com/honojs/hono/compare/v4.7.2...v4.7.3