Skip to content

Update Testcontainers nuget package to 4.12.0#1461

Merged
StefH merged 1 commit into
wiremock:masterfrom
MD-V:master
May 23, 2026
Merged

Update Testcontainers nuget package to 4.12.0#1461
StefH merged 1 commit into
wiremock:masterfrom
MD-V:master

Conversation

@MD-V
Copy link
Copy Markdown
Contributor

@MD-V MD-V commented May 22, 2026

Updates Testcontainers nuget package to 4.12.0 and fix breaking changes as Testcontainers now uses Docker.DotNet.Enhanced instead of Docker.DotNet.

References

Submitter checklist

  • Recommended: Join WireMock Slack to get any help in #help-contributing or a project-specific channel like #wiremock-java
  • The PR request is well described and justified, including the body and the references
  • The PR title represents the desired changelog entry
  • The repository's code style is followed (see the contributing guide)
  • Test coverage that demonstrates that the change works as expected
  • For new features, there's necessary documentation in this pull request or in a subsequent PR to wiremock.org

Copilot AI review requested due to automatic review settings May 22, 2026 06:48
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates the Testcontainers dependency and adapts Docker client creation to the newer API.

Changes:

  • Bump Testcontainers NuGet package from 4.10.0 to 4.12.0
  • Replace GetDockerClientConfiguration().CreateClient() with GetDockerClientBuilder().Build() in utility and example code

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/WireMock.Net.Testcontainers/WireMock.Net.Testcontainers.csproj Updates Testcontainers package version to 4.12.0
src/WireMock.Net.Testcontainers/Utils/TestcontainersUtils.cs Migrates Docker client instantiation to the newer builder-based API
examples/WireMock.Net.TestcontainersExample/Program.cs Mirrors the builder-based Docker client instantiation in the example

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/WireMock.Net.Testcontainers/Utils/TestcontainersUtils.cs
Comment thread examples/WireMock.Net.TestcontainersExample/Program.cs
@StefH StefH added the dependencies Pull requests that update a dependency file label May 23, 2026
@StefH StefH merged commit 52ac7e3 into wiremock:master May 23, 2026
7 checks passed
This was referenced May 24, 2026
This was referenced May 27, 2026
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants