v4.12.31

xlmnxp/blue-recorderv4.12.31Jul 18, 2026by yusukebe

AI Summary

This release focuses on improving test robustness, adding performance benchmarks, and resolving bugs related to multipart requests, body parsing, and Server-Sent Events.

Key Highlights

  • Added overhead benchmark for `app.fetch()`
  • Fixed multipart boundary mismatch in `cloneRawRequest`
  • Fixed SSE retry field emission when retry is `0`
  • Refactored AWS Lambda module to remove FIXME

New Features

  • Added benchmark for `app.fetch()` overhead
  • Fixed SSE retry field emission logic
  • Optimized `parseBody()` by reusing cached formData

Full Release Notes

## What's Changed
* test(context): assert case-insensitive header names in response helpers by @yusukebe in https://github.com/honojs/hono/pull/5116
* chore(benchmark): add app.fetch() overhead benchmark by @yusukebe in https://github.com/honojs/hono/pull/5117
* refactor(aws-lambada): remove FIXME in `@ts-expect-error` by @yusukebe in https://github.com/honojs/hono/pull/5130
* fix(utils/body): reuse cached formData in `parseBody()` by @yusukebe in https://github.com/honojs/hono/pull/5131
* fix(request): fix multipart boundary mismatch in `cloneRawRequest` by @yusukebe in https://github.com/honojs/hono/pull/5133
* fix(sse): emit retry feild when retry is `0` by @yusukebe in https://github.com/honojs/hono/pull/5135
* test(validator): fix misspelled identifier in transform type test by @yusukebe in https://github.com/honojs/hono/pull/5136

**Full Changelog**: https://github.com/honojs/hono/compare/v4.12.30...v4.12.31