Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency testcontainers to v4 #195

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Infra-Workleap
Copy link
Contributor

@Infra-Workleap Infra-Workleap commented Nov 5, 2024

This PR contains the following updates:

Package Type Update Change
Testcontainers (source) nuget major 3.10.0 -> 4.1.0

Release Notes

testcontainers/testcontainers-dotnet (Testcontainers)

v4.1.0

Compare Source

What's Changed

This is likely the last release for this year, unless urgent fixes become necessary.

I want to mention a change introduced in the last major release, where we refactored the IImage interface. As part of this update, we removed obsolete properties and overloaded constructors. If you previously used an overload other than DockerImage(string), please ensure you pass the correct values to the constructor.

Additionally, we replaced Docker.DotNet with our own fork to keep the Docker Engine API up to date. Our goal is to improve reliability and performance while offering a more developer-friendly and convenient client. If you depend on a Docker client for .NET, we encourage you to contribute to this project ❤️.

On a personal note, I wish everyone a peaceful and lovely holiday season. Take this time to rest, connect with loved ones, and recharge for the new year. Take care.

🚀 Features
🐛 Bug Fixes
📖 Documentation
🧹 Housekeeping

v4.0.0

Compare Source

What's Changed

Thanks so much for all the effort you put into this release 🙌. We are continuing to align Testcontainers for .NET with other language implementations and working on improving the domain-specific language.

We have updated the IImage interface to follow the domain-specific language with the correct property names. The table below shows the changes. We tried to make the transition as smooth as possible, but be aware that relying on the Repository property might cause issues since it now resolves a different value than before. We have kept the old properties, marked them as obsolete, and provided guidance on how to migrate.

Actual Expected (New)
Registry - myregistryhost:5000
Repository myregistryhost:5000/fedora fedora/httpd
Name httpd -
Tag version1.0 version1.0
Digest - sha256:37a3b014d320...
GetHostname() myregistryhost:5000 myregistryhost:5000
⚠️ Breaking Changes
🚀 Features
🐛 Bug Fixes
  • fix: Bump MSSQL image version, remove Azure SQL Edge and Papercut module (#​1265) @​HofmeisterAn
  • fix: Throw exception if Docker resource does not exist instead of silently ignoring it (#​1254) @​0xced
🧹 Housekeeping

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 is behind base branch, 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 has been generated by Renovate Bot.

@Infra-Workleap Infra-Workleap requested a review from a team as a code owner November 5, 2024 14:56
@Infra-Workleap Infra-Workleap force-pushed the renovate/major-testcontainers-dotnet-monorepo branch from 0be762c to d4cf45a Compare November 17, 2024 02:40
@Infra-Workleap Infra-Workleap force-pushed the renovate/major-testcontainers-dotnet-monorepo branch from d4cf45a to d4b6bfe Compare November 30, 2024 02:36
@heqianwang heqianwang force-pushed the renovate/major-testcontainers-dotnet-monorepo branch 2 times, most recently from d5990cb to 748eba4 Compare December 18, 2024 02:45
@Infra-Workleap Infra-Workleap force-pushed the renovate/major-testcontainers-dotnet-monorepo branch from 748eba4 to 853495f Compare December 19, 2024 02:39
@Infra-Workleap Infra-Workleap force-pushed the renovate/major-testcontainers-dotnet-monorepo branch from 853495f to cc943af Compare December 20, 2024 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants