Skip to content

chore(deps): bump the go-minor-patch group with 2 updates - #73

Merged
jonmartinstorm merged 1 commit into
mainfrom
dependabot/go_modules/go-minor-patch-32ff81e687
Nov 9, 2026
Merged

jonmartinstorm merged 1 commit into
mainfrom
dependabot/go_modules/go-minor-patch-32ff81e687

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps the go-minor-patch group with 2 updates: github.com/jackc/pgx/v5 and github.com/open-policy-agent/opa.

Updates github.com/jackc/pgx/v5 from 5.11.0 to 5.12.0

Changelog

Sourced from github.com/jackc/pgx/v5's changelog.

5.12.0 (October 30, 2026)

This release fixes two security vulnerabilities with narrow triggering conditions but serious impact. Affected applications should upgrade to v5.12.0; see Security Fixes below.

It also adds batched transaction startup, client certificate policy controls, and per-query batch timing, and improves connection pool cancellation and type handling. Custom implementations of BatchResults, including mocks, must add the new Tx method.

Security Fixes

  • SQL injection in simple-protocol batches (GHSA-j38q-h3ph-jjpq, high severity). In pgx v5 before v5.12.0, SendBatch using the non-default simple protocol could allow arbitrary SQL execution with the application's database privileges when a queued query ends in a -- comment without a newline and the next query has an attacker-controlled string argument on its first line. Batched queries are now separated by a newline to end such comments. Extended-protocol modes are unaffected. Reported by Igor Kupczyński (@​igor-kupczynski).
  • Bypass of require_auth and channel_binding=require (GHSA-95fj-3fxw-g62g, high severity). In pgx v5.9.0 through v5.11.0, applications relying on these settings without verifying the server's identity with sslmode=verify-full (or equivalent TLS verification) could accept an impersonating server that skips authentication. The attacker could read queries and parameters and return fabricated results. pgx now enforces authentication completion and required channel binding before accepting the connection. This vulnerability does not bypass TLS server certificate verification. Reported by @​president-xd.

Features

  • Add Batch.BeginTx and BatchResults.Tx to begin a transaction as the first query of a batch, saving the round trip for BeginTx. Call Batch.BeginTx before queuing any queries, consume the begin query's result first, and close the batch before using the transaction. With pgxpool.Pool.SendBatch, the connection remains acquired until the transaction is committed or rolled back. Add FailedBatchResults for wrappers that fail before sending a batch (Timo Furrer)
  • Add TraceBatchQueryData.ReadStartTime and per-query durations to tracelog batch query entries. These measure result consumption, including application time spent reading rows, rather than server execution alone (Yasser-Ameur)
  • pgconn: support the sslcertmode connection parameter, PGSSLCERTMODE environment variable, and Config.SSLCertMode. The default, allow, sends an available client certificate when requested; disable prevents sending one and skips loading certificate/key files; require fails unless the server requests and receives a certificate. require does not guarantee server-side certificate validation, disables TLS session resumption, and stops further host or TLS fallbacks when the certificate requirement fails (k-zshiba)
  • pgtype: add support for PostgreSQL 19's oid8 and oid8[] (k-zshiba)

Changes

  • pgxpool: background attempts to satisfy MinConns and MinIdleConns now have a 60-second timeout, including connection hooks. Initial background connections preserve the constructor context's values but ignore its cancellation and deadline.
  • pgxpool: canceling Acquire during a health-check ping now returns promptly and lets a successful ping return

... (truncated)

Commits
  • b2ef08b Update changelog for v5.12.0
  • 8199015 Merge commit from fork
  • 5b1a6a0 Merge commit from fork
  • 65a4125 Merge pull request #2697 from b84330808/windows-default-servicefile
  • f2701a0 pgconn: only fall back when Windows service file is missing
  • db95468 Merge pull request #2696 from k-zshiba/support-oid8
  • fa2327d Start each query on a new line when joining a simple protocol batch
  • 2283b85 pgconn: read the default service file from %APPDATA%\postgresql on Windows
  • efc0b74 Merge upstream master into support-oid8
  • 5a17450 pgconn: require AuthenticationOk before ReadyForQuery
  • Additional commits viewable in compare view

Updates github.com/open-policy-agent/opa from 1.21.4 to 1.22.0

Release notes

Sourced from github.com/open-policy-agent/opa's releases.

v1.22.0

This release contains a mix of new features, performance improvements and bug fixes. Notably:

  • New rego.v2 import
  • Configurable log level for HTTP access logs
  • Stricter handling of bundle signature filenames (breaking change)
  • Partial evaluation unrolls every over a known domain

Configurable log level for HTTP access logs

Added --log-level-request (default info) to control the level at which the HTTP server's "Received request."/"Sent response." access log lines are emitted, independent of the general --log-level. Set it to debug to keep those lines out of logs unless --log-level is also turned up.

Authored by @​srenatus

New rego.v2 import (#9224, #9269)

import rego.v2 enables the and and or keywords and the improved not semantics in one import, in place of future.keywords.and, future.keywords.or, and future.keywords.not. In a v0 module it also implies rego.v1. It is gated by the new rego_v2_import capability feature.

package example
import rego.v2
allow if input.user.admin or not (input.user.suspended or input.user.locked)

See Importing rego.v2.

Additionally: bundles can be declared as Rego v2 by setting the rego_version manifest attribute to 2 (individua bundle modules by setting file_rego_versions); and the Go API accepts the new ast.RegoV2 rego-version when parsing, compiling, and formatting Rego modules. The rego.v2 import is a redundant no-op for modules loaded these ways.

See bundle file format.

Authored by @​johanfylling

Stricter handling of bundle signature filenames (#9300)

Breaking change: We have corrected a long-standing bug in bundle signing and verification, which will cause bundles containing files matching the suffix pattern *signatures.json to no longer pass verification in newer versions of OPA. These bundles will need to be re-signed by this or newer versions of OPA to have a correct .signatures.json file. Bundles that do not contain filenames with the *signatures.json pattern are unaffected, and will continue to verify correctly across OPA versions.

OPA has historically been very lax in deciding where to source bundle signature data from during bundle verification, and would attempt to load bundle signatures data from any file in the bundle that had the filename suffix pattern *signatures.json.

... (truncated)

Changelog

Sourced from github.com/open-policy-agent/opa's changelog.

1.22.0

This release contains a mix of new features, performance improvements and bug fixes. Notably:

  • New rego.v2 import
  • Configurable log level for HTTP access logs
  • Stricter handling of bundle signature filenames (breaking change)
  • Partial evaluation unrolls every over a known domain

Configurable log level for HTTP access logs

Added --log-level-request (default info) to control the level at which the HTTP server's "Received request."/"Sent response." access log lines are emitted, independent of the general --log-level. Set it to debug to keep those lines out of logs unless --log-level is also turned up.

Authored by @​srenatus

New rego.v2 import (#9224, #9269)

import rego.v2 enables the and and or keywords and the improved not semantics in one import, in place of future.keywords.and, future.keywords.or, and future.keywords.not. In a v0 module it also implies rego.v1. It is gated by the new rego_v2_import capability feature.

package example
import rego.v2
allow if input.user.admin or not (input.user.suspended or input.user.locked)

See Importing rego.v2.

Additionally: bundles can be declared as Rego v2 by setting the rego_version manifest attribute to 2 (individua bundle modules by setting file_rego_versions); and the Go API accepts the new ast.RegoV2 rego-version when parsing, compiling, and formatting Rego modules. The rego.v2 import is a redundant no-op for modules loaded these ways.

See bundle file format.

Authored by @​johanfylling

Stricter handling of bundle signature filenames (#9300)

Breaking change: We have corrected a long-standing bug in bundle signing and verification, which will cause bundles containing files matching the suffix pattern *signatures.json to no longer pass verification in newer versions of OPA. These bundles will need to be re-signed by this or newer versions of OPA to have a correct .signatures.json file. Bundles that do not contain filenames with the *signatures.json pattern are unaffected, and will continue to verify correctly across OPA versions.

... (truncated)

Commits
  • d4c8d0c Prepare v1.22.0 release (#9456)
  • fe8cf50 ast: report reserved names used as import aliases (#9452)
  • 66d072a cmd/version: note that the _static binaries are deprecated
  • d6b52e2 wasm: mark eq and assign as wasm-enabled
  • 5faa7e8 topdown: allocate base cache children on first insert
  • 044290b ast: index references holding a local bound to a scalar
  • 359db76 website: Add links to survey and kubecon (#9448)
  • ca66066 ast: add regression test for rule conflict reporting (#9443)
  • d212a84 bundle: resolve wasm manifest paths against the base dir (#9444)
  • 6d3fadd topdown: unroll every over a known domain
  • 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

Bumps the go-minor-patch group with 2 updates: [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) and [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa).


Updates `github.com/jackc/pgx/v5` from 5.11.0 to 5.12.0
- [Release notes](https://github.com/jackc/pgx/releases)
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](jackc/pgx@v5.11.0...v5.12.0)

Updates `github.com/open-policy-agent/opa` from 1.21.4 to 1.22.0
- [Release notes](https://github.com/open-policy-agent/opa/releases)
- [Changelog](https://github.com/open-policy-agent/opa/blob/main/CHANGELOG.md)
- [Commits](open-policy-agent/opa@v1.21.4...v1.22.0)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-version: 5.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-minor-patch
- dependency-name: github.com/open-policy-agent/opa
  dependency-version: 1.22.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-minor-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team as a code owner November 9, 2026 05:16
@jonmartinstorm
jonmartinstorm merged commit 8015f2d into main Nov 9, 2026
8 checks passed
@dependabot
dependabot Bot deleted the dependabot/go_modules/go-minor-patch-32ff81e687 branch November 9, 2026 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant