-
-
Notifications
You must be signed in to change notification settings - Fork 108
chore(deps): update dependency testcontainers.kafka to 4.10.0 #4204
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
Conversation
SummaryUpdates Testcontainers.Kafka dependency from 4.9.0 to 4.10.0. Critical IssuesNone found ✅ TUnit Rules Assessment
NotesThe upstream release includes:
This is a straightforward dependency update with no code changes required. Verdict✅ APPROVE - No critical issues |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR updates the Testcontainers.Kafka NuGet package from version 4.9.0 to 4.10.0, bringing in important bug fixes and new features from the testcontainers-dotnet library.
Key changes:
- Updates Testcontainers.Kafka dependency to 4.10.0, which includes a critical bug fix preventing Kafka container crashes on startup
- Brings Docker Engine v29 support to the Kafka testcontainer module
- Introduces features like platform property support and connection string providers
Directory.Packages.props
Outdated
| <PackageVersion Include="Testcontainers.Kafka" Version="4.10.0" /> | ||
| <PackageVersion Include="Testcontainers.PostgreSql" Version="4.9.0" /> | ||
| <PackageVersion Include="Testcontainers.Redis" Version="4.9.0" /> |
Copilot
AI
Jan 1, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Version inconsistency detected: Testcontainers.Kafka is being updated to 4.10.0, but Testcontainers.PostgreSql and Testcontainers.Redis remain at 4.9.0.
According to the Testcontainers.Kafka 4.10.0 release notes, there's a breaking change (PR #1584) that requires explicit container images when creating container builders. Additionally, the Kafka module received a bug fix (PR #1604) that bumps the image version to prevent container crashes on startup.
Consider:
- Updating Testcontainers.PostgreSql and Testcontainers.Redis to 4.10.0 to maintain version consistency across all testcontainers packages, especially since they share the same underlying infrastructure and may have received similar important fixes
- Verifying that the code in InMemoryKafka.cs (line 15) still works with the breaking change, or if it needs to explicitly specify the Kafka image version using .WithImage()
The breaking change about requiring explicit container images primarily affects the base ContainerBuilder class, and module-specific builders like KafkaBuilder may still have default images, but this should be verified through testing.
e4efa99 to
97ad7a2
Compare
SummaryUpdates Testcontainers.Kafka dependency from 4.9.0 to 4.10.0. Critical IssuesNone found ✅ This is a straightforward dependency update that:
The release notes indicate this update includes Docker Engine v29 support, bug fixes for Kafka container startup crashes, and other improvements. Verdict✅ APPROVE - No critical issues |
97ad7a2 to
9d22699
Compare
SummaryThis PR updates the Critical IssuesNone found ✅ This is a straightforward dependency version bump in
Verdict✅ APPROVE - No critical issues The dependency update is safe and aligns the Testcontainers.Kafka version with the PostgreSql package (both now at 4.10.0). No TUnit-specific rules are triggered by this change. |
9d22699 to
9d914d5
Compare
SummaryUpdates Testcontainers.Kafka dependency from 4.9.0 to 4.10.0. Critical IssuesNone found ✅ Notes
Verdict✅ APPROVE - No critical issues |
9d914d5 to
f257b3f
Compare
This PR contains the following updates:
4.9.0→4.10.0Release Notes
testcontainers/testcontainers-dotnet (Testcontainers.Kafka)
v4.10.0Compare Source
What's Changed
Happy New Year, everyone! 🎉
Please note that going forward, we expect developers to explicitly pin the image version (https://redirect.github.com/testcontainers/testcontainers-dotnet/discussions/1470). We consider this a best practice and it aligns with other language implementations.
Also, due to the recent Docker Engine v29 release, TC for .NET pins the Docker Engine API version to
1.44(see the previous release notes). You can override this default and set it to the version you're using, ideally1.52, which corresponds to v29, if you're already running it.🚀 Features
🐛 Bug Fixes
📖 Documentation
🧹 Housekeeping
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.
This PR has been generated by Renovate Bot.