v4.6.8
honojs/honov4.6.8Oct 29, 2024by yusukebe
AI Summary
This is a patch release focusing on bug fixes across multiple areas including WebSocket streaming, Bun hot reload support, type consistency improvements, and a new header suggestion feature. The release addresses issues in bun/ws, utils/cookie, websocket, devcontainer, and types.
Key Highlights
- Fixed WebSocket streaming to prevent sending entire buffer when streaming Uint8Array chunks
- Added support for Bun's `--hot` reload feature
- Fixed type consistency by replacing Hono with HonoBase
- Added header name suggestions and combined them into one file
- Fixed typo in CookieOptions (partitioned) and WSContextInit type
New Features
- Header suggestion feature - suggests header names and combines them in one file
Full Release Notes
## What's Changed * fix(bun/ws): fix invalid types by @nakasyou in https://github.com/honojs/hono/pull/3562 * fix(utils/cookie): partitioned typo in CookieOptions by @imcotton in https://github.com/honojs/hono/pull/3566 * fix(websocket): Fix typo in WSContextInit type by @Ariel-Moroshko in https://github.com/honojs/hono/pull/3575 * fix(websocket): prevent sending entire buffer when streaming Uint8Array chunks by @Ariel-Moroshko in https://github.com/honojs/hono/pull/3570 * fix(bun/ws): supoort `--hot` by @nakasyou in https://github.com/honojs/hono/pull/3576 * feat(header): suggest name of header and combine in one file by @EdamAme-x in https://github.com/honojs/hono/pull/3577 * fix(devcontainer): remove unknown flag on docker-compose by @EdamAme-x in https://github.com/honojs/hono/pull/3582 * fix(types): replace Hono with HonoBase to get better consistency of types by @m-shaka in https://github.com/honojs/hono/pull/3580 ## New Contributors * @Ariel-Moroshko made their first contribution in https://github.com/honojs/hono/pull/3575 **Full Changelog**: https://github.com/honojs/hono/compare/v4.6.7...v4.6.8