Skip to content

Breaking change docs: dotnet nuget why output format changed in .NET 10.0.400 SDK#53562

Open
Copilot wants to merge 3 commits intomainfrom
copilot/fix-dotnet-nuget-why-output
Open

Breaking change docs: dotnet nuget why output format changed in .NET 10.0.400 SDK#53562
Copilot wants to merge 3 commits intomainfrom
copilot/fix-dotnet-nuget-why-output

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 5, 2026

dotnet nuget why changed its package version display format in .NET 10.0.400 SDK to show both the resolved version and the minimum requested version constraint, breaking scripts that parse the old format.

Format
Before System.Text.Json (v9.0.0-rc.2.24427.10)
After System.Text.Json@10.0.1 (>= 9.0.0)

Changes

  • New article docs/core/compatibility/sdk/10.0/dotnet-nuget-why-output-format.md — documents the format change, explains the motivation (surfacing requested vs. resolved versions for dependency investigation), and advises updating regex/parsing to handle both formats for cross-SDK-version compatibility
  • docs/core/compatibility/toc.yml — adds the new article under SDK and MSBuild for .NET 10
  • docs/core/compatibility/10.md — adds the new article to the .NET 10 breaking changes index
  • docs/core/tools/dotnet-nuget-why.md — adds a version note about the 10.0.400 SDK output change with a cross-reference to the breaking change article

Internal previews

📄 File 🔗 Preview link
docs/core/compatibility/10.md Breaking changes in .NET 10
docs/core/compatibility/sdk/10.0/dotnet-nuget-why-output-format.md dotnet nuget why output format changed
docs/core/compatibility/toc.yml docs/core/compatibility/toc
docs/core/tools/dotnet-nuget-why.md dotnet nuget why

Copilot AI changed the title [WIP] Fix output formatting issue in dotnet nuget why command Breaking change docs: dotnet nuget why output format changed in .NET 10.0.400 SDK May 5, 2026
Copilot AI requested a review from gewarren May 5, 2026 18:03
@gewarren gewarren marked this pull request as ready for review May 5, 2026 18:27
@gewarren gewarren requested a review from meaghanlewis as a code owner May 5, 2026 18:27
Copilot AI review requested due to automatic review settings May 5, 2026 18:27
@gewarren gewarren requested a review from a team as a code owner May 5, 2026 18:27
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

Documents a .NET SDK breaking change where dotnet nuget why changes how it prints package versions, adding the requested minimum version constraint alongside the resolved version to reduce ambiguity when you investigate dependency resolution.

Changes:

  • Adds a new .NET 10 breaking change article describing the dotnet nuget why output format update introduced in SDK 10.0.400.
  • Wires the new breaking change doc into the .NET 10 compatibility index and TOC.
  • Adds a version note to the dotnet nuget why command reference that links to the breaking change article.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
docs/core/tools/dotnet-nuget-why.md Adds a note about the 10.0.400 SDK output format change and links to the breaking change article.
docs/core/compatibility/toc.yml Adds the new breaking change article to the .NET 10 “SDK and MSBuild” TOC section.
docs/core/compatibility/sdk/10.0/dotnet-nuget-why-output-format.md New breaking change article documenting old vs. new output formats and recommended action.
docs/core/compatibility/10.md Adds the breaking change entry to the .NET 10 index table.

Comment thread docs/core/tools/dotnet-nuget-why.md Outdated
Comment thread docs/core/tools/dotnet-nuget-why.md Outdated
Comment thread docs/core/compatibility/sdk/10.0/dotnet-nuget-why-output-format.md Outdated
@gewarren gewarren requested a review from zivkan May 5, 2026 18:54
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]: dotnet nuget why changed output formatting

3 participants