SQL helpers now reject degenerate inputs cleanly (
4d79cf8)
Bun's sql() helpers now throw clear SyntaxErrors for invalid helper payloads instead of surfacing raw TypeErrors or backend syntax errors. The fix also tightens the TypeScript signature so bare null/undefined are rejected at compile time, while preserving valid array bindings like [null] for WHERE IN.
Pool scans no longer blow up on unfilled connection slots (
eb98fd8)
The SQL pool now tolerates holes in its connection array during startup, which matters because user code can re-enter pool methods while a password callback is still filling slots. This prevents a raw TypeError during connection management and makes the pool-start path resilient under reentrant callbacks.
Other misc changes
- Increased
beforeAlltimeouts for container-backed tests to 120s to avoid cold-start hook kills (3 commits).