v4.12.8

honojs/honov4.12.8Mar 14, 2026by yusukebe

AI Summary

This release includes two bug fixes: one for MIME type handling normalization and one for bearer authentication security. The MIME extension is now normalized to lowercase before checking, and regex metacharacters are properly escaped in bearer auth.

Key Highlights

  • Fixed MIME extension normalization to lowercase before MIME check
  • Fixed bearer-auth to escape regex metacharacters in prefix option

Full Release Notes

## What's Changed
* fix(utils/mime): Normalize input extension to lowercase before MIME check by @TheEssem in https://github.com/honojs/hono/pull/4800
* fix(bearer-auth): escape regex metacharacters in bearer auth prefix option by @otoneko1102 in https://github.com/honojs/hono/pull/4750

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

**Full Changelog**: https://github.com/honojs/hono/compare/v4.12.7...v4.12.8