Skip to content

[gomod] Bump github.com/testcontainers/testcontainers-go/modules/postgres from 0.44.0 to 0.45.0 - #99

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/testcontainers/testcontainers-go/modules/postgres-0.45.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/testcontainers/testcontainers-go/modules/postgres-0.45.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps github.com/testcontainers/testcontainers-go/modules/postgres from 0.44.0 to 0.45.0.

Release notes

Sourced from github.com/testcontainers/testcontainers-go/modules/postgres's releases.

v0.45.0

What's Changed

⚠️ Breaking Changes

Client SDK dependencies have moved into separate examples modules. For CockroachDB, ConnectionConfig is now available through cockroachdbexamples.NewContainer(c) in modules/cockroachdb/examples. The parent’s ConnectionString and MustConnectionString now return PostgreSQL URLs instead of registered pgx handles, and importing the parent no longer registers the pgx SQL driver. Use the examples adapter to retain the previous SDK behavior, or configure the driver yourself.

For Dex, AddClient, RemoveClient, AddUser, and RemoveUser have moved from *dex.Container to dexexamples.NewAdminClient(c) in modules/dex/examples. Static configuration through WithClient and WithUser is unchanged.

For Cosmos DB, ContainerPolicy and NewContainerPolicy have moved from modules/azure/cosmosdb to modules/azure/examples/cosmosdb. Update the adapter import; its constructor still accepts the parent container. Run, Container, and ConnectionString remain unchanged in the parent module.

🔒 Security

🚀 Features

🐛 Bug Fixes

📖 Documentation

🧹 Housekeeping

... (truncated)

Commits
  • b4fe821 chore: use new version (v0.45.0) in modules and examples
  • d40be72 chore(deps): bump github.com/go-jose/go-jose/v4 in /modules/dex/examples (#4088)
  • 0d12cc6 chore(modules): finish test client isolation and document examples modules (#...
  • 9cc89fd chore(modules): isolate eight remaining compatible client SDKs (#4086)
  • 9ec5407 chore(modules)!: extract CockroachDB and Dex client adapters (#4087)
  • 5c9480f chore(modules): isolate client examples across eleven more modules (#4084)
  • 6aaef66 fix(ci): initialize sbx network policy before tests (#4085)
  • 55f58fe chore(modules): isolate client examples across eleven modules (#4083)
  • ea5a2e8 chore(deps): bump go.mongodb.org/mongo-driver (#4075)
  • 60b08c4 docs: show cumulative clones and unique cloners (#4082)
  • Additional commits viewable in compare view

Dependabot compatibility score

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

…gres

Bumps [github.com/testcontainers/testcontainers-go/modules/postgres](https://github.com/testcontainers/testcontainers-go) from 0.44.0 to 0.45.0.
- [Release notes](https://github.com/testcontainers/testcontainers-go/releases)
- [Commits](testcontainers/testcontainers-go@v0.44.0...v0.45.0)

---
updated-dependencies:
- dependency-name: github.com/testcontainers/testcontainers-go/modules/postgres
  dependency-version: 0.45.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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 13, 2026

@ecosquad-autoreview ecosquad-autoreview Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary

Dependabot bump of github.com/testcontainers/testcontainers-go and modules/postgres from v0.44.0 → v0.45.0, plus the resulting indirect dependency updates in go.mod/go.sum (docker go-connections, moby, otel, etc.).

The only in-repo usage of testcontainers is tests/main_test.go, which relies on the stable postgres-module API (postgres.Run, WithInitScripts/WithDatabase/WithUsername/WithPassword, MappedPort, wait.ForLog, TerminateContainer). The breaking changes in v0.45.0 (extracted CockroachDB/Dex/CosmosDB client adapters) do not affect the postgres module, so no code changes are required.

Findings

Critical: none.

Warning: none.

Suggestion: none — the diff is a straightforward dependency version bump.

CI

  • build, go-test, go-test-acc (integration tests, which actually start the postgres testcontainer), golangci-lint all pass on the head commit.
  • CodeQL and GitGuardian: neutral / clean.

The integration test passing confirms the testcontainer works with v0.45.0.

Verdict: approve.

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