Bump github.com/testcontainers/testcontainers-go from 0.40.0 to 0.42.0#855
Merged
kvch merged 3 commits intoJun 4, 2026
Conversation
Bumps [github.com/testcontainers/testcontainers-go](https://github.com/testcontainers/testcontainers-go) from 0.40.0 to 0.42.0. - [Release notes](https://github.com/testcontainers/testcontainers-go/releases) - [Commits](testcontainers/testcontainers-go@v0.40.0...v0.42.0) --- updated-dependencies: - dependency-name: github.com/testcontainers/testcontainers-go dependency-version: 0.42.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
368953f to
e6a574a
Compare
Bumping the core lib alone breaks compilation: the v0.40.0 kafka and opensearch submodules don't compile against v0.42.0 core (nat.Port type change in wait.ForMappedPort/PortEndpoint, and HostConfig moved from docker/docker to moby/moby). Bumping the four submodules (kafka, postgres, opensearch, elasticsearch) alongside the core lib lets CI go green. Supersedes #858 (postgres) and #860 (kafka). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Collaborator
|
Pushed a follow-up commit that bumps the four testcontainers submodules (kafka, postgres, opensearch, elasticsearch) alongside the core lib bump in this PR. The submodules at v0.40.0 don't compile against v0.42.0 core — This PR now covers the full bump, so it supersedes #858 and #860. Verified locally: |
This was referenced Jun 4, 2026
…stcontainers/testcontainers-go-0.42.0
kvch
approved these changes
Jun 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps github.com/testcontainers/testcontainers-go from 0.40.0 to 0.42.0.
Release notes
Sourced from github.com/testcontainers/testcontainers-go's releases.
... (truncated)
Commits
6e58418chore: use new version (v0.42.0) in modules and examplesf713dc0chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetr...300827achore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetr...7a15ac1chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptrace...5bae3d2fix: return an error when docker host cannot be retrieved (#3613)fc19484chore(deps): bump mkdocs-include-markdown-plugin from 7.2.1 to 7.2.2 (#3626)95bdc0cchore(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 (#3638)75aa226chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptrace...2f59938chore(deps): bump go.opentelemetry.io/otel/sdk in /modules/milvus (#3644)580abf6chore: update to Go 1.25.9, 1.26.9 (#3647)