v4.12.22
Zipstack/unstractv4.12.22May 22, 2026by yusukebe
AI Summary
This update upgrades the test framework to Vitest v4 and improves compression behavior by respecting the Accept-Encoding header while adding support for MsgPack content types.
Key Highlights
- Updated Vitest to version 4
- Fixed MIME charset specification logic per MIME type
- Compression now respects Accept-Encoding header when encoding option is set
- Added MsgPack as a compressible content type
New Features
- MsgPack support for compression
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