Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jul 16, 2025

This PR improves the existing breaking change documentation for the NuGetAuditMode default change in .NET 10 based on feedback from the issue.

Key improvements made:

Better title and structure

  • Updated title from "dotnet restore audits transitive packages" to "NuGetAuditMode default changed when targeting .NET 10" for clarity
  • Added proper metadata including ai-usage tag and issue reference
  • Reorganized recommended actions into clear, actionable subsections

Enhanced content and guidance

  • Added PrunePackageReference information: Explains how this .NET 10 feature helps reduce false positive audit warnings
  • Improved recommended actions: Organized into three clear categories:
    • Address security vulnerabilities (with step-by-step guidance)
    • Suppress specific advisories (with proper warnings about implications)
    • Configure audit behavior (with clear options)
  • Better tone: More informative and less prescriptive while still providing security guidance

Additional references and cross-links

  • Added link to NuGetAudit 2.0 blog post with specific guidance section
  • Referenced the PrunePackageReference feature documentation
  • Added cross-reference to .NET 8 NuGetAudit introduction
  • Added proper "Affected APIs" section per breaking change template

Navigation updates

  • Updated table of contents and index entries to match the new, more descriptive title

Files changed:

  • docs/core/compatibility/sdk/10.0/nugetaudit-transitive-packages.md - Enhanced breaking change content
  • docs/core/compatibility/toc.yml - Updated TOC entry
  • docs/core/compatibility/10.0.md - Updated index table entry

The documentation now provides developers with comprehensive, well-organized guidance for understanding and responding to this breaking change while maintaining an appropriate informative tone.

Fixes #47383.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] [Breaking change]: NuGetAuditMode default changed when targeting .NET 10 Update .NET 10 NuGetAudit breaking change documentation Jul 16, 2025
Copilot AI requested a review from gewarren July 16, 2025 15:02
Copilot finished work on behalf of gewarren July 16, 2025 15:02
@gewarren gewarren closed this Jul 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Breaking change]: NuGetAuditMode default changed when targeting .NET 10

2 participants