Skip to content

Releases: sqlc-dev/sqlc

v1.15.0

07 Aug 18:14
61f1758

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.14.0...v1.15.0

v1.14.0

10 Jun 06:14
d20ca82

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.13.0...v1.14.0

v1.13.0

03 Apr 02:33
e7aa4bd

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.12.0...v1.13.0

v1.12.0

06 Feb 05:03
45bd150

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.11.0...v1.12.0

v1.11.0

24 Nov 17:20
ad53cfe

Choose a tag to compare

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)

New Contributors

Full Changelog: v1.10.0...v1.11.0

v1.10.0

07 Sep 15:50
ebd3b59

Choose a tag to compare

Release notes coming soon!

What's Changed

New Contributors

Full Changelog: v1.9.0...v1.10.0

v1.9.0

13 Aug 03:45
607aff1

Choose a tag to compare

  • Add support for pgx/v4 (#1037)
  • Customizable output file names (#998)
  • Mark fields as nullable for JOINs (#983)
  • VIEW support (#1044)
  • Multi-arch Docker builds (#1111)
  • Handle subqueries in SELECT statements (#11113)

v1.9.0-beta1

04 Aug 15:54
5ddbe61

Choose a tag to compare

v1.9.0-beta1 Pre-release
Pre-release

Beta release of v1.9.0. Please report any issues in the linked discussion.

v1.8.0

03 May 00:09

Choose a tag to compare

Core

  • cmd: Fix sqlc init (#959)

MySQL

  • Generate correct code for booleans
  • Calling mysql LAST_INSERT_ID(expr) function (#977)

PostgreSQL

  • Support PostgreSQL 12 and 13 features by upgrading to pg_query_go/v2 (#949)
  • Fix ALTER TYPE to update column types (#973)

Python

  • Add experimental Python support behind the --experimental flag

v1.7.0

01 Mar 03:18
b8759a0

Choose a tag to compare

Changelog

Core

  • Initial Windows Support (#886)
  • UNION support (#896)
  • Publish documentation at https://docs.sqlc.dev
  • cmd: Allow config file location to be specified (#863)
  • Exit with non-zero error code when parsing fails (#870)

MySQL

  • Compile tinyint(1) to bool (#873)
  • Support joins in update statements (#883)