Hono v4.13.22
github / Framework / Hono / 2026/11/25 09:07 JST
Hono v4.13.22。ハードニング変更を含むリリースで、更新が推奨されている。マウントの不正パスガードをビルド出力に残す修正、basic-authでユーザー名やパスワードが文字列でない場合にエラーを投げる変更、mime・JSX・SSE・ストリーミング・リクエストボディ解析の修正などが含まれる。セキュリティ寄りの修正が中心のパッチで、Hono利用者は早めの更新が望ましい。
出典サイトで原文を開く → 出典サイトの説明: This release includes hardening changes. We recommend that you update. What's Changed fix(mount): keep the malformed path guard in the built output in #5675 fix(basic-auth): throw an error if the ...
This release includes hardening changes. We recommend that you update. ## What’s Changed * fix(mount): keep the malformed path guard in the built output in https://github.com/honojs/hono/pull/5675 * fix(basic-auth): throw an error if the username or the password is not a string in https://github.com/honojs/hono/pull/5676 * fix(utils/mime): return undefined for an extension that is an inherited property name in https://github.com/honojs/hono/pull/5677 * fix(jsx): do not treat a plain object child as an array in https://github.com/honojs/hono/pull/5678 * fix(sse): reject line breaks in retry in https://github.com/honojs/hono/pull/5679 * fix(streaming): accept a sync onError callback in https://github.com/honojs/hono/pull/5680 * fix(utils/body): skip keys with constructor.prototype in parseBody() in https://github.com/honojs/hono/pull/5681 ### Basic Auth Middleware throws an error for a value that is not a string basicAuth() now throws an error at setup if username or password is not a string. If you pass an env variable, check that it is set. Full Changelog: https://github.com/honojs/hono/compare/v4.13.21…v4.13.22
出典: 公式ページ