Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 10, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/testcontainers/testcontainers-go v0.34.0 -> v0.40.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

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

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

📖 Documentation

🧹 Housekeeping

📦 Dependency updates

v0.37.0

Compare Source

What's Changed

🔒 Security

  • chore(deps): bump golang.org/x/crypto from 0.31.0 to 0.35.0 in /modules/aerospike (#​3105) @​dependabot[bot]
  • chore(pulsar): bump github.com/apache/pulsar-client-go from 0.10.0 to 0.14.0 in /modules/pulsar (#​3100) @​mdelapenya
  • chore(clickhouse): bump github.com/ClickHouse/clickhouse-go/v2 from 2.20.0 to 2.34.0 in /modules/clickhouse (#​3099) @​dependabot[bot]
  • security(compose): upgrade github.com/docker/compose/v2 to fix security vulnerability (#​3095) @​sigi-glovebox

🚀 Features

🐛 Bug Fixes

📖 Documentation

🧹 Housekeeping

📦 Dependency updates

v0.36.0

Compare Source

What's Changed

⚠️ Breaking Changes

  • feat(azure)!: add Azurite, EventHubs and ServiceBus in the new Azure module, deprecating the old Azurite module (#​3008) @​mdelapenya

Users of the old Azurite module must update their code to use the new Azure module instead, which contains the same functionality under the azurite sub-package.
We took this opportunity to remove the unnecessarily exported Settings field from the Azurite container type,
so users of the Azurite container type must update their code to simply do not use that field.

  • chore(deps)!: bump github.com/docker/docker from 27.1.1+incompatible to 28.0.1+incompatible (#​3017) @​dependabot[bot]

Bumping the Docker package to a newer major version came with lots of benefits, but also some breaking changes. For that reason, users of the following
container methods and types must update their code to use the new types and methods instead:

  • Container.Inspect: the return type has been changed from types.ContainerJSON to container.InspectResponse.
  • Container.State: the return type has been changed from types.ContainerState to container.State.
  • DockerProvider.ContainerFromType: the method signature has been changed to accept a container.Summary instead of a types.Container.
    At the same time, if consuming Docker types or methods, users must update their code to use the new types and methods instead.
    As a good rule of thumb, users of the "github.com/docker/docker/api/types" package must update their code to use "github.com/docker/docker/api/types/container" instead.

Users of the deprecated DockerCompose type from the compose module must update their code to use DockerComposer instead.
The former unexported dockerCompose type has been renamed to DockerCompose. This breaking change was done because returning
an un-exported type from a constructor function limits the flexibility and usability of the returned instance. Callers could use
the exported methods, but could not declare variables of that type, pass instances to other functions, or embed them in structs
without exposing the constructor itself. This breaking change was needed to improve the usability of the compose module.

Users of the testcontainers.Logging variable and the testcontainers.TestLogger function must update their code to use the new log.Default() logger instance and the log.TestLogger() function instead, and
users of the testcontainers.Logger interface must update their code to use the new log.Logger interface instead.
The new log package allows users to set a custom logger instance calling the log.SetDefault(l log.Logger) function.
This breaking change was needed to improve the usability of the logging functionality when using the testcontainers package.

Users of the NATS module and the ConnectionString type must remove the variadic arguments from the ConnectionString method. This breaking change was needed because those arguments weren't in use.

We fixed a typo in the exported field of the `Conta


Configuration

📅 Schedule: 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

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Jan 10, 2025

ℹ Artifact update notice

File name: 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):

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

Details:

Package Change
go 1.22 -> 1.24.0
github.com/stretchr/testify v1.10.0 -> v1.11.0
dario.cat/mergo v1.0.0 -> v1.0.2
github.com/cenkalti/backoff/v4 v4.2.1 -> v4.3.0
github.com/docker/docker v27.1.1+incompatible -> v28.5.1+incompatible
github.com/docker/go-connections v0.5.0 -> v0.6.0
github.com/go-logr/logr v1.4.1 -> v1.4.2
github.com/klauspost/compress v1.17.4 -> v1.18.0
github.com/kr/text v0.1.0 -> v0.2.0
github.com/magiconair/properties v1.8.7 -> v1.8.10
github.com/moby/sys/sequential v0.5.0 -> v0.6.0
github.com/moby/sys/user v0.1.0 -> v0.4.0
github.com/opencontainers/image-spec v1.1.0 -> v1.1.1
github.com/yusufpapurcu/wmi v1.2.3 -> v1.2.4
go.opentelemetry.io/otel v1.24.0 -> v1.35.0
go.opentelemetry.io/otel/metric v1.24.0 -> v1.35.0
go.opentelemetry.io/otel/trace v1.24.0 -> v1.35.0
golang.org/x/crypto v0.22.0 -> v0.43.0
golang.org/x/sys v0.21.0 -> v0.37.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 -> v0.0.0-20240903143218-8af14fe29dc1
google.golang.org/grpc v1.64.1 -> v1.67.0
google.golang.org/protobuf v1.33.0 -> v1.34.2

@renovate renovate bot changed the title fix(deps): update module github.com/testcontainers/testcontainers-go to v0.35.0 fix(deps): update module github.com/testcontainers/testcontainers-go to v0.35.0 - autoclosed Feb 7, 2025
@renovate renovate bot closed this Feb 7, 2025
@renovate renovate bot deleted the renovate/testcontainers-go-monorepo branch February 7, 2025 02:15
@renovate renovate bot changed the title fix(deps): update module github.com/testcontainers/testcontainers-go to v0.35.0 - autoclosed fix(deps): update module github.com/testcontainers/testcontainers-go to v0.35.0 Feb 7, 2025
@renovate renovate bot reopened this Feb 7, 2025
@renovate renovate bot force-pushed the renovate/testcontainers-go-monorepo branch from 90db5b3 to 40a9f92 Compare February 7, 2025 06:12
@renovate renovate bot changed the title fix(deps): update module github.com/testcontainers/testcontainers-go to v0.35.0 fix(deps): update module github.com/testcontainers/testcontainers-go to v0.35.0 - autoclosed Feb 28, 2025
@renovate renovate bot closed this Feb 28, 2025
@renovate renovate bot changed the title fix(deps): update module github.com/testcontainers/testcontainers-go to v0.35.0 - autoclosed fix(deps): update module github.com/testcontainers/testcontainers-go to v0.35.0 Feb 28, 2025
@renovate renovate bot reopened this Feb 28, 2025
@renovate renovate bot force-pushed the renovate/testcontainers-go-monorepo branch from be67016 to 40a9f92 Compare February 28, 2025 08:43
@renovate renovate bot changed the title fix(deps): update module github.com/testcontainers/testcontainers-go to v0.35.0 fix(deps): update module github.com/testcontainers/testcontainers-go to v0.35.0 - autoclosed Mar 2, 2025
@renovate renovate bot closed this Mar 2, 2025
@renovate renovate bot changed the title fix(deps): update module github.com/testcontainers/testcontainers-go to v0.35.0 - autoclosed fix(deps): update module github.com/testcontainers/testcontainers-go to v0.35.0 Mar 3, 2025
@renovate renovate bot reopened this Mar 3, 2025
@renovate renovate bot force-pushed the renovate/testcontainers-go-monorepo branch from 40a9f92 to 15e9510 Compare March 27, 2025 13:08
@renovate renovate bot changed the title fix(deps): update module github.com/testcontainers/testcontainers-go to v0.35.0 fix(deps): update module github.com/testcontainers/testcontainers-go to v0.36.0 Mar 27, 2025
@renovate renovate bot force-pushed the renovate/testcontainers-go-monorepo branch from 15e9510 to 7d9ddcb Compare April 8, 2025 15:33
@renovate renovate bot force-pushed the renovate/testcontainers-go-monorepo branch from 7d9ddcb to d5b0c0c Compare April 25, 2025 16:09
@renovate renovate bot changed the title fix(deps): update module github.com/testcontainers/testcontainers-go to v0.36.0 fix(deps): update module github.com/testcontainers/testcontainers-go to v0.37.0 Apr 25, 2025
@renovate renovate bot force-pushed the renovate/testcontainers-go-monorepo branch from d5b0c0c to 64b7bdb Compare May 7, 2025 10:07
@renovate renovate bot force-pushed the renovate/testcontainers-go-monorepo branch from 64b7bdb to 2a2dee2 Compare July 15, 2025 09:53
@renovate renovate bot changed the title fix(deps): update module github.com/testcontainers/testcontainers-go to v0.37.0 fix(deps): update module github.com/testcontainers/testcontainers-go to v0.38.0 Jul 15, 2025
@renovate renovate bot force-pushed the renovate/testcontainers-go-monorepo branch 2 times, most recently from 57530d1 to cdfc511 Compare July 22, 2025 16:11
@renovate renovate bot force-pushed the renovate/testcontainers-go-monorepo branch from cdfc511 to 7c324b9 Compare August 10, 2025 15:43
@renovate renovate bot force-pushed the renovate/testcontainers-go-monorepo branch from 7c324b9 to 5a1f491 Compare September 19, 2025 11:00
@renovate renovate bot changed the title fix(deps): update module github.com/testcontainers/testcontainers-go to v0.38.0 fix(deps): update module github.com/testcontainers/testcontainers-go to v0.39.0 Sep 19, 2025
@renovate renovate bot changed the title fix(deps): update module github.com/testcontainers/testcontainers-go to v0.39.0 fix(deps): update module github.com/testcontainers/testcontainers-go to v0.40.0 Nov 6, 2025
@renovate renovate bot force-pushed the renovate/testcontainers-go-monorepo branch from 5a1f491 to 4325507 Compare November 6, 2025 15:00
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.

1 participant