Commit graph

50 commits

Author SHA1 Message Date
34e5dcbb17
Switch to hosting on source.gleipnir.technology
All checks were successful
/ test (push) Successful in 3s
2026-05-14 16:26:47 +00:00
4474319e73
Bulk replace project references in go code 2026-05-09 01:43:40 +00:00
Felipe Pinheiro
ea8a35d497
Remove pgproto3/v2 dep by upgrading pgx/v4 to v5
pgx/v4/stdlib was only used in test infrastructure, but its transitive
dependency on jackc/pgproto3/v2 exposed the build to GO-2026-4518 (DoS
via negative field length panic in DataRow.Decode).

Replaces the pgconn.ParseConfig call via GenerateDSN with url.Parse for
DSN validation, and SELECT current_database() for retrieving the
database name, removing the last non-test dependency on the pgx/v4.

Updates TestUInt64Overflow in tests/postgres to match pgx/v5 error
format: v5 renamed Int to Int64 across pgtype to match database/sql
conventions, so the overflow error now says "int64" instead of "Int8".

Bumps minimum Go version to 1.24 (required by pgx/v5).
2026-03-23 14:00:29 -03:00
go-jet
aaf705d770 Add retry for cockroachdb init to avoid a concurrency issue in CockroachDB, specifically a TransactionRetryError. 2024-10-29 11:53:38 +01:00
Samir Faci
f7082eda68 Adding gosec and lint, fixing null_type overflow
ChangeLog:
  - Adding gosec linting
  - Adding static type to enum
  - fixing nulltype overflow
  - Trying out gotestsum as an alternative to go-junit-report.xml
2024-10-14 11:06:59 -04:00
Samir Faci
99be328e9d Replacing several test util function with a generic version
ChangeLog:
  - updated several test utils with a generic PtrOf
  - updated references using iotils (Deprecated) with os equivalent import.
2024-10-05 13:13:55 -04:00
go-jet
23cb5dcfbc Set status code if tests init command fails. 2024-02-01 17:46:11 +01:00
go-jet
06ecd73f67 Improve generator error handling 2023-07-21 13:20:44 +02:00
go-jet
2101088d0e Add support for EXTRACT time/date function. 2022-05-06 11:54:44 +02:00
go-jet
bc776f947b Add support for CockorachDB. 2022-05-05 13:01:42 +02:00
go-jet
b92af7ca6e Update circle.ci 2021-12-19 18:25:55 +01:00
go-jet
972fc1d9bf Add support for running integration tests with dockerized test databases. 2021-12-17 16:59:43 +01:00
go-jet
e8f4c2b31b Add SQLBuilder support for SQLite databases. 2021-10-21 13:40:26 +02:00
vetcher
5b7c34e333 Connection via DSN 2021-09-02 11:29:55 +02:00
go-jet
419da1d1b0 Use PgPort from dbconfig.go. 2021-08-30 12:19:21 +02:00
go-jet
8864667f47 Add the ability to fully customize jet generated files. 2021-07-27 17:39:21 +02:00
go-jet
b375733dfa Add schema rename support
Using SchemaFrom("schemaName") it is possible to set SQL builder table to point to a different schema.
2021-03-21 17:19:54 +01:00
go-jet
2ada2ff69b Add go mod support. 2020-06-27 18:48:19 +02:00
go-jet
f5287628aa Improve code coverage. 2019-09-20 13:55:07 +02:00
go-jet
a893dfba44 Update README. 2019-08-19 10:40:34 +02:00
go-jet
d5466a91e6 Move init and test results data to separate repo. 2019-08-16 12:43:41 +02:00
go-jet
76b861fb2a Remove test data files. 2019-08-16 12:03:17 +02:00
go-jet
d609a478b3 Remove test data files. 2019-08-16 12:02:31 +02:00
go-jet
b656fa2ef1 CircleCI update for MariaDB. 2019-08-15 12:28:59 +02:00
go-jet
0ab25e4464 Update CircleCI to support MySQL 2019-08-08 17:13:20 +02:00
go-jet
647ef21aaf Dialect refactor improvements and clean up. 2019-08-06 10:29:04 +02:00
go-jet
7660bdd8b5 MySQL update statement tests. 2019-08-02 11:08:24 +02:00
go-jet
a46e8c1c51 MySQL insert statement tests. 2019-08-01 17:45:11 +02:00
go-jet
6af43f0c46 MySQL select statement tests. 2019-08-01 16:56:54 +02:00
go-jet
fcce8d4262 MySQL int expressions. 2019-07-31 13:02:30 +02:00
go-jet
163ecf4c42 MySQL float expressions. 2019-07-30 15:04:36 +02:00
go-jet
d0533f73fb MySQL bool expressions. 2019-07-30 11:18:12 +02:00
go-jet
bffa102849 MySQL execution and scan support. 2019-07-29 18:08:53 +02:00
go-jet
31ec532b6d Additional generator tests. 2019-07-19 12:39:10 +02:00
go-jet
556578cec9 Additional documentation for sub packages. 2019-07-18 18:42:03 +02:00
go-jet
b817f57035 Pre-release clean up. 2019-07-17 13:22:14 +02:00
go-jet
f016bb563c Add northwind db. Test fix. 2019-07-17 11:10:00 +02:00
go-jet
0a417a14d6 Add northwind db. 2019-07-17 11:03:16 +02:00
go-jet
18bbf1b5fb Types rename. 2019-07-08 10:48:03 +02:00
go-jet
950663dadb Improve database to golang name mapping. 2019-07-03 16:27:14 +02:00
go-jet
d6c59deb1f Add MutablColumns list into autogen sql builder table. 2019-06-30 11:53:35 +02:00
go-jet
3516d2861c Add wiki Generator page. 2019-06-27 14:31:57 +02:00
go-jet
b15d8491fb Build fix. 2019-06-24 10:33:42 +02:00
go-jet
a44bd85d32 Generator cleanup. 2019-06-23 18:55:57 +02:00
go-jet
454cd6f12b Update go-jet to support CircleCi build. 2019-06-23 14:51:38 +02:00
go-jet
83d4c5ad03 Package path refactor. 2019-06-21 13:56:57 +02:00
go-jet
d9ffa86453 Support for quoted identifiers. 2019-06-17 12:05:52 +02:00
go-jet
a4feb66692 Insert and Update statement improvements. 2019-06-14 14:35:50 +02:00
go-jet
c598978ba6 Model sql tags. 2019-06-12 12:47:30 +02:00
go-jet
367602757f Tests clean up. 2019-06-11 12:47:35 +02:00