Skip to content

Conversation

@thomhurst
Copy link
Owner

@thomhurst thomhurst commented Jan 1, 2026

This PR contains the following updates:

Package Type Update Change
Testcontainers.Kafka (source) nuget minor 4.9.04.10.0

Release Notes

testcontainers/testcontainers-dotnet (Testcontainers.Kafka)

v4.10.0

Compare 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, ideally 1.52, which corresponds to v29, if you're already running it.

⚠️ Breaking Changes

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


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

This PR has been generated by Renovate Bot.

Copilot AI review requested due to automatic review settings January 1, 2026 17:10
@thomhurst thomhurst added dependencies Pull requests that update a dependency file MINOR renovate-bot labels Jan 1, 2026
@thomhurst thomhurst enabled auto-merge (squash) January 1, 2026 17:10
@thomhurst
Copy link
Owner Author

Summary

Updates Testcontainers.Kafka dependency from 4.9.0 to 4.10.0.

Critical Issues

None found ✅

TUnit Rules Assessment

  • ✅ No source generator or engine changes (Dual-Mode N/A)
  • ✅ No snapshot tests required (dependency update only)
  • ✅ No VSTest dependencies introduced
  • ✅ No performance-sensitive code changes
  • ✅ No AOT compatibility concerns

Notes

The upstream release includes:

  • Docker Engine v29 support
  • Kafka image version bump to prevent container crashes on startup
  • Various stability improvements

This is a straightforward dependency update with no code changes required.

Verdict

APPROVE - No critical issues

Copy link

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

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

Comment on lines 82 to 84
<PackageVersion Include="Testcontainers.Kafka" Version="4.10.0" />
<PackageVersion Include="Testcontainers.PostgreSql" Version="4.9.0" />
<PackageVersion Include="Testcontainers.Redis" Version="4.9.0" />
Copy link

Copilot AI Jan 1, 2026

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:

  1. 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
  2. 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.

Copilot uses AI. Check for mistakes.
@thomhurst thomhurst force-pushed the renovate/testcontainers.kafka-4.x branch from e4efa99 to 97ad7a2 Compare January 1, 2026 18:12
@thomhurst
Copy link
Owner Author

Summary

Updates Testcontainers.Kafka dependency from 4.9.0 to 4.10.0.

Critical Issues

None found ✅

This is a straightforward dependency update that:

  • Only modifies Directory.Packages.props (centralized package management)
  • Does not touch any TUnit core code (source generator, engine, or public APIs)
  • Does not require snapshot updates or dual-mode verification
  • Aligns with the adjacent Testcontainers.PostgreSql update to 4.10.0

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

@thomhurst thomhurst force-pushed the renovate/testcontainers.kafka-4.x branch from 97ad7a2 to 9d22699 Compare January 1, 2026 19:08
@thomhurst
Copy link
Owner Author

Summary

This PR updates the Testcontainers.Kafka package from version 4.9.0 to 4.10.0.

Critical Issues

None found ✅

This is a straightforward dependency version bump in Directory.Packages.props. The change:

  • Updates a test dependency (Testcontainers.Kafka) to align with other Testcontainers packages (PostgreSql is already at 4.10.0)
  • Does not touch any TUnit core code, source generators, or public APIs
  • Does not require snapshot test updates
  • Does not involve VSTest, reflection, or hot paths
  • Poses no security risks

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.

@thomhurst thomhurst force-pushed the renovate/testcontainers.kafka-4.x branch from 9d22699 to 9d914d5 Compare January 2, 2026 00:31
@thomhurst
Copy link
Owner Author

Summary

Updates Testcontainers.Kafka dependency from 4.9.0 to 4.10.0.

Critical Issues

None found ✅

Notes

Verdict

APPROVE - No critical issues

@thomhurst thomhurst force-pushed the renovate/testcontainers.kafka-4.x branch from 9d914d5 to f257b3f Compare January 2, 2026 00:54
This was referenced Jan 6, 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 MINOR renovate-bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants