go-jet
8728a9152f
Separate integration tests into new go module.
2026-04-04 19:27:20 +02:00
go-jet
8e45282748
Merge pull request #553 from go-jet/dependabot/go_modules/github.com/stretchr/testify-1.11.1
...
Bump github.com/stretchr/testify from 1.10.0 to 1.11.1
2026-03-30 20:20:06 +02:00
go-jet
fa60aa9ba6
Merge pull request #568 from fesiqueira/remove-jackc-pgproto3
...
Remove pgproto3/v2 dep by upgrading pgx/v4 to v5
2026-03-27 13:10:32 +01:00
Felipe Pinheiro
c4ce03d70c
Update circle.ci to go 1.24.
2026-03-23 14:06:55 -03: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
6c2abe9dd1
Merge pull request #564 from go-jet/sec-fix
...
Fix false positive security scan issues.
2026-02-16 13:09:59 +01:00
go-jet
27c67aee3d
Fix false positive security scan issues.
2026-02-16 13:04:00 +01:00
go-jet
6ed68f910e
Merge pull request #561 from venn-city/fix-json-raw-message-scan
...
Add support for `json.RawMessage` type and update dependencies.
2026-02-16 12:54:32 +01:00
Danny Gueta
89dda7068d
Remove commented-out code in JSON test cases for clarity and maintainability.
2026-02-13 09:52:49 +02:00
Danny Gueta
d42fc975f9
Refactor JSON handling in AllTypesJsonRawMessageResult struct by removing unused fields and updating test cases to validate JSON and Jsonb data retrieval.
2026-02-13 09:50:55 +02:00
arthurvaverko
ab3a265a5c
Add support for json.RawMessage type and update dependencies.
2026-02-09 06:06:50 +02:00
go-jet
7b56e1a621
Merge pull request #560 from go-jet/cdb-cmt-test
...
Add cockroachdb table comments test.
2026-02-03 12:56:56 +01:00
go-jet
1fae6502b3
Add cockroachdb table comments.
2026-02-03 12:43:37 +01:00
go-jet
a8b1782130
Merge pull request #558 from fernandesenzo/fix/cockroachdb-comments
...
fix: remove random comments on CockroachDB tables generation
2026-02-03 12:23:59 +01:00
go-jet
4ae762a3d4
Merge pull request #559 from go-jet/cleanup
...
Cleanup: Simplify expression construction
2026-02-02 14:08:04 +01:00
go-jet
7d31b406a9
Remove unused FunctionSerializeOverride parameter from dialect.
2026-02-02 13:55:22 +01:00
go-jet
0e495a279e
Simplify literal expressions.
2026-02-02 13:21:35 +01:00
go-jet
4995a90483
Simplify construction of new expressions.
...
Fixes: IS_NOT_NULL() does not always add enough parentheses to the compiled SQL #500
2026-02-02 13:18:19 +01:00
Enzo Fernandes
5bc39dae41
fix: remove random comments on CockroachDB tables generation
2026-02-01 18:16:50 -03:00
go-jet
95224a793f
Merge pull request #557 from go-jet/first_row_strict
...
Check strict scan only on first row.
2026-01-31 14:42:06 +01:00
go-jet
ac8d24fa5b
Check strict scan only on first row.
2026-01-31 14:25:26 +01:00
go-jet
eaaa328580
Merge pull request #542 from k4n4ry/feat/strict-field-mapping
...
feat: add StrictFieldMapping config
2026-01-31 14:04:09 +01:00
k4n4ry
323c3a0597
Merge remote-tracking branch 'upstream/master' into feat/strict-field-mapping
2026-01-30 22:44:12 +09:00
k4n4ry
01972bf7b0
docs(qrm): remove misleading StrictFieldMapping comment
2026-01-25 22:15:13 +09:00
dependabot[bot]
f1a3361929
Bump github.com/stretchr/testify from 1.10.0 to 1.11.1
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.10.0 to 1.11.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.10.0...v1.11.1 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-version: 1.11.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-01-22 21:03:45 +00:00
go-jet
eeadd8ee72
Merge pull request #549 from go-jet/subq-col-typ
...
Sub-query AllColumns() method doesn't returns correct type for all the column types.
2026-01-22 12:32:56 +01:00
go-jet
7f215544d5
Test fix.
2026-01-22 12:13:39 +01:00
go-jet
6cc4f0bc58
Fix for incorrect subquery column type.
2026-01-21 13:24:28 +01:00
go-jet
38725aa490
Update README.md
2026-01-21 12:14:39 +01:00
go-jet
36450552e6
Add test for rows strict scan.
2026-01-21 12:02:09 +01:00
go-jet
b5b7f9a2b6
Merge pull request #547 from dragondgold/fix-row-scan-strict-scan
...
Fix row scanning always using strict scan
2026-01-21 11:48:17 +01:00
Andres
ab8e282e34
fix: row scanning always using strict scan
2026-01-19 12:46:39 -03:00
go-jet
074958997a
Merge pull request #545 from go-jet/json_arr_bug
...
Fix for SELECT_JSON_ARR generates incorrect order by, limit and offset clauses for mariadb.
2026-01-16 14:28:18 +01:00
go-jet
7d4aa4cdab
Fix for SELECT_JSON_ARR generates incorrect order by, limit and offset clauses for mariadb.
2026-01-16 14:11:22 +01:00
k4n4ry
80b4ddd383
feat(qrm): support qrm:"optional" in strict field mapping
2026-01-12 18:24:20 +09:00
k4n4ry
f33c2ee357
feat: add StrictFieldMapping config
2025-12-30 20:53:31 +09:00
go-jet
adef2f9b1a
Merge pull request #530 from cgroschupp/feat/mariadb-returning
...
feat: add returning to mysql
2025-11-17 18:36:28 +01:00
Christian Groschupp
b2b1a59a45
feat: add returning to mysql
2025-11-13 16:57:58 +01:00
go-jet
0585cd1949
Increment jet generator version.
2025-10-18 15:01:45 +02:00
go-jet
4f81f5af63
Pre-allocate row slices.
2025-10-18 14:54:18 +02:00
go-jet
02bae5a2cb
Merge branch 'pg_arrays'
2025-10-17 19:50:39 +02:00
go-jet
34a06ed198
Update circle.ci to go 1.23.
2025-10-17 19:47:27 +02:00
go-jet
5a4146e4e8
Remove toolchain directive from go.mod.
2025-10-17 19:44:14 +02:00
go-jet
937459b9cd
Merge pull request #525 from go-jet/pg_arrays
...
Add support for postgres array types
2025-10-17 14:34:43 +02:00
go-jet
e2a78428ce
CockroachDB test fix.
2025-10-17 14:12:13 +02:00
go-jet
89e93710aa
Additional tests.
2025-10-17 13:41:08 +02:00
go-jet
4ee047a675
Add support for additional array types.
2025-10-16 15:09:07 +02:00
go-jet
45d4ced9b0
Merge branch 'arjen-ag5/master' into pg_arrays
...
# Conflicts:
# generator/template/model_template.go
# generator/template/sql_builder_template.go
# internal/jet/expression.go
# postgres/cast.go
# postgres/columns.go
# postgres/expressions.go
# postgres/insert_statement_test.go
# postgres/literal.go
# tests/postgres/alltypes_test.go
# tests/postgres/generator_template_test.go
# tests/postgres/scan_test.go
# tests/postgres/select_test.go
2025-10-16 13:44:18 +02:00
Arjen Brouwer
d3ada5361e
Add support for postgres arrays
2025-10-16 13:32:18 +02:00
go-jet
afc4cee6d2
Merge pull request #516 from carsonkrueger/feat/json
...
add model json tag to args
2025-08-09 12:04:30 +02:00