Repository navigation
Regenerate CompatibilitySuppressions.xml after the Polyfill 11.4.5 bump [patch] - #359
Open
matt-edmondson wants to merge 1 commit into
Open
matt-edmondson wants to merge 1 commit into
matt-edmondson wants to merge 1 commit into
Conversation
…mp [patch] Polyfill 11.4.5 changed which shim members are emitted per target framework, so pack failed package validation on main with 229 errors (136 CP0016, 64 CP0001, 24 CP0002, 5 CP0008), all on polyfilled BCL types. That is why 1.18.2 is still the latest release and the #348, #349 and #350 changes never shipped. Regenerated with -p:ApiCompatGenerateSuppressionFile=true, which leaves 12 entries instead of 241. Eleven are on Polyfill shim types. The twelfth is the existing net8.0 -> net9.0 CP0002 on AppData<T>.Lock, which is an object before net9.0 and a System.Threading.Lock from it. Fixes #358 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vfJW6Hi85XX4Q7wr44mWe
Contributor
Author
|
Generated by Claude Code |
|
This was referenced Nov 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Why
After the Polyfill 11.4.5 bump,
dotnet packfails package validation onmain. Reproduced locally with 229 errors:Every one is on a polyfilled BCL type. This is why 1.18.2 is still the latest release, and why #348, #349 and #350 never shipped.
Change
AppDataStorage/CompatibilitySuppressions.xmlwith-p:ApiCompatGenerateSuppressionFile=true.AppData<T>.get_Lock(net8.0 → net9.0). The old file already had this one, and it is intentional:Lockis anobjectbefore net9.0 and aSystem.Threading.Lockfrom net9.0.Verification
dotnet pack AppDataStorage -c Releasefails with the errors above.bin/obj: pack succeeds and writesktsu.AppDataStorage.1.19.0.nupkg.dotnet test: 120 passed, 0 failed.Fixes #358
Generated by Claude Code