|
1 | 1 | # Changelog |
2 | 2 | All notable changes to this project will be documented in this file. |
3 | 3 |
|
| 4 | +(v1-31-0)= |
| 5 | +## [1.31.0](https://github.com/sqlc-dev/sqlc/releases/tag/v1.31.0) |
| 6 | +Released 2026-04-19 |
| 7 | + |
| 8 | +### Bug Fixes |
| 9 | + |
| 10 | +- Strip psql meta-commands from schema files (#4390) |
| 11 | +- Emit pointers for nullable enum columns when `emit_pointers_for_null_types` is set (#4388) |
| 12 | +- Map xid8 to pgtype.Uint64 for pgx/v5 (#4387) |
| 13 | +- Rename `:one` return variable when it conflicts with a parameter (#4383) |
| 14 | +- Coerce SQLite JSONB output regardless of type casing (#4385) |
| 15 | +- Dedupe `sqlc.arg` parameters wrapped in a type cast for MySQL (#4384) |
| 16 | +- Preserve MySQL optimizer hints in generated query text (#4382) |
| 17 | +- Catch invalid `ON CONFLICT DO UPDATE` column references (#4366) |
| 18 | +- Replace manual loop with `copy()` builtin (#4166) |
| 19 | +- (native) Make MySQL connection check immediate on first attempt (#4254) |
| 20 | + |
| 21 | +### Documentation |
| 22 | + |
| 23 | +- Add link to community python plugin (#4157) |
| 24 | +- Add Claude Code remote environment setup instructions (#4246) |
| 25 | +- Add sqlc-gen-sqlx to community language support (#4371) |
| 26 | +- Add GitHub Topic to the plugins page (#4258) |
| 27 | + |
| 28 | +### Features |
| 29 | + |
| 30 | +- (sqlfile) Add `sqlfile.Split` (#4146) |
| 31 | +- (sqlite) Add database analyzer using ncruces/go-sqlite3 (#4199) |
| 32 | +- (ast) Implement comprehensive SQL AST formatting (#4205) |
| 33 | +- (mysql) Improve AST formatting and add DELETE JOIN support (#4206) |
| 34 | +- (sqlite) Add SQLite support to format tests (#4207) |
| 35 | +- (expander) Add star expander for `SELECT *` and `RETURNING *` (PostgreSQL, MySQL, SQLite) (#4203) |
| 36 | +- Add `SQLCEXPERIMENT` environment variable for experimental features (#4228) |
| 37 | +- Add native database support for e2e tests without Docker (#4236) |
| 38 | +- (postgresql) Add analyzerv2 experiment for database-only analysis (#4237) |
| 39 | +- Graduate parsecmd experiment (#4253) |
| 40 | +- Add parse subcommand with AST JSON output (#4240) |
| 41 | +- Add ClickHouse support to `sqlc parse` (#4267) |
| 42 | +- Add `sqlc-test-setup` command for database test environment setup (#4304) |
| 43 | + |
| 44 | +### Refactor |
| 45 | + |
| 46 | +- (ast) Rename Formatter interface to Dialect (#4208) |
| 47 | + |
| 48 | +### Build |
| 49 | + |
| 50 | +- Upgrade Go toolchain to 1.26.2 (#4378) |
| 51 | +- Upgrade Go version to 1.26.0 (#4312) |
| 52 | +- Remove github.com/jackc/pgx/v4 dependency (#4379) |
| 53 | +- Upgrade github.com/pingcap/tidb/pkg/parser (#4389) |
| 54 | +- Install PostgreSQL from theseus-rs/postgresql-binaries instead of apt (#4310) |
| 55 | +- Skip CI/RTD builds when the change is irrelevant (#4381) |
| 56 | +- (deps) 35 dependabot bumps (collapsed from individual entries) |
| 57 | + |
4 | 58 | (v1-30-0)= |
5 | 59 | ## [1.30.0](https://github.com/sqlc-dev/sqlc/releases/tag/v1.30.0) |
6 | 60 | Released 2025-09-01 |
|
0 commit comments