Skip to content

Breaking change doc: NuGet audit sources no longer allow insecure HTTP by default - #55113

Open
gewarren with Copilot wants to merge 3 commits into
mainfrom
copilot/breaking-change-nuget-audit-sources
Open

Breaking change doc: NuGet audit sources no longer allow insecure HTTP by default#55113
gewarren with Copilot wants to merge 3 commits into
mainfrom
copilot/breaking-change-nuget-audit-sources

Conversation

Copilot AI commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Starting in .NET 10.0.400 SDK, NuGet raises error NU1302 when an auditSource in nuget.config uses http:// without allowInsecureConnections="true". This aligns audit sources with the existing behavior for package sources.

Changes

  • New article docs/core/compatibility/sdk/10.0/nuget-audit-source-http-disallowed.md — covers previous/new behavior, reason, and two remediation paths:
    • Migrate to an HTTPS audit source (for example, https://api.nuget.org/v3/index.json)
    • Set allowInsecureConnections="true" on the source if HTTPS isn't yet available
  • toc.yml — added entry under SDK and MSBuild for .NET 10
  • 10.md — added row to the SDK and MSBuild breaking changes table

Internal previews

File Preview link
docs/core/compatibility/10.md docs/core/compatibility/10
docs/core/compatibility/sdk/10.0/nuget-audit-source-http-disallowed.md docs/core/compatibility/sdk/10.0/nuget-audit-source-http-disallowed
docs/core/compatibility/toc.yml docs/core/compatibility/toc

Copilot AI review requested due to automatic review settings July 29, 2026 03:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because there is no eligible user to bill. To allow Copilot reviews on bot-authored pull requests, enable direct organization billing in your organization's Copilot settings.

Copilot AI changed the title [WIP] Fix NuGet audit sources to require secure http connections Breaking change doc: NuGet audit sources no longer allow insecure HTTP by default Jul 29, 2026
Copilot AI requested a review from gewarren July 29, 2026 03:10
Comment thread docs/core/compatibility/sdk/10.0/nuget-audit-source-http-disallowed.md Outdated
Comment thread docs/core/compatibility/sdk/10.0/nuget-audit-source-http-disallowed.md Outdated
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
@gewarren
gewarren marked this pull request as ready for review July 29, 2026 03:21
@gewarren
gewarren requested a review from a team as a code owner July 29, 2026 03:21
@gewarren
gewarren enabled auto-merge (squash) July 29, 2026 03:21
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.

[Breaking change]: NuGet audit sources no longer allow insecure http by default

3 participants