v0.5.1
Highlights
サーバログ可視性の改善と空 catch エラー握り潰し防止の lint 追加を中心としたパッチリリース。
Changes
refactor(logging) #102
- Datastore Viewer のアクセスログに 4xx/5xx の response body 理由を出すよう改修
- 例:
[code-viewer] GET /_db/history?... 400 1ms :: invalid schema parameter
- 例:
- Biome に
noEmptyBlockStatements: "error"を追加し、空 catch でのエラー握り潰しを禁止 - 既存 112 件の空ブロックを
() => undefined/{ /* noop */ }/// Intentional: 理由コメントで対応 logResponseWithReasonの API を(prefix, req, url, res, startMs, opts?)に整理- 内部 FIFO キューでアクセスログの時系列順を保証
res.clone()は同期で確保する契約に固定(Bun.serve のボディストリーミングと競合しない)handle-shared-logging.test.ts新規追加(13 件 / 26 expect)
chore(release) #103
package.jsonを v0.5.1 へ