OpenAIHonoMay 5, 2026, 9:31 AM

v4.12.17

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.17 — bug fixes, CORS and types improvements

Key Points

  • Normalize SVG root attributes
  • Add atom+xml and rss+xml mappings
  • Make CORS origin optional

Summary

This patch release fixes several issues and improves TypeScript typings. Notable changes include normalizing SVG attributes on root JSX elements, adding Atom/RSS mime mappings for SSG, making CORS origin optional, and propagating middleware response types into app.on overloads.

Key Points

  • fix(jsx): normalize SVG attributes on the root element — prevents mismatched or non-normalized attribute names when rendering SVGs via JSX.
  • fix(ssg): add atom+xml and rss+xml to defaultExtensionMap — ensures SSG recognizes and serves Atom/RSS feed files with correct MIME types.
  • fix(cors): make origin optional in CORSOptions — allows omitting origin to rely on defaults or custom logic; no behavioral breaking change expected.
  • fix(types): propagate middleware response types to app.on overloads — improves TypeScript inference so handler response types flow through middleware to route handlers.
  • Contributors: small number of first-time contributors; patch release with no known breaking changes.

Upgrade guidance: install the patch release (4.12.17). Verify SVG rendering and any SSG feed endpoints, and recompile TypeScript to pick up improved typings.

Full Translation

Translations

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

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

v4.12.17

v4.12.17

  • リリース: v4.12.17
  • 公開日時: 2026-05-05T09:31:04.000Z
  • リリース者: yusukebe
  • コミット: ff2b3d3

変更点

  • fix(jsx): normalize SVG attributes on the root element — @kfly8 in #4893
  • fix(ssg): add atom+xml and rss+xml to defaultExtensionMap — @yuintei in #4899
  • fix(cors): make origin optional in CORSOptions — @truffle-dev in #4905
  • fix(types): propagate middleware response types to app.on overloads — @T4ko0522 in #4906

新しいコントリビューター

  • @kfly8 — 初めての貢献 (#4893)
  • @truffle-dev — 初めての貢献 (#4905)

フル変更履歴

  • v4.12.16...v4.12.17

コントリビューター

  • kfly8, yuintei, and 2 other contributors

アセット

  • 2

リアクション

  • ❤️ 8 — orielhaim, maciejcieslar, kfly8, meitrix8208, sant123, luahoateam, laurynas-karvelis, Psycarlo