Patch release since v0.1.1.
Fixed
- Slice type inference honors element
WithGoTyperegistrations (#1 / #2, found by spanpg as the first external consumer of the injection options):TypeFor[[]big.Rat](WithGoType[big.Rat](PGNumeric))now returnsARRAY<PG_NUMERIC>, matching whatValueOfalready produced. Precedence is identical on both sides: exact[]Tregistration > element registration > client mirror. With no options nothing changes (pinned). Consumers can drop slice-type registration workarounds.
Added
WithTypedValueEncoder[T](typ, f)(#3) — the pre-composedWithValueEncoder+WithGoTypepair, surveyed from spanpg'sEncodeOptions(encoder registrations almost always want both halves).
Requirements
Unchanged from v0.1.1: spanvalue v0.7.3+ (v0.7.4+ for writer.WriteRowSeq streaming), spanner v1.84.1 MVS floor (mirrored semantics track v1.91.0), Go 1.24+.