Skip to content

sql(mysql): add utcDate option for UTC DATETIME/TIMESTAMP decoding - #29216

Closed
robobun wants to merge 6 commits into
mainfrom
farm/1208a173/mysql-datetime-utc
Closed

sql(mysql): add utcDate option for UTC DATETIME/TIMESTAMP decoding#29216
robobun wants to merge 6 commits into
mainfrom
farm/1208a173/mysql-datetime-utc

ci: retrigger gate (release build cold-start in prior run)

751d719
Select commit
Loading
Failed to load commit list.
Claude / Claude Code Review completed May 1, 2026 in 15m 21s

Code review found 1 potential issue

Found 5 candidates, confirmed 1. See review comments for details.

Details

Severity Count
🔴 Important 0
🟡 Nit 1
🟣 Pre-existing 0
Severity File:Line Issue
🟡 Nit packages/bun-types/sql.d.ts:376-389 utcDate option not documented in docs/runtime/sql.mdx

Annotations

Check warning on line 389 in packages/bun-types/sql.d.ts

See this annotation in the file changed.

@claude claude / Claude Code Review

utcDate option not documented in docs/runtime/sql.mdx

The new `utcDate` connection option is added to the public type surface but isn't mentioned in `docs/runtime/sql.mdx`. Since the directly analogous `bigint` decode option has its own section there ('BigInt Instead of Strings', ~line 1169) and there's a 'MySQL Options' section (~line 599), a brief mention of `utcDate` would help users hitting #29208's symptom discover the fix without reading the .d.ts.