From c0353f07dd210e0d5dd76e1ea1dacbaaea531718 Mon Sep 17 00:00:00 2001 From: Jordi Montes Date: Tue, 13 Feb 2024 11:21:33 -0800 Subject: [PATCH] sqlc: bump version to `v1.25.0` Since v0.18.0 there they multiple bug fixes, support more postgres/sqlite features, etc... Nothing impacting the current code. NOTE: It also looks like sqlc is growing as a company and wants to support more languages, add feature for cloud clients, etc... Because of the open source nature of this project I do not think that brings any extra benefit. The only remarkable thing is that they are working on doing the code more modular, and extracting the code generation in multiple "plugins" They already extracted the go one. No changes are needed by now, but maybe at some point they delete the code gen form the main project and the config files need to be updated to use the plugin system [sqlc-dev/plugin-sdk-go]. --- aperturedb/sqlc/db.go | 2 +- aperturedb/sqlc/lnc_sessions.sql.go | 2 +- aperturedb/sqlc/models.go | 2 +- aperturedb/sqlc/onion.sql.go | 2 +- aperturedb/sqlc/querier.go | 2 +- aperturedb/sqlc/secrets.sql.go | 2 +- scripts/gen_sqlc_docker.sh | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/aperturedb/sqlc/db.go b/aperturedb/sqlc/db.go index 9848f3e..8ed64d1 100644 --- a/aperturedb/sqlc/db.go +++ b/aperturedb/sqlc/db.go @@ -1,6 +1,6 @@ // Code generated by sqlc. DO NOT EDIT. // versions: -// sqlc v1.18.0 +// sqlc v1.25.0 package sqlc diff --git a/aperturedb/sqlc/lnc_sessions.sql.go b/aperturedb/sqlc/lnc_sessions.sql.go index fa6b479..7ac0b89 100644 --- a/aperturedb/sqlc/lnc_sessions.sql.go +++ b/aperturedb/sqlc/lnc_sessions.sql.go @@ -1,6 +1,6 @@ // Code generated by sqlc. DO NOT EDIT. // versions: -// sqlc v1.18.0 +// sqlc v1.25.0 // source: lnc_sessions.sql package sqlc diff --git a/aperturedb/sqlc/models.go b/aperturedb/sqlc/models.go index 651eb47..06b4637 100644 --- a/aperturedb/sqlc/models.go +++ b/aperturedb/sqlc/models.go @@ -1,6 +1,6 @@ // Code generated by sqlc. DO NOT EDIT. // versions: -// sqlc v1.18.0 +// sqlc v1.25.0 package sqlc diff --git a/aperturedb/sqlc/onion.sql.go b/aperturedb/sqlc/onion.sql.go index dbbe72d..c0fb037 100644 --- a/aperturedb/sqlc/onion.sql.go +++ b/aperturedb/sqlc/onion.sql.go @@ -1,6 +1,6 @@ // Code generated by sqlc. DO NOT EDIT. // versions: -// sqlc v1.18.0 +// sqlc v1.25.0 // source: onion.sql package sqlc diff --git a/aperturedb/sqlc/querier.go b/aperturedb/sqlc/querier.go index b457178..129afbd 100644 --- a/aperturedb/sqlc/querier.go +++ b/aperturedb/sqlc/querier.go @@ -1,6 +1,6 @@ // Code generated by sqlc. DO NOT EDIT. // versions: -// sqlc v1.18.0 +// sqlc v1.25.0 package sqlc diff --git a/aperturedb/sqlc/secrets.sql.go b/aperturedb/sqlc/secrets.sql.go index 4d48029..6f1e2e2 100644 --- a/aperturedb/sqlc/secrets.sql.go +++ b/aperturedb/sqlc/secrets.sql.go @@ -1,6 +1,6 @@ // Code generated by sqlc. DO NOT EDIT. // versions: -// sqlc v1.18.0 +// sqlc v1.25.0 // source: secrets.sql package sqlc diff --git a/scripts/gen_sqlc_docker.sh b/scripts/gen_sqlc_docker.sh index e3c98cf..02d18bd 100755 --- a/scripts/gen_sqlc_docker.sh +++ b/scripts/gen_sqlc_docker.sh @@ -16,5 +16,5 @@ docker run \ -e UID=$UID \ -v "$DIR/../:/build" \ -w /build \ - kjconroy/sqlc:1.18.0 generate + sqlc/sqlc:1.25.0 generate