Skip to content

chore(deps): bump github.com/jackc/pgx/v5 from 5.5.4 to 5.9.0 in /modules/postgres#3652

Merged
mdelapenya merged 1 commit into
mainfrom
dependabot/go_modules/modules/postgres/github.com/jackc/pgx/v5-5.9.0
Apr 17, 2026
Merged

chore(deps): bump github.com/jackc/pgx/v5 from 5.5.4 to 5.9.0 in /modules/postgres#3652
mdelapenya merged 1 commit into
mainfrom
dependabot/go_modules/modules/postgres/github.com/jackc/pgx/v5-5.9.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 16, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/jackc/pgx/v5 from 5.5.4 to 5.9.0.

Changelog

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

5.9.0 (March 21, 2026)

This release includes a number of new features such as SCRAM-SHA-256-PLUS support, OAuth authentication support, and PostgreSQL protocol 3.2 support.

It significantly reduces the amount of network traffic when using prepared statements (which are used automatically by default) by avoiding unnecessary Describe Portal messages. This also reduces local memory usage.

It also includes multiple fixes for potential DoS due to panic or OOM if connected to a malicious server that sends deliberately malformed messages.

  • Require Go 1.25+
  • Add SCRAM-SHA-256-PLUS support (Adam Brightwell)
  • Add OAuth authentication support for PostgreSQL 18 (David Schneider)
  • Add PostgreSQL protocol 3.2 support (Dirkjan Bussink)
  • Add tsvector type support (Adam Brightwell)
  • Skip Describe Portal for cached prepared statements reducing network round trips
  • Make LoadTypes query easier to support on "postgres-like" servers (Jelte Fennema-Nio)
  • Default empty user to current OS user matching libpq behavior (ShivangSrivastava)
  • Optimize LRU statement cache with custom linked list and node pooling (Mathias Bogaert)
  • Optimize date scanning by replacing regex with manual parsing (Mathias Bogaert)
  • Optimize pgio append/set functions with direct byte shifts (Mathias Bogaert)
  • Make RowsAffected faster (Abhishek Chanda)
  • Fix: Pipeline.Close panic when server sends multiple FATAL errors (Varun Chawla)
  • Fix: ContextWatcher goroutine leak (Hank Donnay)
  • Fix: stdlib discard connections with open transactions in ResetSession (Jeremy Schneider)
  • Fix: pipelineBatchResults.Exec silently swallowing lastRows error
  • Fix: ColumnTypeLength using BPCharArrayOID instead of BPCharOID
  • Fix: TSVector text encoding returning nil for valid empty tsvector
  • Fix: wrong error messages for Int2 and Int4 underflow
  • Fix: Numeric nil Int pointer dereference with Valid: true
  • Fix: reversed strings.ContainsAny arguments in Numeric.ScanScientific
  • Fix: message length parsing on 32-bit platforms
  • Fix: FunctionCallResponse.Decode mishandling of signed result size
  • Fix: returning wrong error in configTLS when DecryptPEMBlock fails (Maxim Motyshen)
  • Fix: misleading ParseConfig error when default_query_exec_mode is invalid (Skarm)
  • Fix: missed Unwatch in Pipeline error paths
  • Clarify too many failed acquire attempts error message
  • Better error wrapping with context and SQL statement (Aneesh Makala)
  • Enable govet and ineffassign linters (Federico Guerinoni)
  • Guard against various malformed binary messages (arrays, hstore, multirange, protocol messages)
  • Fix various godoc comments (ferhat elmas)
  • Fix typos in comments (Oleksandr Redko)

5.8.0 (December 26, 2025)

  • Require Go 1.24+
  • Remove golang.org/x/crypto dependency
  • Add OptionShouldPing to control ResetSession ping behavior (ilyam8)
  • Fix: Avoid overflow when MaxConns is set to MaxInt32

... (truncated)

Commits
  • b4d8e62 Release v5.9.0
  • c227cd4 Bump minimum Go version from 1.24 to 1.25
  • f492c14 Use reflect.TypeFor instead of reflect.TypeOf for static types
  • ad8fb08 Use sync.WaitGroup.Go to simplify goroutine spawning
  • 3033773 Remove go1.26 build tag from synctest test
  • 83ffb3c Validate multirange element count against source length before allocating
  • 828f214 Fix message length parsing on 32-bit platforms
  • e196a39 Add fuzz test for SQL lexer in sanitize package
  • 7f969f8 Rename TraceQueryute to traceExecute
  • ab52391 Use single Stat snapshot in checkMinConns
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.5.4 to 5.9.0.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](jackc/pgx@v5.5.4...v5.9.0)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-version: 5.9.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Dependencies or external services go Pull requests that update go code labels Apr 16, 2026
@dependabot dependabot Bot requested a review from a team as a code owner April 16, 2026 22:14
@dependabot dependabot Bot added dependencies Dependencies or external services go Pull requests that update go code labels Apr 16, 2026
@netlify

netlify Bot commented Apr 16, 2026

Copy link
Copy Markdown

Deploy Preview for testcontainers-go ready!

Name Link
🔨 Latest commit b86a79a
🔍 Latest deploy log https://app.netlify.com/projects/testcontainers-go/deploys/69e15f4ffe61180008885595
😎 Deploy Preview https://deploy-preview-3652--testcontainers-go.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added the chore Changes that do not impact the existing functionality label Apr 16, 2026
@mdelapenya mdelapenya merged commit 3caae2e into main Apr 17, 2026
16 checks passed
@mdelapenya mdelapenya deleted the dependabot/go_modules/modules/postgres/github.com/jackc/pgx/v5-5.9.0 branch April 17, 2026 05:24
@mdelapenya mdelapenya removed the chore Changes that do not impact the existing functionality label Apr 17, 2026
hbjydev pushed a commit to hbjydev/containers that referenced this pull request Jun 25, 2026
… (v0.42.0 → v0.43.0) (#9)

This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [github.com/testcontainers/testcontainers-go](https://github.com/testcontainers/testcontainers-go) | `v0.42.0` → `v0.43.0` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2ftestcontainers%2ftestcontainers-go/v0.43.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2ftestcontainers%2ftestcontainers-go/v0.42.0/v0.43.0?slim=true) |

---

### Release Notes

<details>
<summary>testcontainers/testcontainers-go (github.com/testcontainers/testcontainers-go)</summary>

### [`v0.43.0`](https://github.com/testcontainers/testcontainers-go/releases/tag/v0.43.0)

[Compare Source](testcontainers/testcontainers-go@v0.42.0...v0.43.0)

### What's Changed

#### ⚠️ Breaking Changes

- chore(wait)!: change url callback in wait.ForSQL to accept network.Port ([#&#8203;3650](testcontainers/testcontainers-go#3650)) [@&#8203;thaJeztah](https://github.com/thaJeztah)

> Users of `wait.ForSQL` need to follow the new API contract, using Moby's `network.Port` instead of `string` when building the callback function to check the URL. Please see <https://golang.testcontainers.org/features/wait/sql/>

- feat!: add PullImageWithPlatform to DockerProvider ([#&#8203;3710](testcontainers/testcontainers-go#3710)) [@&#8203;blueprismo](https://github.com/blueprismo)

> Users implementing their own `testcontainers.ImageProvider` need to implement the new `PullImageWithPlatform` method introduced by this PR.

#### 🚀 Features

- feat(k3s):  pull image opts ([#&#8203;3716](testcontainers/testcontainers-go#3716)) [@&#8203;blueprismo](https://github.com/blueprismo)
- feat(wait): implement AnyMultiStrategy: ForAny equivalent to ForAll. ([#&#8203;3719](testcontainers/testcontainers-go#3719)) [@&#8203;jeanbza](https://github.com/jeanbza)
- feat(eventhubs): add WithAzuriteContainer and functional-options config builder ([#&#8203;3722](testcontainers/testcontainers-go#3722)) [@&#8203;mdelapenya](https://github.com/mdelapenya)
- feat!: add PullImageWithPlatform to DockerProvider ([#&#8203;3710](testcontainers/testcontainers-go#3710)) [@&#8203;blueprismo](https://github.com/blueprismo)
- feat(modules/dex): add Dex OIDC provider module ([#&#8203;3659](testcontainers/testcontainers-go#3659)) [@&#8203;guilycst](https://github.com/guilycst)

#### 🐛 Bug Fixes

- fix(security): remove debug code that leaks Docker credentials ([#&#8203;3721](testcontainers/testcontainers-go#3721)) [@&#8203;mdelapenya](https://github.com/mdelapenya)
- fix(ollama): align local exec test with Ollama 0.30.6 log format ([#&#8203;3715](testcontainers/testcontainers-go#3715)) [@&#8203;mdelapenya](https://github.com/mdelapenya)
- fix: close temp file handle before removal  ([#&#8203;3672](testcontainers/testcontainers-go#3672)) [@&#8203;acouvreur](https://github.com/acouvreur)
- fix(compose): close docker clients to prevent goroutine leaks ([#&#8203;3661](testcontainers/testcontainers-go#3661)) [@&#8203;mdelapenya](https://github.com/mdelapenya)
- fix: wait for log production goroutine to drain on stop ([#&#8203;3660](testcontainers/testcontainers-go#3660)) [@&#8203;mdelapenya](https://github.com/mdelapenya)

#### 📖 Documentation

- chore: update usage metrics (2026-06) ([#&#8203;3714](testcontainers/testcontainers-go#3714)) @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions)

#### 🧹 Housekeeping

- chore(wait)!: change url callback in wait.ForSQL to accept network.Port ([#&#8203;3650](testcontainers/testcontainers-go#3650)) [@&#8203;thaJeztah](https://github.com/thaJeztah)
- chore: update usage metrics (2026-05) ([#&#8203;3670](testcontainers/testcontainers-go#3670)) @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions)
- chore: remove cgroupnsMode setting from K3s container configuration ([#&#8203;3653](testcontainers/testcontainers-go#3653)) [@&#8203;lixin9311](https://github.com/lixin9311)

#### 📦 Dependency updates

- chore(deps): update dependencies to latest versions in go.mod and go.sum ([#&#8203;3729](testcontainers/testcontainers-go#3729)) [@&#8203;Steven-Harris](https://github.com/Steven-Harris)
- chore: bump sshd-docker image to 1.4.0 ([#&#8203;3727](testcontainers/testcontainers-go#3727)) [@&#8203;mdelapenya](https://github.com/mdelapenya)
- chore(deps): bump Ryuk to v0.14.0 ([#&#8203;3313](testcontainers/testcontainers-go#3313)) [@&#8203;mdelapenya](https://github.com/mdelapenya)
- chore(deps): bump github.com/shirou/gopsutil/v4 from 4.26.4 to 4.26.5 ([#&#8203;3713](testcontainers/testcontainers-go#3713)) @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump golang.org/x/sys from 0.44.0 to 0.45.0 ([#&#8203;3712](testcontainers/testcontainers-go#3712)) @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump mkdocs-include-markdown-plugin from 7.2.2 to 7.3.0 ([#&#8203;3711](testcontainers/testcontainers-go#3711)) @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump slackapi/slack-github-action from 2.1.1 to 3.0.3 ([#&#8203;3677](testcontainers/testcontainers-go#3677)) @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump idna from 3.11 to 3.15 ([#&#8203;3708](testcontainers/testcontainers-go#3708)) @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump github.com/containerd/containerd/v2 from 2.2.2 to 2.2.4 in /modules/compose ([#&#8203;3709](testcontainers/testcontainers-go#3709)) @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump urllib3 from 2.6.3 to 2.7.0 ([#&#8203;3704](testcontainers/testcontainers-go#3704)) @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump github.com/shirou/gopsutil/v4 from 4.26.3 to 4.26.4 ([#&#8203;3667](testcontainers/testcontainers-go#3667)) @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump github.com/moby/moby/api from 1.54.1 to 1.54.2 ([#&#8203;3676](testcontainers/testcontainers-go#3676)) @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump golang.org/x/crypto from 0.48.0 to 0.51.0 ([#&#8203;3689](testcontainers/testcontainers-go#3689)) [@&#8203;mdelapenya](https://github.com/mdelapenya)
- chore(deps): bump google.golang.org/grpc from 1.79.3 to 1.81.0 in /modules/gcloud ([#&#8203;3690](testcontainers/testcontainers-go#3690)) @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump google.golang.org/grpc from 1.75.0 to 1.81.0 in /modules/dex ([#&#8203;3686](testcontainers/testcontainers-go#3686)) @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump github.com/in-toto/in-toto-golang from 0.10.0 to 0.11.0 in /modules/compose ([#&#8203;3674](testcontainers/testcontainers-go#3674)) @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump docker/setup-docker-action from 4.5.0 to 5.1.0 ([#&#8203;3664](testcontainers/testcontainers-go#3664)) @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump mkdocs-include-markdown-plugin from 7.2.1 to 7.2.2 ([#&#8203;3665](testcontainers/testcontainers-go#3665)) @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump github.com/apache/thrift from 0.21.0 to 0.23.0 in /modules/nebulagraph ([#&#8203;3673](testcontainers/testcontainers-go#3673)) @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump github.com/Azure/go-ntlmssp from 0.0.0-20221128193559-754e69321358 to 0.1.1 in /modules/openldap ([#&#8203;3658](testcontainers/testcontainers-go#3658)) @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump github.com/jackc/pgx/v5 from 5.9.0 to 5.9.2 in /modules/postgres ([#&#8203;3657](testcontainers/testcontainers-go#3657)) @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump github.com/jackc/pgx/v5 from 5.5.4 to 5.9.2 in /modules/cockroachdb ([#&#8203;3656](testcontainers/testcontainers-go#3656)) @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump github.com/jackc/pgx/v5 from 5.5.4 to 5.9.0 in /modules/postgres ([#&#8203;3652](testcontainers/testcontainers-go#3652)) @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot)

</details>

---

### Configuration

📅 **Schedule**: (in timezone Europe/London)

- 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.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMzIuMSIsInVwZGF0ZWRJblZlciI6IjQzLjI0Mi4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0eXBlL21pbm9yIl19-->

Reviewed-on: https://forgejo.hayden.moe/hayden/containers/pulls/9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependencies or external services go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant