v4.7.8

honojs/honov4.7.8Apr 28, 2025by yusukebe

AI Summary

Hono v4.7.8 is a minor release featuring WebSocket enhancements and a new mount option. The update allows using upgradeWebSocket directly in handlers and introduces a replaceRequest: false option for the .mount method, while also updating the wrangler dependency to 4.12.0.

Key Highlights

  • Added ability to use upgradeWebSocket directly in handlers for WebSocket connections
  • Introduced replaceRequest: false option for .mount method in hono-base
  • Updated wrangler dependency to version 4.12.0
  • Welcomed first contribution from new contributor @geelen

New Features

  • Allow using upgradeWebSocket in handler for WebSocket upgrades
  • Added replaceRequest: false option for .mount method in hono-base

Full Release Notes

## What's Changed
* chore(deps): bump wrangler to `4.12.0` by @yusukebe in https://github.com/honojs/hono/pull/4096
* feat(ws): allow to use upgradeWebSocket in handler by @nakasyou in https://github.com/honojs/hono/pull/3942
* feat(hono-base): Added `replaceRequest: false` option for `.mount` by @geelen in https://github.com/honojs/hono/pull/4113

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

**Full Changelog**: https://github.com/honojs/hono/compare/v4.7.7...v4.7.8