Skip to content

v1.1.0

Choose a tag to compare

@zachvictor zachvictor released this 20 Aug 10:52
· 17 commits to main since this release
v1.1.0
39bcb1d

v1.1.0

Backported fixes for the v1 API (maintenance release; v2 is the
current major):

  • Multi-row INSERT with OrdinalNumberTokenType now numbers bind
    parameters continuously across rows (VALUES ($1..$7),($8..$14),...).
    Previous releases repeated ($1..$7) for every row, which PostgreSQL
    rejects at bind time.
  • InsertContext now uses PrepareContext, so its context is honored
    during statement preparation, not only execution.
  • Tests exercise every value token type (a loop iterated slice indices
    instead of values, so ColonTokenType was never tested).
  • go.mod and README state the real minimum Go version (1.18); the
    former go 1.9 / 'Go 1.8 to 1.19' claims never compiled.