Skip to content

chore(deps): update dependency testcontainers.kafka to 4.12.0#5962

Merged
thomhurst merged 1 commit into
mainfrom
renovate/testcontainers.kafka-4.x
May 19, 2026
Merged

chore(deps): update dependency testcontainers.kafka to 4.12.0#5962
thomhurst merged 1 commit into
mainfrom
renovate/testcontainers.kafka-4.x

Conversation

@thomhurst
Copy link
Copy Markdown
Owner

This PR contains the following updates:

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

Release Notes

testcontainers/testcontainers-dotnet (Testcontainers.Kafka)

v4.12.0

Compare Source

What's Changed

Thanks to all contributors 👏.

⚠️ Breaking Changes

🚀 Features

🐛 Bug Fixes

📖 Documentation

🧹 Housekeeping

📦 Dependency Updates


Configuration

📅 Schedule: (UTC)

  • 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 Mend Renovate.

@thomhurst thomhurst added dependencies Pull requests that update a dependency file MINOR renovate-bot labels May 19, 2026
@thomhurst thomhurst enabled auto-merge (squash) May 19, 2026 16:37
Copy link
Copy Markdown
Contributor

@claude claude Bot left a comment

Choose a reason for hiding this comment

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

Dependency Update Review: Testcontainers.Kafka 4.11.0 → 4.12.0

This is a straightforward Renovate-managed dependency bump. The diff is minimal (one line in Directory.Packages.props), but there is one thing worth noting from the upstream release notes.

⚠️ Breaking Change in Upstream: Docker.DotNet 3.131.1 → 4.0.2

The 4.12.0 release notes call out a breaking change due to bumping Docker.DotNet from 3.131.1 to 4.0.2. Since Testcontainers.Kafka takes this as a transitive dependency, any code that directly references Docker.DotNet types (e.g., CreateContainerParameters, HostConfig, etc.) could break at compile time.

A quick check shows TUnit's Kafka usage is limited to TUnit.Example.Asp.Net.TestProject (e.g., KafkaUI.cs, InMemoryKafka.cs), which is an example/integration project rather than the core engine — so the blast radius is contained. The pending CI runs (integration-tests, modularpipeline) will be the definitive signal here.

Version Drift Across Testcontainers Modules

After this PR, the package versions will be:

  • Testcontainers.Kafka: 4.12.0
  • Testcontainers.PostgreSql: 4.11.0
  • Testcontainers.Redis: 4.11.0

Each module is versioned independently upstream so this is intentional, but it means the three modules may carry different transitive Docker.DotNet versions. In practice this is fine as long as the resolved transitive dependency is the highest version — but it's worth being aware of in case a future incompatibility surfaces.

Summary

The change is clean and correct. The breaking-change flag in the release notes is the main thing to watch, and the integration-test CI run will confirm whether anything is affected. No changes needed from my side — approve once CI is green.

@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented May 19, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity

Metric Results
Complexity 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@thomhurst thomhurst force-pushed the renovate/testcontainers.kafka-4.x branch from f63f58f to 651768e Compare May 19, 2026 17:51
Copy link
Copy Markdown
Contributor

@claude claude Bot left a comment

Choose a reason for hiding this comment

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

Review Update: Testcontainers.Kafka 4.11.0 → 4.12.0

Building on the previous review:

Previous Concerns — Status

⚠️ Docker.DotNet breaking change: CI checks are still pending (integration-tests, modularpipeline runs all show as pending). The breakage concern from 4.12.0's Docker.DotNet bump (3.131.1 → 4.0.2) remains unresolved until those runs complete. Given TUnit's Kafka usage is confined to the example/integration project rather than core engine code, a compile-time break is possible but the blast radius is narrow.

Version drift (Kafka 4.12.0 vs PostgreSql/Redis 4.11.0): Still present after this PR — no action needed, but worth noting for future consolidated upgrades.

Change Itself

The one-line diff in Directory.Packages.props is correct and minimal. Nothing else needs updating for a Renovate-managed version pin change.

Recommendation

This is safe to merge once CI is green, especially given auto-merge is already enabled. The Snyk security check passed with no manifest concerns. No code changes required.

This was referenced May 20, 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.

2 participants