-
Notifications
You must be signed in to change notification settings - Fork 293
Enabled Baseline Package Validation #3169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enabled Baseline Package Validation #3169
Conversation
mxschmitt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks great but I'm asking myself if its worth using a very old version as a baseline. I'd instead use a more recent one and then continue the journey from there?
|
As we do semver, we would like to know the breaking changes when someone upgrades from a old version? Some breaking changes are acceptable, and those are in the suppression file :) |
|
It seems we have already new breaking changes and not sure if they are intentional 😅 |
|
@mxschmitt First we had a public empty ctor for BindingSource.cs, now that ctor is gone! Is that intentional? Anyway, shown by the baseline package validation :) I've added it to the suppressions by |
Yes, because I think lets consider everything before the latest release as "it was intentional" instead of committing a bunch of irrelevant exceptions to the repository. Do you mind adjusting it? then we can merge. |
|
So the baseline version should 1.52.0, correct? |
Yes |
|
OK working on it :) |
|
Updated, but there is also a new (small) breaking change? From #3184 - the Ref property is removed from LocatorAriaSnapshotOptions.cs But it's documented a new in 1.52, so it just introduced. https://playwright.dev/dotnet/docs/api/class-locator#locator-aria-snapshot Anyway, if this in indented, then this PR is ready |
mxschmitt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! Yeah the Ref property was intentionally removed.
|
All green. Feel free to rename the PR before merge :) |
|
@304NotModified @mxschmitt are we semver? I think playwright broke compatibility many times. |
|
I hope this PR will help in getting the API more stable in terms of breaking changes. My report of the binary breaking change (#3161) was quickly fixed, so thanks for that! I hope we have less need for these fixes in the future :) |
|
@304NotModified The problem is that upstream playwright determines the API, and |
@kblok |



see #3161 (comment)
CP0006-A member was added to an interface without a default implementation(see see https://learn.microsoft.com/en-us/dotnet/fundamentals/apicompat/diagnostic-ids) to<NoWarn>on Playwright.csproj, as that is the normal flow?<GeneratePackageOnBuild>True</GeneratePackageOnBuild>to the csproj files