Skip to content

Regenerate CompatibilitySuppressions.xml after the Polyfill 11.4.5 bump [patch] - #73

Open
matt-edmondson wants to merge 1 commit into
mainfrom
claude/issue-72-regenerate-compat-suppressions
Open

matt-edmondson wants to merge 1 commit into
mainfrom
claude/issue-72-regenerate-compat-suppressions

Conversation

@matt-edmondson

Copy link
Copy Markdown
Contributor

Fixes #72

What changed

Regenerated Sorting/CompatibilitySuppressions.xml with dotnet pack -c Release -p:ApiCompatGenerateSuppressionFile=true. This is the same fix as the other Polyfill 11.4.5 repos (ImGuiProvider#84, RunCommand#127, Invoker#89).

  • There were 154 suppressions (CP0001, CP0002, CP0008, CP0014, CP0015, CP0016 across the older TFM pairs). ApiCompat reported most of them as "Unnecessary suppressions found".
  • 11 remain: 10 CP0014 and 1 CP0015, all net9.0→net10.0. All are on Polyfill's embedded ExperimentalAttribute and DefaultInterpolatedStringHandler shims, none on Sorting's own API.

Verification (SDK 10.0.403, Linux)

  • Before: dotnet pack Sorting/Sorting.csproj -c Release exits 1, with 8 CP0014, 1 CP0015, "Unnecessary suppressions found" and "API breaking changes found".
  • After: the same command, with validation on and no suppression generation, builds ktsu.Sorting.1.0.50.nupkg with no errors.
  • dotnet test passes: 27 of 27.

Not verified: the Windows release runner. The next main run should publish 1.0.50 or later, with the #70 fix.


Generated by Claude Code

…mp [patch]

Polyfill 11.4.5 changed which shim members are emitted per target
framework, so pack failed package validation on main: 8 CP0014 and 1 CP0015
on the embedded ExperimentalAttribute and DefaultInterpolatedStringHandler
shims, and most of the 154 existing suppressions (CP0001, CP0002, CP0008,
CP0014, CP0015, CP0016 across the older TFM pairs) were reported as
unnecessary. That is why 1.0.49 is still the latest release and the #70
base-name ordering fix never shipped.

Regenerated with -p:ApiCompatGenerateSuppressionFile=true, leaving 11
entries (10 CP0014, 1 CP0015). All are on Polyfill shim types, none on
Sorting's own API.

Fixes #72

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017vfJW2yWAiM4Xm9iHUvALj
@sonarqubecloud

sonarqubecloud Bot commented Nov 1, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants