Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
541 commits
Select commit Hold shift + click to select a range
f498122
Update ci.yml
kyleconroy Jun 5, 2024
757187c
feat: Managed databases with any accessible server (#3421)
kyleconroy Jun 5, 2024
984437e
feat(vet): Use new dbmanager client (#3423)
kyleconroy Jun 5, 2024
e3f888f
feat(verify): Update verify to work with managed databases (#3425)
kyleconroy Jun 6, 2024
57d7ef2
docs: Fix readme links (#3424)
oscartbeaumont Jun 6, 2024
b58760b
docs: Update the managed db and verify documentation (#3426)
kyleconroy Jun 6, 2024
fcbd84a
Return an error on failures (#3427)
kyleconroy Jun 6, 2024
deb483a
docs: Add sponsor image (#3428)
kyleconroy Jun 6, 2024
7ca9f0c
build: Disable Windows builds (#3429)
kyleconroy Jun 6, 2024
e623dc1
Fixes MySQL copyfrom generation with 1 arg stucts (#3446)
terricain Jun 15, 2024
cfa9b72
build(deps): bump golang from 1.22.4 to 1.22.5 (#3476)
dependabot[bot] Jul 8, 2024
416b9e6
Upgrade to Go 1.22.5 (#3483)
kyleconroy Jul 8, 2024
815aa67
build(deps): bump certifi from 2024.6.2 to 2024.7.4 in /docs (#3480)
dependabot[bot] Jul 8, 2024
d409a10
docs: Add Ruby as supported language (#3487)
SockworkOrange Jul 16, 2024
4f930bc
update: Set current year in docs and license (#3455)
gitslav Jul 16, 2024
b78e322
fix(dbmanager): Add leading slash to db uri path rewrite (#3493)
andrewmbenton Jul 19, 2024
fa2b963
WIP (#3518)
kyleconroy Aug 5, 2024
8e62154
build(deps): bump urllib3 from 2.2.1 to 2.2.2 in /docs (#3452)
dependabot[bot] Aug 5, 2024
597e7f3
docs: Update migrating-to-sqlc-gen-kotlin.md (#3454)
yasuharu519 Aug 5, 2024
2304269
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Aug 5, 2024
9fbc876
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Aug 5, 2024
1db27a5
test: Remove internal/sqltest/hosted package (#3521)
kyleconroy Aug 5, 2024
32c39a7
fix(verify): Include database engine in request (#3522)
kyleconroy Aug 5, 2024
07e96df
docs: Add changelog entry for 1.27.0 (#3524)
kyleconroy Aug 5, 2024
849ef0e
fix(dbmanager): Drop database if you can't connect (#3525)
kyleconroy Aug 5, 2024
c004851
fix(docs): Add ordering warning for numeric goose migration (#3481)
rob2244 Aug 5, 2024
fe75dae
feat(cli): Bump version from 1.26.0 to 1.27.0 (#3526)
kyleconroy Aug 5, 2024
754b956
chore: Remove the triage label (#3527)
kyleconroy Aug 5, 2024
4ff6120
build(deps): bump myst-parser (#3530)
dependabot[bot] Aug 6, 2024
60c0c0a
build(deps): bump golang from 1.22.5 to 1.22.6 (#3532)
dependabot[bot] Aug 7, 2024
1e6902f
build(deps): bump modernc.org/sqlite (#3537)
dependabot[bot] Aug 8, 2024
c582986
Fix ParseEnv (#3536)
emilecaron Aug 8, 2024
a353d74
feat(docs): how-to use transactions with pgx (#3557)
pedro-tiple Aug 23, 2024
9ec02e2
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Sep 3, 2024
23b83cf
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Sep 3, 2024
cd539d5
build(deps): bump golang from 1.22.6 to 1.23.0 (#3546)
dependabot[bot] Sep 3, 2024
598d81c
feat(quickdb): Remove unused func (#3576)
kyleconroy Sep 3, 2024
7613c7f
fixed json format and invalid property (#3459)
michaelbeutler Sep 3, 2024
df9413c
build(deps): bump golang from 1.23.0 to 1.23.1 (#3586)
dependabot[bot] Sep 6, 2024
d0b8637
chore: Upgrade to Go 1.22.8 to silence vulncheck (#3646)
kyleconroy Oct 9, 2024
ca6fda2
fix(docs): correct spelling and grammar (#3645)
anazcodes Oct 9, 2024
02194fe
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Oct 9, 2024
acf296d
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Oct 9, 2024
695d9a1
fix(dbmanager): use correct SQL to drop databases (#3640)
scottt Oct 9, 2024
196880e
build(deps): bump sphinx-rtd-theme (#3648)
dependabot[bot] Oct 10, 2024
8bf2817
build(deps): bump pyparsing (#3653)
dependabot[bot] Oct 15, 2024
c9c1297
build(deps): bump markupsafe (#3666)
dependabot[bot] Nov 4, 2024
889b35d
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Nov 21, 2024
2ffa705
build(deps): bump golang from 1.23.2 to 1.23.3 (#3691)
dependabot[bot] Nov 21, 2024
999f389
added sqlite beta support to C# plugin (#3658)
SockworkOrange Nov 21, 2024
0b952b4
fix(compiler): Don't crash on WHERE x IN (... UNION ...) (#3652)
Jille Nov 25, 2024
58b08ae
fix (engine/sqlite): normalize table names (#3162) (#3657)
jvns Nov 25, 2024
10dd388
fix(golang): escape q field name (#3647)
vitords Nov 25, 2024
d1c7aec
docs: add missing documentation about copyfrom (#3583)
YvanDaSilva Nov 25, 2024
7d66890
updating tutorial to use modernc.sql/sqlite (#3562)
werelord Nov 25, 2024
58674b4
Fix incorrect generate model names for "metadata" suffix (#3553)
qanghaa Nov 25, 2024
60f1b88
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Nov 26, 2024
ae2c2dd
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Dec 2, 2024
5ee2c0b
feat(vet): Allow selective disabling of rules per query (#3620)
rhodeon Dec 2, 2024
fc8723e
fix: postgresql alter materialized view is not registered to statemen…
swallowstalker Dec 2, 2024
d561a9b
docs: Add sqlc-gen-from-template (#3601)
fdietze Dec 2, 2024
014e3f1
feat(dolphin): Upgrade to latest TiDB parser (#3733)
kyleconroy Dec 3, 2024
874a947
build(deps): bump certifi in /docs in the production-dependencies gro…
dependabot[bot] Dec 16, 2024
c86d0d9
build(deps): bump golang.org/x/crypto from 0.27.0 to 0.31.0 (#3740)
dependabot[bot] Dec 16, 2024
fdf7c21
build(deps): bump golang from 1.23.3 to 1.23.4 (#3735)
dependabot[bot] Dec 16, 2024
a05cfce
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Dec 17, 2024
7700b5a
build(deps): bump the production-dependencies group with 2 updates (#…
dependabot[bot] Dec 19, 2024
842a360
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Dec 24, 2024
702e614
build(deps): bump the production-dependencies group (#3761)
dependabot[bot] Dec 24, 2024
6a4bfb5
build(deps): bump jinja2 from 3.1.4 to 3.1.5 in /docs (#3762)
dependabot[bot] Dec 24, 2024
86c1d77
feat(mysql): Add a test for VECTOR column type (#3734)
kyleconroy Dec 24, 2024
cfe6c55
fix: Do not close wazero module on error (#3758) (#3759)
edman Dec 27, 2024
a3e2484
build(deps): bump google.golang.org/protobuf (#3776)
dependabot[bot] Jan 9, 2025
a7af58a
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Jan 9, 2025
bcd3096
Update getting-started-sqlite.md (#3767)
cugu Jan 9, 2025
da09201
build(deps): bump google.golang.org/grpc (#3784)
dependabot[bot] Jan 13, 2025
878510e
build(deps): bump golang from 1.23.4 to 1.23.5 (#3791)
dependabot[bot] Jan 20, 2025
2a1ddf6
build(deps): bump the production-dependencies group with 2 updates (#…
dependabot[bot] Jan 20, 2025
39fe2f9
build: Upgrade to Go 1.23.5 (#3795)
kyleconroy Jan 20, 2025
f5049cf
build(deps): bump golang.org/x/net from 0.30.0 to 0.33.0 (#3796)
dependabot[bot] Jan 20, 2025
d554272
docs: Add changelog for 1.28.0 (#3797)
kyleconroy Jan 20, 2025
349137b
feat(cli): Bump version from 1.27.0 to 1.28.0 (#3798)
kyleconroy Jan 20, 2025
9cf5dbc
docs: Add PHP DBAL plugin (#3813)
lcarilla Jan 30, 2025
e855917
build(deps): bump golang from 1.23.5 to 1.23.6 (#3822)
dependabot[bot] Feb 7, 2025
17336cc
build: Use govulncheck action (#3831)
alexandear Feb 7, 2025
6dacff2
examples: Add missing Close calls (#3828)
alexandear Feb 7, 2025
c0746f6
docs: Fix PostGIS function name (#3829)
alexandear Feb 7, 2025
12d640f
docs: Add Zig plugin (#3824)
tinyzimmer Feb 7, 2025
c576a07
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Feb 7, 2025
223fd03
Add support for json format from process plugins (#3827)
rouzier Feb 8, 2025
3ea3632
docs: add link to tandemdude/sqlc-gen-java (#3819)
tandemdude Feb 8, 2025
4c44084
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Feb 10, 2025
ec9d492
Update postgresql_type.go: accept "timestamp" as a case (#3811)
theAnuragMishra Feb 10, 2025
7f9b05b
build(deps): bump golang from 1.23.6 to 1.24.0 (#3842)
dependabot[bot] Feb 13, 2025
4befb0d
build(deps): bump myst-parser (#3841)
dependabot[bot] Feb 13, 2025
4e927ad
chore: update sqlc-gen-java supported engines (#3843)
tandemdude Feb 14, 2025
30e446f
mark sqlite beta support for zig plugin (#3845)
tinyzimmer Feb 15, 2025
6b2ed20
build(deps): bump modernc.org/sqlite (#3846)
dependabot[bot] Feb 15, 2025
a35e576
update csharp support to stable (#3854)
doron050 Mar 24, 2025
5fbc104
build(deps): bump golang from 1.24.0 to 1.24.1 (#3870)
dependabot[bot] Mar 24, 2025
1fe7598
build(deps): bump jinja2 in /docs in the production-dependencies grou…
dependabot[bot] Mar 24, 2025
ad84cec
build: Upgrade to wazero@v1.9.0 (#3887)
kyleconroy Mar 24, 2025
cd39ecb
build: Upgrade to Go 1.24.1 (#3892)
kyleconroy Mar 24, 2025
10ee9ef
build: Upgrade to latest version of MySQL parser (#3893)
kyleconroy Mar 24, 2025
83310c7
build(deps): bump pyparsing (#3890)
dependabot[bot] Mar 24, 2025
5674022
build(deps): bump golang.org/x/net from 0.33.0 to 0.37.0 (#3894)
kyleconroy Mar 24, 2025
15f7252
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Mar 24, 2025
3a3ccee
build(deps): bump github.com/jackc/pgx/v5 (#3898)
dependabot[bot] Mar 25, 2025
b2933a8
build(deps): bump the production-dependencies group (#3899)
dependabot[bot] Mar 25, 2025
1d1e230
build(deps): bump modernc.org/sqlite (#3905)
dependabot[bot] Mar 30, 2025
2f9e9d4
feat(codegen/golang): add an option to wrap query errors that include…
andrewmbenton Mar 30, 2025
74e63c2
fix(pgx): Do not wrap nil error (#3913)
kyleconroy Apr 1, 2025
047d587
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Apr 1, 2025
a1bba54
[typo] locahost → localhost (#3925)
alexzamai-orca Apr 11, 2025
01e29ab
build(deps): bump urllib3 in /docs in the production-dependencies gro…
dependabot[bot] Apr 11, 2025
0157e1c
build(deps): bump golang from 1.24.1 to 1.24.2 (#3915)
dependabot[bot] Apr 11, 2025
16de8bd
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Apr 11, 2025
94c0170
fix(migrations): normalize case for migration statement for all cases…
0xSherlokMo Apr 11, 2025
b4f2571
build(deps): Upgrade github.com/wasilibs/go-pgquery (#3927)
kyleconroy Apr 14, 2025
157460f
build(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 (#3929)
dependabot[bot] Apr 17, 2025
f4156cd
Add changelog for 1.29.0 (#3930)
kyleconroy Apr 17, 2025
aa490d4
feat(cli): Bump version to 1.29.0 (#3931)
kyleconroy Apr 17, 2025
ee2abb2
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Apr 28, 2025
34f8c1b
build(deps): bump packaging (#3940)
dependabot[bot] Apr 28, 2025
a60f370
Use MySQL 9 in docker-compose.yml (#3944)
vvakame May 22, 2025
71e66bf
build(deps): bump golang from 1.24.2 to 1.24.4 (#3983)
dependabot[bot] Jun 8, 2025
3da0b82
SQLite: Coerce jsonb columns to json before returning to Go code (#3968)
brandur Jun 13, 2025
b34aa37
SQLite: Fix parsing of INSERT DEFAULT VALUES syntax (#4010)
kyleconroy Jul 2, 2025
197178b
build(deps): bump golang from 1.24.4 to 1.24.5 (#4014)
dependabot[bot] Jul 14, 2025
78ac913
build(deps): bump urllib3 from 2.4.0 to 2.5.0 in /docs (#3994)
dependabot[bot] Jul 14, 2025
ecc6178
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Jul 14, 2025
4472914
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Jul 24, 2025
dd13a7a
build(deps): bump modernc.org/sqlite (#4032)
dependabot[bot] Jul 29, 2025
6bc3e48
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Jul 30, 2025
17ace55
docs: fix parameter syntax inconsistency for MySQL and SQLite (#4036)
kotahorii Aug 2, 2025
eb4b0b5
Support DELETE with JOIN on subquery (#4023)
gwillem Aug 2, 2025
55efafc
feat(docs): Add link to Gleam/parrot (#4038)
kyleconroy Aug 3, 2025
8c3d6eb
build(deps): bump certifi in /docs in the production-dependencies gro…
dependabot[bot] Aug 4, 2025
e3ad3b5
fix(compiler/mysql): prevent panic in convertSetOprSelectList() (#4042)
andrewmbenton Aug 5, 2025
e81b1b5
fix: range subselect alias pointer dereference (#3711)
ahme-dev Aug 6, 2025
85e64da
mention pgxpool in go and pgx guide (#4047)
seriousben Aug 8, 2025
6b7cb26
build(deps): bump google.golang.org/protobuf (#4043)
dependabot[bot] Aug 8, 2025
6ae5bcc
docs: use correct configuration to generate the given output for JSON…
andrewmbenton Aug 8, 2025
1e0ca92
docs: clean up and add to docs regarding type overrides (#4060)
andrewmbenton Aug 12, 2025
8abf549
build(deps): bump actions/checkout from 4 to 5 (#4059)
dependabot[bot] Aug 12, 2025
25e5187
chore(engine/dolphin): remove references to deprecated `pcast.ChangeS…
andrewmbenton Aug 12, 2025
4d53d63
docs: try a different admonition format (#4061)
andrewmbenton Aug 12, 2025
e73f675
docs: use the correct admonition format (#4062)
andrewmbenton Aug 12, 2025
419c2a2
fix(codegen/golang): don't omit enums used as arrays (#4058)
andrewmbenton Aug 12, 2025
0201d70
fix(codegen/golang): handle `go_struct_tag` for `db_type` overrides …
andrewmbenton Aug 12, 2025
fe96e12
bugfix: Normalize identifier usage for table names (#4045)
Mr-Destructive Aug 12, 2025
e9db16c
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Aug 24, 2025
ded5342
build(deps): bump requests in /docs in the production-dependencies gr…
dependabot[bot] Aug 24, 2025
34afcd4
feat(engine/dolphin): implement MATCH_AGAINST conversion in SQL AST (…
wawan93 Aug 24, 2025
e2a0065
docs: add multi-worded table example for renaming (#4067)
lukeraphael Aug 25, 2025
e72e458
build: Upgrade to Go 1.25 (#4074)
kyleconroy Aug 25, 2025
47ce2eb
build(deps): bump golang from 1.24.5 to 1.25.0 (#4063)
dependabot[bot] Aug 25, 2025
a36654a
test(endtoend): Skip process_plugin_sqlc_gen_json (#4075)
kyleconroy Aug 25, 2025
c6aa186
test(endtoend): Use Docker to start database servers (#4076)
kyleconroy Aug 25, 2025
e18bf22
build(deps): bump github.com/google/cel-go (#4080)
dependabot[bot] Aug 28, 2025
80e335a
docs: Add changelog for 1.30.0 (#4085)
kyleconroy Sep 1, 2025
0e3f540
feat(cli): Bump version to 1.30.0 (#4086)
kyleconroy Sep 1, 2025
1924373
build(deps): bump the production-dependencies group with 2 updates (#…
dependabot[bot] Sep 3, 2025
a87f08e
build(deps): bump github.com/spf13/pflag (#4093)
dependabot[bot] Sep 6, 2025
88b3cb3
build(deps): bump actions/setup-go from 5 to 6 (#4092)
dependabot[bot] Sep 6, 2025
657c023
build(deps): bump golang from 1.25.0 to 1.25.1 (#4096)
dependabot[bot] Sep 13, 2025
6389cdc
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Sep 13, 2025
6b77111
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Oct 8, 2025
a18363b
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Oct 8, 2025
d36b625
build(deps): bump modernc.org/sqlite (#4136)
dependabot[bot] Oct 19, 2025
31d8958
build(deps): bump golang from 1.25.1 to 1.25.3 (#4139)
dependabot[bot] Oct 19, 2025
d449832
feat(sqlfile): Add sqlfile.Split (#4146)
kyleconroy Oct 19, 2025
5cca6f1
build(deps): bump idna in /docs in the production-dependencies group …
dependabot[bot] Oct 19, 2025
92e5a24
Fix typo in create_function_stmt.go comment (#4147)
kyleconroy Oct 21, 2025
b807fe9
Add CLAUDE.md development documentation (#4148)
kyleconroy Oct 21, 2025
b83465a
feat(sqlite): Add database analyzer using ncruces/go-sqlite3 (#4199)
kyleconroy Nov 29, 2025
7d08ef4
build(deps): bump actions/checkout from 5 to 6 (#4190)
dependabot[bot] Nov 29, 2025
cb887b5
build(deps): bump actions/upload-artifact from 4 to 5 (#4155)
dependabot[bot] Nov 29, 2025
71d4950
build(deps): bump golang from 1.25.3 to 1.25.4 (#4170)
dependabot[bot] Nov 29, 2025
2d98281
build(deps): bump certifi in /docs in the production-dependencies gro…
dependabot[bot] Nov 29, 2025
2e44b62
build(deps): bump google.golang.org/grpc (#4200)
dependabot[bot] Nov 29, 2025
3436b28
docs: add link to community python plugin (#4157)
rayakame Nov 29, 2025
405a905
feat(ast): implement comprehensive SQL AST formatting (#4205)
kyleconroy Nov 30, 2025
a9f7eae
feat(mysql): improve AST formatting and add DELETE JOIN support (#4206)
kyleconroy Nov 30, 2025
166398d
feat(sqlite): add SQLite support to format tests (#4207)
kyleconroy Dec 1, 2025
ebd32cf
refactor(ast): rename Formatter interface to Dialect (#4208)
kyleconroy Dec 1, 2025
21e6557
feat(expander): Add star expander for SELECT * and RETURNING * (Postg…
kyleconroy Dec 1, 2025
6222f15
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Dec 10, 2025
115624b
build(deps): bump urllib3 in /docs in the production-dependencies gro…
dependabot[bot] Dec 10, 2025
f73cede
build(deps): bump golang from 1.25.4 to 1.25.5 (#4214)
dependabot[bot] Dec 10, 2025
f6aee32
fix: replace manual loop with copy() builtin (#4166)
rubensantoniorosa2704 Dec 10, 2025
74ecda5
feat: add SQLCEXPERIMENT environment variable for experimental featur…
kyleconroy Dec 10, 2025
d48076c
build(deps): bump actions/upload-artifact from 5 to 6 (#4233)
dependabot[bot] Dec 18, 2025
31d3bec
build(deps): bump urllib3 in /docs in the production-dependencies gro…
dependabot[bot] Dec 18, 2025
a8b20cc
build(deps): bump google.golang.org/protobuf (#4230)
dependabot[bot] Dec 18, 2025
53b12f9
feat: add native database support for e2e tests without Docker (#4236)
kyleconroy Dec 18, 2025
68b2089
feat(postgresql): add analyzerv2 experiment for database-only analysi…
kyleconroy Dec 22, 2025
ba513e7
Add parse subcommand with AST JSON output (#4240)
kyleconroy Dec 22, 2025
67e865b
docs: Add Claude Code remote environment setup instructions (#4246)
kyleconroy Dec 24, 2025
9ef7ca0
feat: graduate parsecmd experiment (#4253)
kyleconroy Jan 5, 2026
d21b4cc
fix(native): make MySQL connection check immediate on first attempt (…
kyleconroy Jan 5, 2026
4382f5c
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Jan 5, 2026
e476db9
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Jan 6, 2026
2e0435c
Add GitHub Topic to the plugins page (#4258)
rayakame Jan 7, 2026
16c9afd
feat: add ClickHouse support to `sqlc parse` (#4267)
kyleconroy Jan 30, 2026
c048334
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Feb 1, 2026
744558d
build(deps): bump filippo.io/edwards25519 from 1.1.0 to 1.1.1 (#4303)
dependabot[bot] Feb 19, 2026
99be46a
Add sqlc-test-setup command for database test environment setup (#4304)
kyleconroy Feb 22, 2026
c998d72
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Feb 22, 2026
024b843
build(deps): bump golang from 1.25.5 to 1.26.0 (#4294)
dependabot[bot] Feb 22, 2026
0a3d50e
Install PostgreSQL from theseus-rs/postgresql-binaries instead of apt…
kyleconroy Feb 22, 2026
ce83d3f
Upgrade Go version to 1.26.0 (#4312)
kyleconroy Feb 24, 2026
d06009f
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Mar 20, 2026
dd83714
build(deps): bump golang from 1.26.0 to 1.26.1 (#4328)
dependabot[bot] Mar 20, 2026
4bf2159
build(deps): bump urllib3 from 2.6.2 to 2.6.3 in /docs (#4259)
dependabot[bot] Mar 20, 2026
7f6b186
Catch invalid ON CONFLICT DO UPDATE column references (#4366)
nikolayk812 Apr 17, 2026
98bdb52
build(deps): bump github.com/jackc/pgx/v5 from 5.8.0 to 5.9.0 (#4377)
dependabot[bot] Apr 17, 2026
21e4c47
docs: add sqlc-gen-sqlx to community language support (#4371)
jrandolf Apr 17, 2026
ee439b8
build(deps): bump actions/upload-artifact from 6 to 7 (#4320)
dependabot[bot] Apr 17, 2026
47cb4f9
Upgrade Go toolchain to 1.26.2 (#4378)
kyleconroy Apr 17, 2026
93e1a17
Remove github.com/jackc/pgx/v4 dependency (#4379)
kyleconroy Apr 17, 2026
a2f85e2
build(deps): bump requests from 2.32.5 to 2.33.0 in /docs (#4357)
dependabot[bot] Apr 17, 2026
924c12b
build(deps): bump pygments from 2.19.2 to 2.20.0 in /docs (#4363)
dependabot[bot] Apr 17, 2026
5757d94
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Apr 17, 2026
cff03f4
build(deps): bump the production-dependencies group across 1 director…
dependabot[bot] Apr 17, 2026
bba5fc9
Skip CI/RTD builds when the change is irrelevant (#4381)
kyleconroy Apr 17, 2026
3f41c61
Preserve MySQL optimizer hints in generated query text (#4382)
kyleconroy Apr 17, 2026
244a90b
Dedupe sqlc.arg parameters wrapped in a type cast for MySQL (#4384)
kyleconroy Apr 17, 2026
837d7c9
Coerce SQLite JSONB output regardless of type casing (#4385)
kyleconroy Apr 17, 2026
07c3808
Rename :one return variable when it conflicts with a parameter (#4383)
kyleconroy Apr 17, 2026
64d18fc
Map xid8 to pgtype.Uint64 for pgx/v5 (#4387)
kyleconroy Apr 18, 2026
9d9026b
Emit pointers for nullable enum columns when emit_pointers_for_null_t…
kyleconroy Apr 19, 2026
3e9e3d4
Upgrade github.com/pingcap/tidb/pkg/parser (#4389)
kyleconroy Apr 19, 2026
394bdc7
Strip psql meta-commands from schema files (fixes #4065) (#4390)
kyleconroy Apr 19, 2026
3e66a4a
Update CI workflow to remove paths-ignore (#4393)
kyleconroy Apr 20, 2026
420f5e7
Add changelog for 1.31.0 (#4392)
kyleconroy Apr 20, 2026
0f82157
Release 1.31.0 (#4394)
kyleconroy Apr 20, 2026
ca8dbe9
build(deps): bump github.com/jackc/pgx/v5 (#4398)
dependabot[bot] Apr 21, 2026
dadc7ed
Downgrade github.com/ncruces/go-sqlite3 to v0.32.0 (#4400)
kyleconroy Apr 21, 2026
428d4e6
Remove go.mod replace directive that breaks 'go install ...@latest' (…
kyleconroy Apr 21, 2026
b4fe67f
Add changelog for 1.31.1 (#4406)
kyleconroy Apr 22, 2026
a95e91d
Release 1.31.1 (#4407)
kyleconroy Apr 22, 2026
4c55fa1
docs: record approved upstream sync implementation plan
Stumble Sep 8, 2026
7463f51
merge: sync upstream sqlc v1.31.1 for wicked backend migration
Stumble Sep 8, 2026
c7f1ceb
fix(compiler): infer repeated parameters from their strongest context
Stumble Sep 8, 2026
169c7e8
refactor: isolate wicked codegen on the upstream plugin contract
Stumble Sep 8, 2026
2bb4723
fix(build): update vulnerable dependencies and Go toolchain
Stumble Sep 8, 2026
cead568
fix(compiler): preserve parameter contexts across repeated relations
Stumble Sep 8, 2026
62d9e5b
fix(wicked): restore legacy generation and release contracts
Stumble Sep 8, 2026
aa0ff2c
docs: record expanded downstream compatibility verification
Stumble Sep 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
15 changes: 0 additions & 15 deletions .devcontainer/Dockerfile

This file was deleted.

30 changes: 0 additions & 30 deletions .devcontainer/devcontainer.json

This file was deleted.

19 changes: 10 additions & 9 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Bug Report
description: File a bug report
labels: [bug, triage]
labels: [bug]
body:
- type: dropdown
id: version
Expand All @@ -9,13 +9,14 @@ body:
description: What version of sqlc are you running? If you don't know, run `sqlc version`.
multiple: false
options:
- 1.21.0
- 1.20.0
- 1.19.1
- 1.19.0
- 1.18.0
- 1.17.2
- 1.16.0
- 1.31.1
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- Other
validations:
required: true
Expand Down Expand Up @@ -50,7 +51,7 @@ body:
id: config
attributes:
label: Configuration
description: Please include the sqlc.yaml or sqlc.json file you using in your project. This will be automatically formatted, so no need for backticks.
description: Please include the sqlc.(yaml|yml) or sqlc.json file you using in your project. This will be automatically formatted, so no need for backticks.
render: yaml
- type: input
id: playground
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Feature Request
description: Request a new feature or a change to an existing feature
labels: [enhancement, triage]
labels: [enhancement]
body:
- type: textarea
id: feature
Expand Down
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ updates:
directory: "/"
schedule:
interval: "daily"
groups:
production-dependencies:
dependency-type: "production"
development-dependencies:
dependency-type: "development"
- package-ecosystem: "docker"
directory: "/"
schedule:
Expand All @@ -21,3 +26,9 @@ updates:
# sphinx
- dependency-name: "docutils"
- dependency-name: "sphinx"
groups:
production-dependencies:
dependency-type: "production"
development-dependencies:
dependency-type: "development"

13 changes: 13 additions & 0 deletions .github/workflows/buf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: buf
on:
pull_request:
paths-ignore:
- 'docs/**'
- '.readthedocs.yaml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: bufbuild/buf-setup-action@v1
- uses: bufbuild/buf-lint-action@v1
19 changes: 19 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: build
on:
workflow_dispatch:
jobs:
build:
strategy:
matrix:
os: [ubuntu-24.04, macos-14, windows-2022]
name: build ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: '1.26.8'
- name: install ./...
run: go build ./...
env:
CGO_ENABLED: "0"
32 changes: 32 additions & 0 deletions .github/workflows/ci-kotlin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: kotlin
on:
push:
branches:
- main
paths-ignore:
- 'docs/**'
- '.readthedocs.yaml'
pull_request:
paths-ignore:
- 'docs/**'
- '.readthedocs.yaml'
jobs:
build:
if: false
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: '1.26.8'
- name: install ./...
run: go install ./...
- uses: actions/checkout@v6
with:
repository: sqlc-dev/sqlc-gen-kotlin
path: kotlin
- run: make test
working-directory: kotlin
- run: sqlc diff
working-directory: kotlin/examples
32 changes: 32 additions & 0 deletions .github/workflows/ci-python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: python
on:
push:
branches:
- main
paths-ignore:
- 'docs/**'
- '.readthedocs.yaml'
pull_request:
paths-ignore:
- 'docs/**'
- '.readthedocs.yaml'
jobs:
build:
if: false
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: '1.26.8'
- name: install ./...
run: go install ./...
- uses: actions/checkout@v6
with:
repository: sqlc-dev/sqlc-gen-python
path: python
- run: make test
working-directory: python
- run: sqlc diff
working-directory: python/examples
32 changes: 32 additions & 0 deletions .github/workflows/ci-typescript.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: typescript
on:
push:
branches:
- main
paths-ignore:
- 'docs/**'
- '.readthedocs.yaml'
pull_request:
paths-ignore:
- 'docs/**'
- '.readthedocs.yaml'
jobs:
build:
if: false
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: '1.26.8'
- name: install ./...
run: go install ./...
- uses: actions/checkout@v6
with:
repository: sqlc-dev/sqlc-gen-typescript
path: typescript
# v0.1.3
ref: daaf539092421adc15f6c3164279a3470716b560
- run: sqlc diff
working-directory: typescript/examples
76 changes: 76 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: go
on:
push:
branches:
- main
pull_request:
jobs:
build:
strategy:
matrix:
goos: [darwin, linux, windows]
goarch: [amd64, arm64]
name: build ${{ matrix.goos }}/${{ matrix.goarch }}
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: '1.26.8'
- run: go build ./...
env:
CGO_ENABLED: "0"
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
test:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: '1.26.8'

- name: install gotestsum
run: go install gotest.tools/gotestsum@latest

- name: install sqlc-gen-test
run: go install github.com/sqlc-dev/sqlc-gen-test@v0.1.0

- name: install test-json-process-plugin
run: go install ./scripts/test-json-process-plugin/

- name: install ./...
run: go install ./...
env:
CGO_ENABLED: "0"

- name: build internal/endtoend
run: go build ./...
working-directory: internal/endtoend/testdata
env:
CGO_ENABLED: "0"

- name: install databases
run: go run ./cmd/sqlc-test-setup install

- name: start databases
run: go run ./cmd/sqlc-test-setup start

- name: test ./...
run: gotestsum --junitfile junit.xml -- --tags=examples -timeout 20m -failfast ./...
env:
CI_SQLC_PROJECT_ID: ${{ secrets.CI_SQLC_PROJECT_ID }}
CI_SQLC_AUTH_TOKEN: ${{ secrets.CI_SQLC_AUTH_TOKEN }}
SQLC_AUTH_TOKEN: ${{ secrets.CI_SQLC_AUTH_TOKEN }}
POSTGRESQL_SERVER_URI: "postgres://postgres:postgres@127.0.0.1:5432/postgres?sslmode=disable"
MYSQL_SERVER_URI: "root:mysecretpassword@tcp(127.0.0.1:3306)/mysql?multiStatements=true&parseTime=true"
CGO_ENABLED: "0"

vuln_check:
runs-on: ubuntu-24.04
timeout-minutes: 5

steps:
- uses: golang/govulncheck-action@v1
with:
go-version-input: '1.26.8'
39 changes: 39 additions & 0 deletions .github/workflows/gen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: sqlc-pg-gen
on:
workflow_dispatch:
jobs:
gen:
name: sqlc-pg-gen
runs-on: ubuntu-22.04
services:
postgres:
image: postgres:15.0-alpine
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- 5432:5432
# needed because the postgres container does not provide a healthcheck
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
check-latest: true
- run: go build -o sqlc-pg-gen ./internal/tools/sqlc-pg-gen
- run: mkdir -p gen/contrib
- run: ./sqlc-pg-gen gen
env:
PG_USER: postgres
PG_HOST: localhost
PG_DATABASE: postgres
PG_PASSWORD: postgres
PG_PORT: ${{ job.services.postgres.ports['5432'] }}
- name: Save results
uses: actions/upload-artifact@v7
with:
name: sqlc-pg-gen-results
path: gen

33 changes: 33 additions & 0 deletions .github/workflows/wicked.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: wicked
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
bookstore:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
- run: make build COMMIT_HASH=v2.4.0-dev
- name: Check generated consumer and JSON contracts
working-directory: internal/endtoend/testdata
run: go test ./wicked_compat/go
- uses: actions/checkout@v6
with:
repository: Stumble/bookstore
ref: 2a7f7e396451821a8fe3054eb265037b830af68d
path: bookstore
- name: Check generated API and code
working-directory: bookstore
run: |
make sqlc SQLC="$GITHUB_WORKSPACE/bin/sqlc"
make sqlc-verify SQLC="$GITHUB_WORKSPACE/bin/sqlc"
git diff --exit-code -- pkg/repos
- name: Run runtime contracts
working-directory: bookstore
run: go test -race -count=1 -p 1 -timeout 10m ./pkg/usecases
Loading
Loading