sqlc
ReferenceChangelog

v1.11.0

Released 2021-11-24 · View on GitHub

Bug Fixes

  • Update incorrect signatures (#1180)
  • Correct aggregate func sig (#1182)
  • Jsonb_build_object (#1211)
  • Case-insensitive identifiers (#1216)
  • Incorrect handling of meta (#1228)
  • Detect invalid INSERT expression (#1231)
  • Respect alias name for coalesce (#1232)
  • Mark nullable when casting NULL (#1233)
  • Support nullable fields in joins for MySQL engine (#1249)
  • Fix between expression handling of table references (#1268)
  • Support nullable fields in joins on same table (#1270)
  • Fix missing binds in ORDER BY (#1273)
  • Set RV for TargetList items on updates (#1252)
  • Fix MySQL parser for query without trailing semicolon (#1282)
  • Validate table alias references (#1283)
  • Add support for MySQL ON DUPLICATE KEY UPDATE (#1286)
  • Support references to columns in joined tables in UPDATE statements (#1289)
  • Add validation for GROUP BY clause column references (#1285)
  • Prevent variable redeclaration in single param conflict (#1298)
  • Use common params struct field for same named params (#1296)

Documentation

  • Replace deprecated go get with go install (#1181)
  • Fix package name referenced in tutorial (#1202)
  • Add environment variables (#1264)
  • Add go.17+ install instructions (#1280)
  • Warn about golang-migrate file order (#1302)

Features

  • Instrument compiler via runtime/trace (#1258)
  • Add MySQL support for BETWEEN arguments (#1265)

Refactor

  • Move from io/ioutil to io and os package (#1164)

Styling

  • Apply gofmt to sample code (#1261)

Build

  • Bump golang from 1.17.0 to 1.17.1 (#1173)
  • Bump eskatos/gradle-command-action from 1 to 2 (#1220)
  • Bump golang from 1.17.1 to 1.17.2 (#1227)
  • Bump github.com/pganalyze/pg_query_go/v2 (#1234)
  • Bump actions/checkout from 2.3.4 to 2.3.5 (#1238)
  • Bump babel from 2.9.0 to 2.9.1 in /docs (#1245)
  • Bump golang from 1.17.2 to 1.17.3 (#1272)
  • Bump actions/checkout from 2.3.5 to 2.4.0 (#1267)
  • Bump github.com/lib/pq from 1.10.3 to 1.10.4 (#1278)
  • Bump github.com/jackc/pgx/v4 from 4.13.0 to 4.14.0 (#1303)

Cmd/sqlc

  • Bump version to v1.11.0

On this page