Skip to content

fix(deps): update module github.com/testcontainers/testcontainers-go to v0.42.0#271

Open
renovate-sh-app[bot] wants to merge 1 commit intomainfrom
renovate/testcontainers-go-monorepo
Open

fix(deps): update module github.com/testcontainers/testcontainers-go to v0.42.0#271
renovate-sh-app[bot] wants to merge 1 commit intomainfrom
renovate/testcontainers-go-monorepo

Conversation

@renovate-sh-app
Copy link
Copy Markdown
Contributor

@renovate-sh-app renovate-sh-app bot commented Apr 13, 2026

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
github.com/testcontainers/testcontainers-go v0.37.0v0.42.0 age confidence

Release Notes

testcontainers/testcontainers-go (github.com/testcontainers/testcontainers-go)

v0.42.0

Compare Source

What's Changed

⚠️ Breaking Changes

🔒 Security

🐛 Bug Fixes

🧹 Housekeeping

📦 Dependency updates

v0.41.0

Compare Source

What's Changed
🚀 Features
🐛 Bug Fixes
📖 Documentation
🧹 Housekeeping
📦 Dependency updates

v0.40.0

Compare Source

What's Changed
⚠️ Breaking Changes

The below modules receive a breaking change in the signature of their functional options, as now all of them return an error when needed (returning nil for success). Therefore, you're only affected when assigning the options to variables.

  • Old: type Option func(*options)
  • New: type Option func(*options) error
🚀 Features
🐛 Bug Fixes
📖 Documentation
🧹 Housekeeping
📦 Dependency updates

v0.39.0

Compare Source

What's Changed
🚀 Features
🐛 Bug Fixes
📖 Documentation
  • docs: clarify no client SDKs in production modules/images, in contributing.md (#​3279) @​nimdrak
🧹 Housekeeping
📦 Dependency updates

v0.38.0

Compare Source

What's Changed
⚠️ Breaking Changes

The breaking change comes as a behaviour that has been removed: the readiness check for the exposed ports. It led to flakiness and for that reason we removed it.

Only for users of the testcontainers.NewRawCommand function to create executables in containers, that are assigning the function to a variable. We added a variadic argument to the signature, so the rest of the users won't be affected by this breaking change.

  • chore(deps)!: bump github.com/docker/docker from 28.1.1+incompatible to 28.2.2+incompatible (#​3194) @​mdelapenya

Implementers of the testcontainers.ImageBuildInfo interface, would see that testcontainers.BuildOptions has changed its signature to use non-deprecated types from docker/docker:

type ImageBuildInfo interface {
- 	 BuildOptions() (types.ImageBuildOptions, error) // converts the ImageBuildInfo to a types.ImageBuildOptions
+        BuildOptions() (build.ImageBuildOptions, error) // converts the ImageBuildInfo to a build.ImageBuildOptions

Also users of the testcontainers.FromDockerfile struct will receive this breaking change, as the BuildOptionsModifier fields has changed:

- BuildOptionsModifier func(*types.ImageBuildOptions)
+ BuildOptionsModifier func(*build.ImageBuildOptions)
🔒 Security
🚀 Features
🐛 Bug Fixes
  • fix: strip headers from logs using log stream specification ([#​3226](http

Configuration

📅 Schedule: (UTC)

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


  • If you want to rebase/retry this PR, check this box

Need help?

You can ask for more help in the following Slack channel: #proj-renovate-self-hosted. In that channel you can also find ADR and FAQ docs in the Resources section.

@renovate-sh-app
Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: itest/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 23 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.24.6 -> 1.25.0
dario.cat/mergo v1.0.1 -> v1.0.2
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 -> v0.0.0-20250102033503-faa5f7b0171c
github.com/cenkalti/backoff/v4 v4.2.1 -> v4.3.0
github.com/docker/go-connections v0.5.0 -> v0.6.0
github.com/ebitengine/purego v0.8.2 -> v0.10.0
github.com/klauspost/compress v1.17.4 -> v1.18.5
github.com/moby/term v0.5.0 -> v0.5.2
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c -> v0.0.0-20240221224432-82ca36839d55
github.com/shirou/gopsutil/v4 v4.25.1 -> v4.26.3
github.com/sirupsen/logrus v1.9.3 -> v1.9.4
github.com/tklauser/go-sysconf v0.3.12 -> v0.3.16
github.com/tklauser/numcpus v0.6.1 -> v0.11.0
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 -> v0.60.0
go.opentelemetry.io/otel v1.41.0 -> v1.43.0
go.opentelemetry.io/otel/metric v1.41.0 -> v1.43.0
go.opentelemetry.io/otel/sdk/metric v1.41.0 -> v1.43.0
go.opentelemetry.io/otel/trace v1.41.0 -> v1.43.0
golang.org/x/crypto v0.46.0 -> v0.49.0
golang.org/x/net v0.48.0 -> v0.52.0
golang.org/x/sys v0.41.0 -> v0.42.0
golang.org/x/text v0.33.0 -> v0.35.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20260120221211-b8f7ae30c516 -> v0.0.0-20260401024825-9d38bb4040a9
google.golang.org/grpc v1.79.3 -> v1.80.0

@renovate-sh-app renovate-sh-app bot force-pushed the renovate/testcontainers-go-monorepo branch from d7650a3 to 0888ce2 Compare April 13, 2026 08:10
…to v0.42.0

| datasource | package                                     | from    | to      |
| ---------- | ------------------------------------------- | ------- | ------- |
| go         | github.com/testcontainers/testcontainers-go | v0.37.0 | v0.42.0 |


Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
@renovate-sh-app renovate-sh-app bot force-pushed the renovate/testcontainers-go-monorepo branch from 0888ce2 to 32fbc6b Compare April 14, 2026 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants