release notes — February 5, 2022

sqlc v1.12.0 released

Version 1.12.0

Bug

  • ALTER TABLE SET SCHEMA (#1409)

Bug Fixes

  • Update ANTLR v4 go.mod entry (#1336)
  • Check delete statements for CTEs (#1329)
  • Fix validation of GROUP BY on field aliases (#1348)
  • Fix imports when non-copyfrom queries needed imports that copyfrom queries didn’t (#1386)
  • Remove extra comment newline (#1395)
  • Enable strict function checking (#1405)

Features

  • Inheritance (#1339)
  • Generate query code using ASTs instead of templates (#1338)
  • Add support for CREATE TABLE a ( LIKE b ) (#1355)
  • Add support for sql.NullInt16 (#1376)

Miscellaneous Tasks

  • Add tests for :exec{result,rows} (#1344)
  • Delete template-based codegen (#1345)

Build

  • Bump github.com/jackc/pgx/v4 from 4.14.0 to 4.14.1 (#1316)
  • Bump golang from 1.17.3 to 1.17.4 (#1331)
  • Bump golang from 1.17.4 to 1.17.5 (#1337)
  • Bump github.com/spf13/cobra from 1.2.1 to 1.3.0 (#1343)
  • Remove devel Docker build
  • Bump golang from 1.17.5 to 1.17.6 (#1369)
  • Bump github.com/google/go-cmp from 0.5.6 to 0.5.7 (#1382)
  • Format all Go code (#1387)
< All posts