Repository navigation
Remove Aspire.RabbitMQ.Client.v6 and Aspire.MongoDB.Driver.v2 - #20608
Conversation
Co-authored-by: Copilot App <[email protected]>
|
🚀 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 <[email protected]>
Co-authored-by: Copilot App <[email protected]>
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. |
….v2 guidance (#1800) Documents changes from microsoft/aspire#20608 ``@eerhardt`` ## Why this is needed microsoft/aspire#20608 removed the legacy `Aspire.RabbitMQ.Client.v6` and `Aspire.MongoDB.Driver.v2` packages. The main `Aspire.RabbitMQ.Client` package now depends on `RabbitMQ.Client` 7.x directly, and the main `Aspire.MongoDB.Driver` package now depends on `MongoDB.Driver` 3.x directly — there is no longer a version-suffixed sibling package for either integration. The aspire.dev docs never referenced the removed `.v6`/`.v2` packages by name, but they did describe now-outdated version-split guidance for the *current* packages (e.g., telling readers to install `Aspire.RabbitMQ.Client.v7` for RabbitMQ.Client 7.x, or choose between `Aspire.MongoDB.Driver` and `Aspire.MongoDB.Driver.v3` based on their MongoDB.Driver version). That guidance is stale now that the main packages target the newer client library versions directly. ## What changed - **`integrations/messaging/rabbitmq/rabbitmq-connect.mdx`**: Replaced the note that `Aspire.RabbitMQ.Client` depends on RabbitMQ.Client 6.8.1 (and to install `Aspire.RabbitMQ.Client.v7` for 7.x) with accurate guidance that the package depends on RabbitMQ.Client 7.x directly, noting the historical `.v6` package has been removed. - **`integrations/databases/mongodb/mongodb-connect.mdx`**: Replaced the two-package install guidance (choosing between `Aspire.MongoDB.Driver` for driver 2.x vs `Aspire.MongoDB.Driver.v3` for 3.x) and the `:::danger` deprecation callout with accurate guidance that the package depends on MongoDB.Driver 3.x directly, noting the historical `.v2` package has been removed. - **`integrations/databases/mongodb/mongodb-get-started.mdx`**: Dropped the `(or Aspire.MongoDB.Driver.v3)` parenthetical from the client integration feature bullet. - **`whats-new/aspire-17.mdx`**: Added the initial Aspire 17.0 release-notes page and documented removal of the legacy packages as a breaking change, including replacement packages and migration guidance. - **`config/sidebar/docs.topics.ts`**: Added Aspire 17.0 to the What's new navigation using the established major-release route, `/whats-new/aspire-17/`. The integration guidance was updated in place, and the new Aspire 17.0 release-notes page records the package removal and required migration as a breaking change. > Generated by [PR Documentation Check](https://github.com/microsoft/aspire/actions/runs/36757192904) for #20608 · copilot · auto · 111.8 AIC · ⌖ 12.3 AIC · ⊞ 20.3K · [◷](https://github.com/search?q=repo%3Amicrosoft%2Faspire.dev+%22gh-aw-workflow-id%3A+pr-docs-check%22&type=pullrequests) <!-- gh-aw-agentic-workflow: PR Documentation Check, engine: copilot, model: auto, id: 36757192904, workflow_id: pr-docs-check, run: https://github.com/microsoft/aspire/actions/runs/36757192904 --> <!-- gh-aw-workflow-id: pr-docs-check --> <!-- gh-aw-workflow-call-id: microsoft/aspire/pr-docs-check --> --------- Co-authored-by: aspire-repo-bot[bot] <268009190+aspire-repo-bot[bot]@users.noreply.github.com> Co-authored-by: Copilot <[email protected]> Co-authored-by: Eric Erhardt <[email protected]> Co-authored-by: Copilot Autofix powered by AI <[email protected]>

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?