Repository navigation
Conversation
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23674/wasm-skia-net9/index.html |
|
The build 221141 found UI Test snapshots differences: Details
|
fb67d83 to
858ec26
Compare
DependencyObjectStore.ClearBindings()/RestoreBindings() were empty no-ops, and the DependencyObject class exposed matching public [EditorBrowsable(Never)] wrappers purely "for binary compatibility". Nothing in the framework calls them, and the native SyncBinder caller that once used ClearBindings() is already gone with the native rendering drop. Delete the store methods and their public wrappers on DependencyObject. The resulting binary break is already covered by the existing "DependencyObject as class" regex entries in PackageDiffIgnore.xml, which match ClearBindings()/RestoreBindings() on every declaring type, so the package-diff gate still passes. Part of #2125 (Phase 3 breaking changes). References #13046. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
858ec26 to
2dcd103
Compare
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23674/wasm-skia-net9/index.html |
|
The build 221348 found UI Test snapshots differences: Details
|
|
Tick the box to add this pull request to the merge queue (same as
|
GitHub Issue: https://github.com/unoplatform/uno-private/issues/2125
PR Type:
🔄 Refactoring (no functional changes, no api changes)
What changed? 🚀
Implements BC49 from breaking-changes Phase 3 (#8339, tracked publicly as #13046): removes the empty no-op
RestoreBindings()/ClearBindings()methods that were surfaced on everyDependencyObject.DependencyObjectStore.ClearBindings()/RestoreBindings()methods fromDependencyObjectStore.Binder.cs.DependencyObjectGeneratoremitting the matching public[EditorBrowsable(Never)]wrappers on everyDependencyObject. They existed only "for binary compatibility" and merely forwarded to the now-deleted store methods.DependencyObjectGeneratorgolden test to match the regenerated output.build/PackageDiffIgnore.xml(6.5 set) with a regex over every declaring type, since the wrappers were generated per-type.The native
SyncBindercaller that once usedClearBindings()is already gone with the native-rendering drop, and a repo-wide search finds no other callers.On default settings runtime behavior is unchanged — both methods had empty bodies, so nothing observable happened even when they were (rarely) called.
PR Checklist ✅
Given_DependencyObjectGeneratorgenerator tests pass (2/2) — the golden reflects the regenerated output exactly.Screenshots Compare Test Runresults.Breaking changes & migration
ClearBindings()/RestoreBindings()(BC49): the public no-opClearBindings()/RestoreBindings()methods emitted on everyDependencyObjectare removed. Both were empty[EditorBrowsable(Never)]shims kept only for binary compatibility. This is a binary break, and a source break only for the rare consumer that explicitly called these do-nothing methods. Migration: remove the call — it never did anything.Validation evidence
Given_DependencyObjectGenerator— 2 passed / 0 failed (validates the generator change and the golden byte-for-byte).Uno.UI.Skia(net10.0) builds clean — 0 warnings, 0 errors — regenerating everyDependencyObjectmixin without the wrappers.PackageDiffallow-list runs CI-only.