Repository navigation
Add CompatibilitySuppressions.xml for the Polyfill shim drift [patch] - #151
Merged
Merged
Conversation
Polyfill 11.4.5 emits ExperimentalAttribute and DefaultInterpolatedStringHandler into the net8.0 and net9.0 assemblies with nullable and compiler-generated attributes that differ from the next TFM up, so package validation failed the Release step with CP0014/CP0015. Generated with -p:ApiCompatGenerateSuppressionFile=true: 10 CP0014 and 1 CP0015, all on the polyfilled types. Fixes #149 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vfJW2KAa6zCGcN4V3T7ea
|
This was referenced Oct 31, 2026
This was referenced Nov 11, 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.



Fixes #149
What changed
This adds
CaseConverter/CompatibilitySuppressions.xml, generated with-p:ApiCompatGenerateSuppressionFile=trueagainst the pinned ktsu.Sdk 2.31.2. It holds 11 suppressions: 10 CP0014 and 1 CP0015. All of them are on Polyfill shim types (ExperimentalAttribute.UrlFormatandDefaultInterpolatedStringHandler), between net8.0 and net9.0 and between net9.0 and net10.0. This is the same approach as SvnToGit#153 and Containers#124. There is no code change.Verification
Run locally on SDK 10.0.403:
main: fails with "API breaking changes found", with the same CP0014/CP0015 errors as the Release job.bin/obj: exit 0. It producesktsu.CaseConverter.1.9.2.nupkgand.snupkg.dotnet test --project CaseConverter.Test: 210 passed, 0 failed.Once this merges, the Release job should publish the fixes from #127, #128, #129, #133 and #135.
Generated by Claude Code