Deprecate MinIO integration#1171
Merged
Merged
Conversation
…on notices Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove MinIO integration due to deprecation
Deprecate MinIO integration
Mar 18, 2026
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/CommunityToolkit/Aspire/main/eng/scripts/dogfood-pr.sh | bash -s -- 1171Or
iex "& { $(irm https://raw.githubusercontent.com/CommunityToolkit/Aspire/main/eng/scripts/dogfood-pr.ps1) } 1171" |
aaronpowell
approved these changes
Mar 18, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR deprecates the MinIO hosting and client integrations across the Aspire Community Toolkit to discourage usage of an unmaintained dependency, and updates docs/metadata/tests accordingly.
Changes:
- Mark MinIO public types as
[Obsolete]to surface a CS0618 warning at compile time. - Update NuGet package metadata (description/tags) and READMEs to clearly communicate deprecation.
- Suppress CS0618 warnings in tests and examples that intentionally continue to compile against the deprecated APIs.
Reviewed changes
Copilot reviewed 18 out of 18 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tests/CommunityToolkit.Aspire.Minio.Client.Tests/MinioContainerFeature.cs | Suppress CS0618 in client tests consuming deprecated APIs |
| tests/CommunityToolkit.Aspire.Minio.Client.Tests/MinioClientPublicApiTests.cs | Suppress CS0618 in public API tests |
| tests/CommunityToolkit.Aspire.Minio.Client.Tests/ConformanceTests.cs | Suppress CS0618 in conformance tests |
| tests/CommunityToolkit.Aspire.Minio.Client.Tests/ConfigurationTests.cs | Suppress CS0618 in configuration tests |
| tests/CommunityToolkit.Aspire.Hosting.Minio.Tests/ResourceCreationTests.cs | Suppress CS0618 in hosting tests consuming deprecated APIs |
| tests/CommunityToolkit.Aspire.Hosting.Minio.Tests/MinioPublicApiTests.cs | Suppress CS0618 in hosting public API tests |
| tests/CommunityToolkit.Aspire.Hosting.Minio.Tests/MinioFunctionalTests.cs | Suppress CS0618 in functional tests |
| tests/CommunityToolkit.Aspire.Hosting.Minio.Tests/AppHostTests.cs | Suppress CS0618 in AppHost tests |
| src/CommunityToolkit.Aspire.Minio.Client/README.md | Add prominent deprecation warning callout |
| src/CommunityToolkit.Aspire.Minio.Client/MinioClientSettings.cs | Mark configuration-related public types as obsolete |
| src/CommunityToolkit.Aspire.Minio.Client/MinioClientBuilderExtensionMethods.cs | Mark client registration extensions as obsolete |
| src/CommunityToolkit.Aspire.Minio.Client/CommunityToolkit.Aspire.Minio.Client.csproj | Update NuGet tags/description to reflect deprecation |
| src/CommunityToolkit.Aspire.Hosting.Minio/README.md | Add prominent deprecation warning callout |
| src/CommunityToolkit.Aspire.Hosting.Minio/MinioContainerResource.cs | Mark hosting resource type as obsolete |
| src/CommunityToolkit.Aspire.Hosting.Minio/MinioBuilderExtensions.cs | Mark hosting extension methods as obsolete |
| src/CommunityToolkit.Aspire.Hosting.Minio/CommunityToolkit.Aspire.Hosting.Minio.csproj | Update NuGet tags/description to reflect deprecation |
| examples/minio/CommunityToolkit.Aspire.Hosting.Minio.AppHost/Program.cs | Suppress CS0618 in example AppHost |
| examples/minio/CommunityToolkit.Aspire.Hosting.Minio.ApiService/Program.cs | Suppress CS0618 in example service |
You can also share your feedback on Copilot code review. Take the survey.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Contributor
|
LGTM |
Harold-Morgan
approved these changes
Mar 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The MinIO OSS project was archived on February 14th, 2025 and is no longer maintained. Both
CommunityToolkit.Aspire.Hosting.MinioandCommunityToolkit.Aspire.Minio.Clientare deprecated to prevent community exposure to an unmaintained dependency.Changes
[Obsolete]on all public types in both packages —MinioContainerResource,MinioBuilderExtensions,MinioClientBuilderExtensionMethods,MinioClientSettings,HeaderAppInformation,MinioCredentials.csprojdescriptions and tag lists updated to surface deprecation via NuGetREADME.mdfiles now open with a[!WARNING]callout linking to the archive notice#pragma warning disable CS0618added to all consuming files, consistent with existing patterns in the repo (Python Extensions, Java, MCP Inspector)Usage now produces a build warning:
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
dl.min.io/usr/bin/minio minio server /data(dns block)If you need me to access, download, or install something from one of these locations, you can either:
📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.