Skip to content

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

Open
matt-edmondson wants to merge 1 commit into
mainfrom
fix/128-regenerate-compat-suppressions
Open

matt-edmondson wants to merge 1 commit into
mainfrom
fix/128-regenerate-compat-suppressions

Conversation

@matt-edmondson

Copy link
Copy Markdown
Contributor

Why

After the Polyfill 11.4.5 bump, which changed which shim members are emitted for each target framework, dotnet pack fails package validation on main. Reproduced locally with 151 errors:

  • 80 × CP0016
  • 56 × CP0001
  • 6 × CP0014
  • 4 × CP0015
  • 3 × CP0002
  • 2 × CP0008

Every one is on a polyfilled BCL type. This is why 1.4.1 is still the latest release, and why #117, #118 and #119 never shipped.

Change

Verification

  • Before: dotnet pack FuzzySearch -c Release fails with the errors above.
  • After, from a clean bin/obj: pack succeeds and writes ktsu.FuzzySearch.1.4.2.nupkg.
  • dotnet test: 116 passed, 0 failed.

Once this merges, the next main run should publish 1.4.2, which meets the issue's second acceptance criterion.

Fixes #128


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 with 151 errors
(80 CP0016, 56 CP0001, 6 CP0014, 4 CP0015, 3 CP0002, 2 CP0008), all on
polyfilled BCL types. That is why 1.4.1 is still the latest release and
the #117, #118 and #119 fixes never shipped.

Regenerated with -p:ApiCompatGenerateSuppressionFile=true, which leaves
11 entries (10 CP0014, 1 CP0015) instead of 153. All of them are on Polyfill
shim types and none on FuzzySearch's own API.

Fixes #128

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017vfJW6Hi85XX4Q7wr44mWe
@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

Development

Successfully merging this pull request may close these issues.

No release since 1.4.1: pack fails package validation (CP0016/CP0001/CP0014…) after the Polyfill bump, so the #117–#119 fixes aren't on NuGet

2 participants