Skip to content

Update module github.com/go-jet/jet/v2 to v2.15.0#57

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/github.com-go-jet-jet-v2-2.x
Open

Update module github.com/go-jet/jet/v2 to v2.15.0#57
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/github.com-go-jet-jet-v2-2.x

Conversation

@renovate

@renovate renovate Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/go-jet/jet/v2 v2.10.1v2.15.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

go-jet/jet (github.com/go-jet/jet/v2)

v2.15.0

Compare Source

✨ New Features

  • Generated model fields for DECIMAL / NUMERIC columns now use github.com/shopspring/decimal(issue).⚠️
  • SQLite generator mapping for INTEGER and REAL columns; they are now generated as 64-bit Go types (issue).⚠️
  • Added qrm.GlobalConfig.StrictFieldMapping to detect destination struct fields that are not mapped by query result columns (issue).
  • Added qrm:"optional" support for fields that should be ignored by strict field mapping.
  • Added support for scanning JSON columns into json.RawMessage.
  • Exposed Serializer in dialect packages, allowing custom expression arguments to be assembled dynamically before calling CustomExpression (issue).

🐛 Bug Fixes

  • Fixed IS_NOT_NULL() serialization so generated SQL is parenthesized correctly (issue).
  • Fixed random CockroachDB comments appearing in generated model and SQL builder files (issue).
  • Fixed SELECT_JSON handling so multiple returned NULL rows now produce an error.
  • Fixed escaping for MySQL SELECT_JSON object keys.
  • Fixed stmtcache.Tx.QueryContext to forward the provided context.
  • Fixed strict scan validation so it runs only on the first row.

🧰 Maintenance

  • Simplified internal expression and literal serialization code (PR)
  • Split integration tests into a separate Go module.
  • Split examples into a separate Go module.
  • Removed pgtype from the main module dependency graph (issue).

⚠️ Breaking Changes

  • Potentially breaking changes are marked with ⚠️ because they change generated
    model field types for some column types. If the previous behavior is
    preferred, users can restore it by customizing the generator.
Contributors

@​k4n4ry @​fernandesenzo @​arthurvaverko @​fesiqueira

v2.14.1

Compare Source

🐛 Bug Fixes

  • SELECT_JSON_ARR generates incorrect ORDER_BY, LIMIT and OFFSET for mariadb (issue).
  • Rows Scan panics on unused columns even if StrictScan is not used (issue).
  • Sub query AllColumns() method doesn't returns correct type for all the column types (issue)
Contributors

@​dragondgold

v2.14.0

Compare Source

✨ New Features

  • Postgres array support.
  • GENERATED ALWAYS VIRTUAL columns are now excluded from MutableColumns list for MySQL.
  • Introduced the -skip-model and -skip-sql-builder flags to selectively skip model or SQL builder type generation.
  • Added generator options -tables, -views, and -enums to only allow generation of specific tables, views, or enums.
  • Added generator -model-json-tag option to include JSON tags in generated model types.

🐛 Bug Fixes

  • Additional model import paths added to support generic types with non-standard inner types (issue).
  • Fixed issue where SQL identifiers starting with a number were not correctly quoted.
Contributors

@​switchupcb @​markvai @​joshkaplinsky @​SanjaiyKumar @​Sanjaiy @​Andrei-hub11 @​carsonkrueger @​arjen-ag5

v2.13.0

Compare Source

✨ New Features

  • Added support for SELECT_JSON statements (wiki).
  • Added support for Blob / Bytea expressions.
  • Introduced support for Strict Scan mode (wiki).
  • Enabled LIMIT clause support in UPDATE queries for SQLite.
  • Added DefaultColumns to the Table and View SQL builder.
  • Jet generator now supports passing a direct database connection.
  • Added support to skip SQL columns from generated types.
  • Added support for exporting a ColumnList from a subquery.
  • Enabled assignment of one ColumnList to another in INSERT and UPDATE queries.
  • Introduced jet generator flags for package name customization for Model, Table, View, and Enum.

🐛 Bug Fixes

  • Added missing PostgreSQL reserved keywords (issue)
Contributors

@​Hasaber8 @​sirmackan @​TotallyGamerJet @​galexrt @​formica2 @​jamius19

v2.12.0

Compare Source

New Features

  • Prepared Statement Caching (wiki)
  • VALUES Statements Support (wiki)
  • Custom Expression and Operator Support: Users can now build custom expressions and operators using newly exposed CustomExpression and Token functions. (wiki)
  • Row Expression Support
  • Enum Model: List of all enum values are now listed in the generated enum model file (wiki)
  • Postgres Comments: Generated files now include Postgres comments for table, columns and enums.
  • ColumnList Table Re-Aliasing: New As method renames table alias for all the columns within ColumnList (wiki)
  • Table Alias Removal: Table aliases can now be omitted from ColumnList and ProjectionList by passing an empty string to the As method (wiki)
  • Postgres Character Type Constructors: New constructors for Postgres-specific character types, including Text, Char, and VarChar.
  • Postgres Functions: Added support for DATE_TRUNC and GENERATE_SERIES functions.
  • Generator Column Metadata: Added new HasDefault metadata for columns.

Bug Fixes

  • Postgres Array Detection: Fixed an issue with detecting Postgres arrays (issue)
  • Interval Column Usage in UPDATE/INSERT SET: Interval columns can now be used in UPDATE and INSERT SET assignments (issue)
  • SQL Builder Column Name conflict: Resolved naming conflicts for columns that share names with Jet types or methods by appending an underscore _ to the end of the column field name (issue)
Contributors

@​kblomster @​josephbuchma @​azdagron @​realrunner @​safaci2000 @​BranislavLazic @​VolkerLieber @​jf9327 @​MathieuKooiman

v2.11.1

Compare Source

[Bug] Postgres ON CONFLICT DO NOTHING without conflict target does not appear in generated SQL (pr).

Special thanks to @​BillBuilt for spotting the issue.

v2.11.0

Compare Source

[New] Postgres support for range types.
[New] Postgres support for materialized views.
[New] Sqlite support for generated columns.
[New] Support for OF in row locking clause.
[New] Postgres support for the FETCH FIRST clause.
[New] Support for NULLS_FIRST and NULLS_LAST sorting order.
[New] Default alias option for table SQL builder.
[New] Faster MySQL code generation for databases with very large numbers of tables.
[New] Postgres support for expression in the OFFSET clause.
[Bug] Invalid go identifiers ASCII characters are replaced with character description string.

New Contributors

@​quirell, @​ryym, @​josephbuchma, @​mattdowdell, @​jupp0r, @​realbucksavage, @​sarkan-ag5


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate

renovate Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -t ./...
go: github.com/ajvpot/blocksaas@v0.0.0-20211225041512-7603a7930e46: invalid version: git ls-remote -q --end-of-options origin in /runner/cache/others/go/pkg/mod/cache/vcs/c15fa6cca3aa13bb2b0c6360ac14ad9a6f64a8d7ade5443fd69519fa8af50870: exit status 128:
	remote: Repository not found.
	fatal: repository 'https://github.com/ajvpot/blocksaas/' not found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants