Remove Aspire.RabbitMQ.Client.v6 and Aspire.MongoDB.Driver.v2 - #20608
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 20608Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 20608" |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The legacy integrations and references are removed consistently without affecting the retained package paths.
Review effort: Balanced
Findings: None
What changed in this PR
Removes obsolete RabbitMQ 6.x and MongoDB 2.x client integrations while retaining current integrations.
Changes:
- Deletes legacy packages, API baselines, schemas, tests, and solution entries.
- Removes obsolete conditional compilation paths and dependency version.
- Updates integration-versioning documentation.
| File | Description |
|---|---|
tests/Aspire.RabbitMQ.Client.v6.Tests/Aspire.RabbitMQ.Client.v6.Tests.csproj |
Deletes legacy RabbitMQ tests. |
tests/Aspire.RabbitMQ.Client.Tests/ConformanceTests.cs |
Removes RabbitMQ 6.x branches. |
tests/Aspire.RabbitMQ.Client.Tests/AspireRabbitMQLoggingTests.cs |
Retains only current logging tests. |
tests/Aspire.MongoDB.Driver.v2.Tests/SnappyCompressionTests.cs |
Deletes v2-only compression tests. |
tests/Aspire.MongoDB.Driver.v2.Tests/Aspire.MongoDB.Driver.v2.Tests.csproj |
Deletes legacy MongoDB tests. |
src/Components/README.md |
Updates versioning guidance. |
src/Components/Aspire.RabbitMQ.Client/AspireRabbitMQExtensions.cs |
Removes RabbitMQ 6.x implementation paths. |
src/Components/Aspire.RabbitMQ.Client.v6/ConfigurationSchema.json |
Deletes legacy schema. |
src/Components/Aspire.RabbitMQ.Client.v6/Aspire.RabbitMQ.Client.v6.csproj |
Deletes legacy package project. |
src/Components/Aspire.RabbitMQ.Client.v6/api/Aspire.RabbitMQ.Client.cs |
Deletes legacy API baseline. |
src/Components/Aspire.MongoDB.Driver/AspireMongoDBDriverExtensions.cs |
Removes MongoDB 2.x health-check path. |
src/Components/Aspire.MongoDB.Driver.v2/ConfigurationSchema.json |
Deletes legacy schema. |
src/Components/Aspire.MongoDB.Driver.v2/Aspire.MongoDB.Driver.v2.csproj |
Deletes legacy package project. |
src/Components/Aspire.MongoDB.Driver.v2/api/Aspire.MongoDB.Driver.cs |
Deletes legacy API baseline. |
playground/AspireWithMaui/AspireWithMaui.slnx |
Removes four legacy projects. |
Directory.Packages.props |
Removes unused RabbitMQ v6 health-check dependency. |
Aspire.slnx |
Removes four legacy projects. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Tests selectorSelects the full PR test matrix + all PR-gated jobs (ALL) — a rule matching 'Aspire.slnx' selects ALL Selection computed for commit |
|
Pull request created: #1800
|
|
📝 Documentation has been drafted in microsoft/aspire.dev#1800 targeting Triggered signals (4): Confirmed via the live Updated docs (aspire.dev never documented the removed
Note This draft PR needs human review before merging. |

Description
Remove the legacy RabbitMQ.Client 6.x and MongoDB.Driver 2.x integration packages from the repository so future builds no longer maintain and publish these parallel client integrations. The current
Aspire.RabbitMQ.ClientandAspire.MongoDB.Driverpackages retain their existing behavior.AspNetCore.HealthChecks.Rabbitmq.v6central package version.RABBITMQ_V6andMONGODB_V2conditional code from the surviving integrations and RabbitMQ tests.The CI trigger map needs no changes: neither removed integration has a curated runtime-only edge, and changes to
Aspire.slnxalready selectALL.Breaking changes
Future repository builds will no longer produce
Aspire.RabbitMQ.Client.v6orAspire.MongoDB.Driver.v2. Consumers upgrading to current integrations should replace their package references as follows and migrate any direct driver usage to the newer major version:Aspire.RabbitMQ.Client.v6Aspire.RabbitMQ.ClientAspire.MongoDB.Driver.v2Aspire.MongoDB.DriverThis does not remove previously published packages from NuGet.
User-facing usage
After updating the package references, the .NET service registration calls remain the same:
AppHost integrations are unchanged.
Validation
Executed on Windows with Docker available; both test commands built and tested
net8.0,net9.0, andnet10.0. Subsequent changes only clarify the README's historical example..\restore.cmd -p:SkipNativeBuild=truedotnet test --project (Resolve-Path tests\Aspire.RabbitMQ.Client.Tests\Aspire.RabbitMQ.Client.Tests.csproj).Path --no-launch-profile -p:SkipNativeBuild=true -- --filter-not-trait 'quarantined=true' --filter-not-trait 'outerloop=true'dotnet test --project (Resolve-Path tests\Aspire.MongoDB.Driver.Tests\Aspire.MongoDB.Driver.Tests.csproj).Path --no-launch-profile -p:SkipNativeBuild=true -- --filter-not-trait 'quarantined=true' --filter-not-trait 'outerloop=true'git diff --checkAlso verified that no tracked content outside the README's historical example references either legacy package, its compilation symbol, or the v6 health-check dependency, and that both solution membership changes remove exactly the four intended projects. All 438 remaining main-solution project paths exist.
The initial relative-path test invocations hit an SDK project-path resolution error; the absolute-path commands above passed. Existing NuGet audit warnings for
SSH.NETandSharpCompressremain outside this change. Full solution and MAUI builds were not run; the MAUI solution path audit found an unrelated, pre-existing missingSqlServerEndToEnd.DbSetup.csprojreference, which is unchanged.Fixes # (issue)
Checklist
<remarks />and<code />elements on your triple slash comments?