v4.12.22
medusajs/medusav4.12.22May 22, 2026by yusukebe
AI Summary
Updates to the testing framework and MIME handling, including msgpack support and WebSocket improvements.
Key Highlights
- Updated vitest to version 4.
- Improved MIME charset specification per type instead of mechanical detection.
- Added msgpack as a compressible content type.
- Fixed WebSocket subprotocol echoing in Deno environments.
New Features
- Msgpack support
- Respect Accept-Encoding when encoding option is set
Full Release Notes
## What's Changed * chore: update vitest to v4 and cleanups by @BlankParticle in https://github.com/honojs/hono/pull/4952 * fix(mime): specify charset parameter per MIME type instead of mechanical detection by @renatograsso10 in https://github.com/honojs/hono/pull/4912 * fix(compress): respect Accept-Encoding when encoding option is set by @LeSingh1 in https://github.com/honojs/hono/pull/4951 * fix(deno): echo negotiated WebSocket subprotocol in upgrade response by @ATOM00blue in https://github.com/honojs/hono/pull/4955 * feat: add msgpack as a compressible content type by @na-trium-144 in https://github.com/honojs/hono/pull/4957 ## New Contributors * @renatograsso10 made their first contribution in https://github.com/honojs/hono/pull/4912 * @LeSingh1 made their first contribution in https://github.com/honojs/hono/pull/4951 * @ATOM00blue made their first contribution in https://github.com/honojs/hono/pull/4955 * @na-trium-144 made their first contribution in https://github.com/honojs/hono/pull/4957 **Full Changelog**: https://github.com/honojs/hono/compare/v4.12.21...v4.12.22