v4.12.28
jianchang512/pyvideotransv4.12.28Jul 6, 2026by yusukebe
AI Summary
This is a maintenance release for the Hono web framework that addresses several critical bugs, including issues with WebSocket protocol reporting in Bun, static file serving, and AWS Lambda event detection.
Key Highlights
- Fix WebSocket subprotocol reporting for Bun runtime
- Fix circular dependency between body and request modules
- Fix AWS Lambda event detection logic
- Normalize Content-Type media type matching
- Fix serve-static handling of empty strings
New Features
- Improved WebSocket support for Bun
- Enhanced AWS Lambda compatibility
- Better request body normalization
Full Release Notes
## What's Changed * fix(serve-static): treat empty string content as found by @yusukebe in https://github.com/honojs/hono/pull/5062 * docs(MIGRATION): fix req.raw.headers reference (property, not method) by @EduardF1 in https://github.com/honojs/hono/pull/5047 * chore: don't publish `*.tsbuildinfo` by @yusukebe in https://github.com/honojs/hono/pull/5066 * fix(utils/body,validator): normalize Content-Type media type for case-insensitive matching by @yusukebe in https://github.com/honojs/hono/pull/5067 * fix: avoid circular dependency between body.ts and request.ts by @usualoma in https://github.com/honojs/hono/pull/5071 * fix(bun): report the requested subprotocol on WSContext.protocol by @greymoth-jp in https://github.com/honojs/hono/pull/5059 * chore: bump `devDependencies` by @yusukebe in https://github.com/honojs/hono/pull/5085 * fix(aws-lambda): detect V2 events by request context, not rawPath alone by @VihaanAgarwal in https://github.com/honojs/hono/pull/5033 * docs(context-storage): fix JSDoc by @yusukebe in https://github.com/honojs/hono/pull/5086 ## New Contributors * @EduardF1 made their first contribution in https://github.com/honojs/hono/pull/5047 * @greymoth-jp made their first contribution in https://github.com/honojs/hono/pull/5059 * @VihaanAgarwal made their first contribution in https://github.com/honojs/hono/pull/5033 **Full Changelog**: https://github.com/honojs/hono/compare/v4.12.27...v4.12.28