OpenAIHonoJul 18, 2026, 11:16 PM

v4.12.31

A condensed section focused on the key takeaways first.

Original Post

Quick Digest

Summary

A condensed section focused on the key takeaways first.

openaienmodel: gpt-5-mini-2025-08-07

v4.12.31

Key Points

  • multipart boundary fix
  • reuse cached FormData
  • sse emits retry 0

Summary

Patch release (2026-07-18) containing several bug fixes, a small refactor, and a benchmark addition. Most changes are focused on request/body handling, SSE behavior, and test/benchmark improvements.

Key Points

  • Fix: cloneRawRequest had a multipart boundary mismatch — cloning multipart requests now preserves the correct boundary to avoid corrupted multipart parsing.
  • Fix: parseBody() (utils/body) now reuses a cached FormData instance to avoid double parsing and reduce overhead.
  • Fix: SSE now emits the retry field even when retry is 0, ensuring clients receive an explicit 0 retry value.
  • Bench: added an app.fetch() overhead benchmark to help measure framework/host fetch cost.
  • Refactor/test: removed a FIXME in the aws-lambada TypeScript check and adjusted response helper tests to assert headers case-insensitively; small validator test identifier fix.
  • Contributor: changes authored by yusukebe (multiple PRs).

Upgrade notes

  • Recommended patch upgrade for applications that clone multipart requests or use SSE with explicit zero retry behavior.
  • No breaking changes reported; mostly bug fixes and test/benchmark additions.

Full Translation

Translations

A translation section that keeps the flow of the original article.

openaijamodel: gpt-5-mini-2025-08-07

v4.12.31

リリース: v4.12.31

  • 公開日時: 2026-07-18T23:16:12.000Z
  • リリース者: yusukebe
  • コミット: cadff88

変更点

  • test(context): assert case-insensitive header names in response helpers — 作成者: @yusukebe (PR #5116)
  • chore(benchmark): add app.fetch() overhead benchmark — 作成者: @yusukebe (PR #5117)
  • refactor(aws-lambada): remove FIXME in @ts-expect-error — 作成者: @yusukebe (PR #5130)
  • fix(utils/body): reuse cached formData in parseBody() — 作成者: @yusukebe (PR #5131)
  • fix(request): fix multipart boundary mismatch in cloneRawRequest — 作成者: @yusukebe (PR #5133)
  • fix(sse): emit retry feild when retry is 0 — 作成者: @yusukebe (PR #5135)
  • test(validator): fix misspelled identifier in transform type test — 作成者: @yusukebe (PR #5136)

フルチェンジログ

Full Changelog : v4.12.30...v4.12.31

コントリビューター

  • yusukebe

アセット

  • Assets: 2

リアクション

  • 🚀 ×2 — marr-cloud と CheapNightbot がロケット絵文字で反応しました

(注: GitHub のページ読み込みに関するメッセージやナビゲーション要素は省略しています。上記はこのリリースの主要な変更点とメタ情報です。)