Skip to content

Deprecate MinIO integration#1171

Merged
aaronpowell merged 3 commits into
mainfrom
copilot/deprecate-minio-integration
Mar 19, 2026
Merged

Deprecate MinIO integration#1171
aaronpowell merged 3 commits into
mainfrom
copilot/deprecate-minio-integration

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 18, 2026

The MinIO OSS project was archived on February 14th, 2025 and is no longer maintained. Both CommunityToolkit.Aspire.Hosting.Minio and CommunityToolkit.Aspire.Minio.Client are deprecated to prevent community exposure to an unmaintained dependency.

Changes

  • [Obsolete] on all public types in both packages — MinioContainerResource, MinioBuilderExtensions, MinioClientBuilderExtensionMethods, MinioClientSettings, HeaderAppInformation, MinioCredentials
  • Package metadata — both .csproj descriptions and tag lists updated to surface deprecation via NuGet
  • README warnings — both README.md files now open with a [!WARNING] callout linking to the archive notice
  • Tests & examples#pragma warning disable CS0618 added to all consuming files, consistent with existing patterns in the repo (Python Extensions, Java, MCP Inspector)

Usage now produces a build warning:

// CS0618: MinioBuilderExtensions is obsolete:
// 'The MinIO OSS project has been archived and is no longer maintained.
//  This integration is deprecated and will be removed in a future version.'
var minio = builder.AddMinioContainer("minio");

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
    • Triggering command: /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.

Copilot AI linked an issue Mar 18, 2026 that may be closed by this pull request
…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
Copilot AI requested a review from aaronpowell March 18, 2026 04:45
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 18, 2026

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/CommunityToolkit/Aspire/main/eng/scripts/dogfood-pr.sh | bash -s -- 1171

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/CommunityToolkit/Aspire/main/eng/scripts/dogfood-pr.ps1) } 1171"

@aaronpowell aaronpowell marked this pull request as ready for review March 18, 2026 05:17
Copilot AI review requested due to automatic review settings March 18, 2026 05:17
Copy link
Copy Markdown
Contributor

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 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>
@Harold-Morgan
Copy link
Copy Markdown
Contributor

LGTM

@aaronpowell aaronpowell merged commit 2864374 into main Mar 19, 2026
124 of 125 checks passed
@aaronpowell aaronpowell deleted the copilot/deprecate-minio-integration branch March 19, 2026 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecate/Remove MinIO integration

4 participants