build(deps): bump github.com/testcontainers/testcontainers-go from 0.41.0 to 0.42.0 #283

Open
dependabotbot_placeholder_mon8rt wants to merge 1 commit from dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.42.0 into main
dependabotbot_placeholder_mon8rt commented 2026-04-13 13:42:51 +00:00 (Migrated from git.csit.sgu.ru)

Bumps github.com/testcontainers/testcontainers-go from 0.41.0 to 0.42.0.

Release notes

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

v0.42.0

What's Changed

⚠️ Breaking Changes

🔒 Security

🐛 Bug Fixes

  • fix: return an error when docker host cannot be retrieved (#3613) @​ash2k

🧹 Housekeeping

📦 Dependency updates

  • chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp from 1.28.0 to 1.43.0 in /modules/grafana-lgtm (#3639) @dependabot[bot]
  • chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp from 1.42.0 to 1.43.0 in /modules/compose (#3641) @dependabot[bot]
  • chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp from 1.42.0 to 1.43.0 in /modules/compose (#3645) @dependabot[bot]
  • chore(deps): bump mkdocs-include-markdown-plugin from 7.2.1 to 7.2.2 (#3626) @dependabot[bot]
  • chore(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.51.2 to 1.97.3 in /modules/localstack (#3638) @dependabot[bot]
  • chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp from 1.41.0 to 1.43.0 in /modules/grafana-lgtm (#3643) @dependabot[bot]
  • chore(deps): bump go.opentelemetry.io/otel/sdk from 1.41.0 to 1.43.0 in /modules/milvus (#3644) @dependabot[bot]
  • chore: update to Go 1.25.9, 1.26.9 (#3647) @​thaJeztah
  • chore(deps): bump bump github.com/klauspost/compress v1.18.5, github.com/docker/compose v5.1.2 (#3646) @​thaJeztah
  • chore(deps): bump moby/client v0.4.0, moby/api v1.54.1 (#3634) @​thaJeztah
  • chore(deps): bump golang.org/x/sys from 0.41.0 to 0.42.0 (#3629) @dependabot[bot]
  • chore(deps): bump github.com/moby/patternmatcher from 0.6.0 to 0.6.1 (#3628) @dependabot[bot]
  • chore(deps): bump github.com/shirou/gopsutil/v4 from 4.26.2 to 4.26.3 (#3627) @dependabot[bot]
  • fix(localstack): accept community-archive as a valid tag (#3601) @​johnduhart
  • chore(deps): bump github.com/go-jose/go-jose/v4 from 4.1.3 to 4.1.4 in /modules/gcloud (#3632) @dependabot[bot]
  • chore(deps): bump actions/upload-artifact from 6.0.0 to 7.0.0 (#3625) @dependabot[bot]
  • chore(deps): bump pygments from 2.19.2 to 2.20.0 (#3615) @dependabot[bot]
  • chore(deps): bump google.golang.org/grpc from 1.67.0 to 1.79.3 in /modules/milvus (#3612) @dependabot[bot]
  • chore(deps): bump google.golang.org/grpc from 1.67.0 to 1.79.3 in /modules/etcd (#3611) @dependabot[bot]
  • chore(deps): bump google.golang.org/grpc from 1.79.1 to 1.79.3 in /modules/ollama (#3610) @dependabot[bot]
  • chore(deps): bump google.golang.org/grpc from 1.67.0 to 1.79.3 in /modules/pinecone (#3609) @dependabot[bot]
  • chore(deps): bump google.golang.org/grpc from 1.67.0 to 1.79.3 in /modules/couchbase (#3608) @dependabot[bot]
  • chore(deps): bump requests from 2.32.4 to 2.33.0 (#3604) @dependabot[bot]
  • chore(deps): bump google.golang.org/grpc from 1.79.1 to 1.79.3 in /modules/meilisearch (#3607) @dependabot[bot]
  • chore(deps): bump github.com/moby/buildkit from 0.27.1 to 0.28.1 in /modules/compose (#3605) @dependabot[bot]

... (truncated)

Commits
  • 6e58418 chore: use new version (v0.42.0) in modules and examples
  • f713dc0 chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetr...
  • 300827a chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetr...
  • 7a15ac1 chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptrace...
  • 5bae3d2 fix: return an error when docker host cannot be retrieved (#3613)
  • fc19484 chore(deps): bump mkdocs-include-markdown-plugin from 7.2.1 to 7.2.2 (#3626)
  • 95bdc0c chore(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 (#3638)
  • 75aa226 chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptrace...
  • 2f59938 chore(deps): bump go.opentelemetry.io/otel/sdk in /modules/milvus (#3644)
  • 580abf6 chore: update to Go 1.25.9, 1.26.9 (#3647)
  • 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)
Bumps [github.com/testcontainers/testcontainers-go](https://github.com/testcontainers/testcontainers-go) from 0.41.0 to 0.42.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/testcontainers/testcontainers-go/releases">github.com/testcontainers/testcontainers-go's releases</a>.</em></p> <blockquote> <h2>v0.42.0</h2> <h1>What's Changed</h1> <h2>⚠️ Breaking Changes</h2> <ul> <li>chore!: migrate to moby modules (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3591">#3591</a>) <a href="https://github.com/thaJeztah"><code>@​thaJeztah</code></a></li> </ul> <h2>🔒 Security</h2> <ul> <li>chore(deps): bump moby/client v0.4.0, moby/api v1.54.1 (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3634">#3634</a>) <a href="https://github.com/thaJeztah"><code>@​thaJeztah</code></a></li> </ul> <h2>🐛 Bug Fixes</h2> <ul> <li>fix: return an error when docker host cannot be retrieved (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3613">#3613</a>) <a href="https://github.com/ash2k"><code>@​ash2k</code></a></li> </ul> <h2>🧹 Housekeeping</h2> <ul> <li>chore: gitignore Gas Town agent artifacts (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3633">#3633</a>) <a href="https://github.com/mdelapenya"><code>@​mdelapenya</code></a></li> <li>fix(usage-metrics): include last release in the legend pop over (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3630">#3630</a>) <a href="https://github.com/mdelapenya"><code>@​mdelapenya</code></a></li> <li>chore: update usage metrics (2026-04) (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3621">#3621</a>) @<a href="https://github.com/apps/github-actions">github-actions[bot]</a></li> <li>fix(usage-metrics): order of actions matters (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3623">#3623</a>) <a href="https://github.com/mdelapenya"><code>@​mdelapenya</code></a></li> <li>fix(usage-metrics): reduce rate-limit cascade errors (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3622">#3622</a>) <a href="https://github.com/mdelapenya"><code>@​mdelapenya</code></a></li> <li>fix(usage-metrics): replace the per-version inline retry with a multi-pass approach (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3620">#3620</a>) <a href="https://github.com/mdelapenya"><code>@​mdelapenya</code></a></li> </ul> <h2>📦 Dependency updates</h2> <ul> <li>chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp from 1.28.0 to 1.43.0 in /modules/grafana-lgtm (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3639">#3639</a>) @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> <li>chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp from 1.42.0 to 1.43.0 in /modules/compose (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3641">#3641</a>) @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> <li>chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp from 1.42.0 to 1.43.0 in /modules/compose (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3645">#3645</a>) @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> <li>chore(deps): bump mkdocs-include-markdown-plugin from 7.2.1 to 7.2.2 (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3626">#3626</a>) @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> <li>chore(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.51.2 to 1.97.3 in /modules/localstack (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3638">#3638</a>) @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> <li>chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp from 1.41.0 to 1.43.0 in /modules/grafana-lgtm (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3643">#3643</a>) @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> <li>chore(deps): bump go.opentelemetry.io/otel/sdk from 1.41.0 to 1.43.0 in /modules/milvus (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3644">#3644</a>) @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> <li>chore: update to Go 1.25.9, 1.26.9 (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3647">#3647</a>) <a href="https://github.com/thaJeztah"><code>@​thaJeztah</code></a></li> <li>chore(deps): bump bump github.com/klauspost/compress v1.18.5, github.com/docker/compose v5.1.2 (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3646">#3646</a>) <a href="https://github.com/thaJeztah"><code>@​thaJeztah</code></a></li> <li>chore(deps): bump moby/client v0.4.0, moby/api v1.54.1 (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3634">#3634</a>) <a href="https://github.com/thaJeztah"><code>@​thaJeztah</code></a></li> <li>chore(deps): bump golang.org/x/sys from 0.41.0 to 0.42.0 (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3629">#3629</a>) @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> <li>chore(deps): bump github.com/moby/patternmatcher from 0.6.0 to 0.6.1 (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3628">#3628</a>) @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> <li>chore(deps): bump github.com/shirou/gopsutil/v4 from 4.26.2 to 4.26.3 (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3627">#3627</a>) @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> <li>fix(localstack): accept community-archive as a valid tag (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3601">#3601</a>) <a href="https://github.com/johnduhart"><code>@​johnduhart</code></a></li> <li>chore(deps): bump github.com/go-jose/go-jose/v4 from 4.1.3 to 4.1.4 in /modules/gcloud (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3632">#3632</a>) @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> <li>chore(deps): bump actions/upload-artifact from 6.0.0 to 7.0.0 (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3625">#3625</a>) @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> <li>chore(deps): bump pygments from 2.19.2 to 2.20.0 (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3615">#3615</a>) @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> <li>chore(deps): bump google.golang.org/grpc from 1.67.0 to 1.79.3 in /modules/milvus (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3612">#3612</a>) @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> <li>chore(deps): bump google.golang.org/grpc from 1.67.0 to 1.79.3 in /modules/etcd (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3611">#3611</a>) @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> <li>chore(deps): bump google.golang.org/grpc from 1.79.1 to 1.79.3 in /modules/ollama (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3610">#3610</a>) @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> <li>chore(deps): bump google.golang.org/grpc from 1.67.0 to 1.79.3 in /modules/pinecone (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3609">#3609</a>) @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> <li>chore(deps): bump google.golang.org/grpc from 1.67.0 to 1.79.3 in /modules/couchbase (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3608">#3608</a>) @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> <li>chore(deps): bump requests from 2.32.4 to 2.33.0 (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3604">#3604</a>) @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> <li>chore(deps): bump google.golang.org/grpc from 1.79.1 to 1.79.3 in /modules/meilisearch (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3607">#3607</a>) @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> <li>chore(deps): bump github.com/moby/buildkit from 0.27.1 to 0.28.1 in /modules/compose (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3605">#3605</a>) @<a href="https://github.com/apps/dependabot">dependabot[bot]</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/testcontainers/testcontainers-go/commit/6e584183e1623fb83a78db902462eb9ee255327b"><code>6e58418</code></a> chore: use new version (v0.42.0) in modules and examples</li> <li><a href="https://github.com/testcontainers/testcontainers-go/commit/f713dc0c78c37558ed13c985f5ed15101a6cba08"><code>f713dc0</code></a> chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetr...</li> <li><a href="https://github.com/testcontainers/testcontainers-go/commit/300827abcec0b6e2d8c10c8360d335f29962f701"><code>300827a</code></a> chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetr...</li> <li><a href="https://github.com/testcontainers/testcontainers-go/commit/7a15ac1b7214c0bc5cb14c31a979a166ac5c088c"><code>7a15ac1</code></a> chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptrace...</li> <li><a href="https://github.com/testcontainers/testcontainers-go/commit/5bae3d2aa7281a71d1c24b5f8bde1391e2e8dfcb"><code>5bae3d2</code></a> fix: return an error when docker host cannot be retrieved (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3613">#3613</a>)</li> <li><a href="https://github.com/testcontainers/testcontainers-go/commit/fc19484a8ae088b714a9e9d7d9bba2ae383e3e69"><code>fc19484</code></a> chore(deps): bump mkdocs-include-markdown-plugin from 7.2.1 to 7.2.2 (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3626">#3626</a>)</li> <li><a href="https://github.com/testcontainers/testcontainers-go/commit/95bdc0c4a0b368564f052bd7a533f055adab694a"><code>95bdc0c</code></a> chore(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3638">#3638</a>)</li> <li><a href="https://github.com/testcontainers/testcontainers-go/commit/75aa22665b03ec8d597341575001d71ff693f1fc"><code>75aa226</code></a> chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptrace...</li> <li><a href="https://github.com/testcontainers/testcontainers-go/commit/2f59938fb9ce365d974fe21a426ffffe7231caca"><code>2f59938</code></a> chore(deps): bump go.opentelemetry.io/otel/sdk in /modules/milvus (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3644">#3644</a>)</li> <li><a href="https://github.com/testcontainers/testcontainers-go/commit/580abf68d44021bc7e54f8655a2fb66578205527"><code>580abf6</code></a> chore: update to Go 1.25.9, 1.26.9 (<a href="https://redirect.github.com/testcontainers/testcontainers-go/issues/3647">#3647</a>)</li> <li>Additional commits viewable in <a href="https://github.com/testcontainers/testcontainers-go/compare/v0.41.0...v0.42.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/testcontainers/testcontainers-go&package-manager=go_modules&previous-version=0.41.0&new-version=0.42.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details>
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.42.0:dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.42.0
git switch dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.42.0

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.42.0
git switch dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.42.0
git rebase main
git switch main
git merge --ff-only dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.42.0
git switch dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.42.0
git rebase main
git switch main
git merge --no-ff dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.42.0
git switch main
git merge --squash dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.42.0
git switch main
git merge --ff-only dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.42.0
git switch main
git merge dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.42.0
git push origin main
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dsc/mm-backend!283
No description provided.