Skip to content

build(deps): bump the go-dependencies group across 1 directory with 2 updates - #35

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/go_modules/go-dependencies-9ad65e972d
Nov 14, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
dependabot/go_modules/go-dependencies-9ad65e972d

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 14, 2026

Copy link
Copy Markdown
Contributor

Bumps the go-dependencies group with 2 updates in the / directory: github.com/doug-martin/goqu/v9 and golang.org/x/crypto.

Updates github.com/doug-martin/goqu/v9 from 9.23.0 to 9.25.0

Release notes

Sourced from github.com/doug-martin/goqu/v9's releases.

v9.25.0

  • [FEATURE] Add the SliceAsArray dialect option, on for postgres. A slice used as an insert or update value is written as one array literal ('{"a","b"}', the value pq.Array produces) instead of the row list ('a', 'b'), so it takes the type of the column (text[], integer[], uuid[], ...) and is bound as a single argument in prepared mode. An empty slice is '{}' and a nil slice NULL. Slices in predicates (IN, ...), []byte, json.RawMessage, driver.Valuers and expressions are unchanged. Added goqu.Array / exp.ArrayExpression for array values elsewhere (e.g. C("tags").Eq(goqu.Array(...))), and the errors sqlgen.ErrEmptyNestedArray and sqlgen.ErrRaggedArray for arrays Postgres cannot store. A composite (row type) column written with a slice now needs goqu.L("ROW(...)") or a driver.Valuer. Scanning arrays is up to the driver (pq.StringArray, pgtype) #387, #215
  • [BUG] Dialects that paginate with OFFSET/FETCH (sqlserver) silently dropped both the offset and the limit when there was no ORDER BY, so the query returned every row. It now returns an error (dialect requires an ORDER BY when using OFFSET). Dialects with AlwaysOffsetFetch are unaffected (#500).
  • [FEATURE] Add the AlwaysOffsetFetch dialect option. When enabled, OrderWithOffsetFetchSQLFragment renders OFFSET n ROWS FETCH ... ROWS ONLY for a limit even when the offset is 0 or there is no ORDER BY, which databases without LIMIT/TOP (e.g. Oracle 19c) need. It is off by default and no built-in dialect enables it, so existing output is unchanged (#429).
  • [BUG] Subqueries, CTEs, compound (UNION) queries and Insert().FromQuery now render with the dialect of the enclosing statement. Previously a nested dataset built with the default dialect emitted ? placeholders inside a Postgres prepared statement (#413, #370). A nested dataset uses the dialect of the enclosing statement even when it was built with another one; datasets with a custom SQLDialect implementation are left untouched.
  • [FEATURE] Add goqu.SetDefaultDialect to choose the dialect used by the package level goqu.From, goqu.Select, goqu.Insert, goqu.Update, goqu.Delete and goqu.Truncate #450, #266
  • [FEATURE] Add goqu.RequireDialect and goqu.MustDialect to fail on a dialect that is not registered (for example a missing import) instead of silently using the default dialect #409
  • [FIX] GetDialect now reads the dialect registry under its lock

v9.24.0

Security release. If you use the sqlserver dialect with interpolated (non prepared) queries, or pass untrusted input as an identifier (goqu.C, goqu.I, goqu.T), please upgrade. Details in the first two entries below.

  • [SECURITY] The sqlserver dialect escaped a single quote in interpolated strings as \', which SQL Server does not understand, so a quote in a value could end the string literal early (SQL injection when interpolating untrusted values). Only the single quote is now escaped, by doubling it, and quotes, backslashes and control characters are no longer backslash-escaped. Prepared statements were not affected. Upgrade if you use the sqlserver dialect with interpolated (non prepared) queries #411
  • [SECURITY] Escape quote characters embedded in quoted identifiers by doubling them (e.g. a"b becomes "a""b"). Previously an untrusted value used as an identifier (for example goqu.C(userInput)) could break out of the quotes #428
  • [FEATURE] Add the UnicodeStringPrefix dialect option. The sqlserver dialect uses it to write interpolated strings with non ASCII characters as N'...' (unicode) literals
  • [FIX] Interpolated []byte values that are not valid UTF-8 are written as a binary literal (X'..', decode('..', 'hex') for postgres, 0x.. for sqlserver) instead of being corrupted. Added the BinaryLiteralPrefix, BinaryLiteralSuffix and BinaryLiteralBytes dialect options (postgres and sqlserver also use a binary literal for byte slices containing NUL). Valid text is still written as a string #436, #335, #254, #353
  • [FIX] skipinsert and skipupdate on a nested or embedded struct field now apply to all of the columns of that struct. Note that skipinsert/skipupdate on an embedded struct used to be ignored and now take effect #356
  • [FIX] The sqlite3 dialect generates INSERT INTO t DEFAULT VALUES for an insert without columns instead of an invalid INSERT INTO t #437
  • [FIX] The sqlserver dialect applies Limit on UPDATE as UPDATE TOP (n) ... instead of silently dropping it, which updated every matching row #489 - @​simpleqt
  • [DOCS] Document batching large inserts, scanned time locations, struct/column matching for ScanStruct and a custom dialect without AS #305, #346, #355, #374, #426
  • [DOCS] Add a struct tags reference, document Postgres operators containing ?, fix broken links in the dialect docs and the update docs examples #232, #283, #323, #368, #439
Changelog

Sourced from github.com/doug-martin/goqu/v9's changelog.

v9.25.0

  • [FEATURE] Add the SliceAsArray dialect option, on for postgres. A slice used as an insert or update value is written as one array literal ('{"a","b"}', the value pq.Array produces) instead of the row list ('a', 'b'), so it takes the type of the column (text[], integer[], uuid[], ...) and is bound as a single argument in prepared mode. An empty slice is '{}' and a nil slice NULL. Slices in predicates (IN, ...), []byte, json.RawMessage, driver.Valuers and expressions are unchanged. Added goqu.Array / exp.ArrayExpression for array values elsewhere (e.g. C("tags").Eq(goqu.Array(...))), and the errors sqlgen.ErrEmptyNestedArray and sqlgen.ErrRaggedArray for arrays Postgres cannot store. A composite (row type) column written with a slice now needs goqu.L("ROW(...)") or a driver.Valuer. Scanning arrays is up to the driver (pq.StringArray, pgtype) #387, #215
  • [BUG] Dialects that paginate with OFFSET/FETCH (sqlserver) silently dropped both the offset and the limit when there was no ORDER BY, so the query returned every row. It now returns an error (dialect requires an ORDER BY when using OFFSET). Dialects with AlwaysOffsetFetch are unaffected (#500).
  • [FEATURE] Add the AlwaysOffsetFetch dialect option. When enabled, OrderWithOffsetFetchSQLFragment renders OFFSET n ROWS FETCH ... ROWS ONLY for a limit even when the offset is 0 or there is no ORDER BY, which databases without LIMIT/TOP (e.g. Oracle 19c) need. It is off by default and no built-in dialect enables it, so existing output is unchanged (#429).
  • [BUG] Subqueries, CTEs, compound (UNION) queries and Insert().FromQuery now render with the dialect of the enclosing statement. Previously a nested dataset built with the default dialect emitted ? placeholders inside a Postgres prepared statement (#413, #370). A nested dataset uses the dialect of the enclosing statement even when it was built with another one; datasets with a custom SQLDialect implementation are left untouched.
  • [FEATURE] Add goqu.SetDefaultDialect to choose the dialect used by the package level goqu.From, goqu.Select, goqu.Insert, goqu.Update, goqu.Delete and goqu.Truncate #450, #266
  • [FEATURE] Add goqu.RequireDialect and goqu.MustDialect to fail on a dialect that is not registered (for example a missing import) instead of silently using the default dialect #409
  • [FIX] GetDialect now reads the dialect registry under its lock

v9.24.0

  • [SECURITY] The sqlserver dialect escaped a single quote in interpolated strings as \', which SQL Server does not understand, so a quote in a value could end the string literal early (SQL injection when interpolating untrusted values). Only the single quote is now escaped, by doubling it, and quotes, backslashes and control characters are no longer backslash-escaped. Prepared statements were not affected. Upgrade if you use the sqlserver dialect with interpolated (non prepared) queries #411
  • [SECURITY] Escape quote characters embedded in quoted identifiers by doubling them (e.g. a"b becomes "a""b"). Previously an untrusted value used as an identifier (for example goqu.C(userInput)) could break out of the quotes #428
  • [FEATURE] Add the UnicodeStringPrefix dialect option. The sqlserver dialect uses it to write interpolated strings with non ASCII characters as N'...' (unicode) literals
  • [FIX] Interpolated []byte values that are not valid UTF-8 are written as a binary literal (X'..', decode('..', 'hex') for postgres, 0x.. for sqlserver) instead of being corrupted. Added the BinaryLiteralPrefix, BinaryLiteralSuffix and BinaryLiteralBytes dialect options (postgres and sqlserver also use a binary literal for byte slices containing NUL). Valid text is still written as a string #436, #335, #254, #353
  • [FIX] skipinsert and skipupdate on a nested or embedded struct field now apply to all of the columns of that struct. Note that skipinsert/skipupdate on an embedded struct used to be ignored and now take effect #356
  • [FIX] The sqlite3 dialect generates INSERT INTO t DEFAULT VALUES for an insert without columns instead of an invalid INSERT INTO t #437
  • [FIX] The sqlserver dialect applies Limit on UPDATE as UPDATE TOP (n) ... instead of silently dropping it, which updated every matching row #489 - @​simpleqt
  • [DOCS] Document batching large inserts, scanned time locations, struct/column matching for ScanStruct and a custom dialect without AS #305, #346, #355, #374, #426
  • [DOCS] Add a struct tags reference, document Postgres operators containing ?, fix broken links in the dialect docs and the update docs examples #232, #283, #323, #368, #439
Commits
  • 318347f Merge pull request #504 from doug-martin/chore/release-v9.25.0
  • 739a008 chore: update HISTORY for v9.25.0
  • 9b0ad19 Merge pull request #503 from doug-martin/feat/slice-as-array
  • e3a63bf fix: mask the byte conversion for gosec
  • 2c1d2dd fix: named byte arrays, slice backed valuers and nil raw messages in array el...
  • a906130 refactor: use any, range over int and new(value) in the array code
  • 714ed06 test: wrap long query in postgres array test
  • c1fabba fix: array elements follow time and bytes rules, reject ragged arrays, add po...
  • 0f5927d fix: write slices as array text literals, error on empty nested arrays
  • b3e1b23 feat: render slices as arrays in insert and update values on postgres
  • Additional commits viewable in compare view

Updates golang.org/x/crypto from 0.58.0 to 0.59.0

Commits
  • 6c966a7 ssh: quote remaining peer-controlled strings in error messages
  • bc46121 ssh: fail OpenChannel when the connection is lost
  • 7e0915c ssh/test: connect to sshd over a loopback TCP connection
  • bfa619e ssh/agent: use a short socket path for ssh-agent in tests
  • 4e10f38 go.mod: update golang.org/x dependencies
  • a1058eb ssh: remove DSA support
  • d580ab7 ssh: report algorithms of the last completed key exchange
  • d1f31f6 ssh/knownhosts: skip lines that cannot be parsed
  • 04c6b4f ssh: return rest from ParseKnownHosts on parse errors
  • 3d426ad ssh: separately count rejected public key queries towards MaxAuthTries
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

… updates

Bumps the go-dependencies group with 2 updates in the / directory: [github.com/doug-martin/goqu/v9](https://github.com/doug-martin/goqu) and [golang.org/x/crypto](https://github.com/golang/crypto).


Updates `github.com/doug-martin/goqu/v9` from 9.23.0 to 9.25.0
- [Release notes](https://github.com/doug-martin/goqu/releases)
- [Changelog](https://github.com/doug-martin/goqu/blob/master/HISTORY.md)
- [Commits](doug-martin/goqu@v9.23.0...v9.25.0)

Updates `golang.org/x/crypto` from 0.58.0 to 0.59.0
- [Commits](golang/crypto@v0.58.0...v0.59.0)

---
updated-dependencies:
- dependency-name: github.com/doug-martin/goqu/v9
  dependency-version: 9.25.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
- dependency-name: golang.org/x/crypto
  dependency-version: 0.59.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Nov 14, 2026
@github-actions
github-actions Bot merged commit 80ff601 into main Nov 14, 2026
5 checks passed
@dependabot
dependabot Bot deleted the dependabot/go_modules/go-dependencies-9ad65e972d branch November 14, 2026 08:57
@codecov

codecov Bot commented Nov 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants