Repository navigation
docs: Close out the 7.0 documentation and reconciliation leftovers - #24351
Conversation
|
Claude finished @MartinZikmund's task in 3m 40s —— View job Review of PR #24351Todo list
Verdict: ✅ ShipThis PR is overwhelmingly documentation, and I cross-checked its factual claims against the current source rather than taking them at face value:
No correctness, layering, DP-registration, async/cancellation, or code-style issues found in the two substantive code/build changes ( No inline comments were posted — nothing rose to a reportable finding after verification. |
There was a problem hiding this comment.
🟢 Approval recommended
The changes are documentation/spec corrections plus small, consistent maintenance updates, and no verified correctness issues were found in the modified content or referenced APIs.
Pull request overview
This PR closes out Uno Platform 7.0 documentation and spec reconciliation leftovers by updating the migration guide and related docs to accurately reflect shipped breaking changes (type hierarchy, DataContext scope, DP precedence cleanup, SkiaSharp 4/Vulkan defaults), plus a small package-diff ignore adjustment and a solution-template package version alignment.
Changes:
- Expanded and corrected 7.0 migration guidance (breaking-change mappings, silent binding breakage notes, new defaults like SkiaSharp 4 and Vulkan).
- Updated internal docs/specs to reflect the post-7.0 reality (
DependencyObjectas a class, generator removals, updated platform symbol guidance). - Fixed maintenance/build hygiene: add PackageDiffIgnore entries for the
Lauched*→Launched*rename and alignSkiaSharp.Skottieversion in the Linux validation template.
File summaries
| File | Description |
|---|---|
| src/Uno.UI/UI/Xaml/Documents/TextElement.cs | Comment correction to match actual Hyperlink foreground precedence behavior. |
| src/Uno.UI.UnitTests/DependencyProperty/Given_DependencyProperty.cs | Test comment updated to reflect the unified “Style” precedence naming. |
| src/SolutionTemplate/UnoAppWinUILinuxValidation/UnoAppWinUILinuxValidation.Skia.Linux.FrameBuffer/UnoAppWinUILinuxValidation.Skia.Linux.FrameBuffer.csproj | Updates pinned SkiaSharp.Skottie version to match repo’s SkiaSharp 4 baseline. |
| specs/050-breaking-changes-rollup/spec.md | Marks BC26/BC39 as implemented and updates “as shipped” notes and references. |
| specs/050-breaking-changes-rollup/bc58-datacontext-frameworkelement-only.md | Rewrites “open decision” into “implemented” decision/outcome with as-built details. |
| specs/050-breaking-changes-rollup/bc26-dependencyobject-as-class.md | Updates spec from planned state to shipped design/implementation summary. |
| doc/articles/uno-development/uno-internals-overview.md | Updates internals overview to reflect DependencyObject as a class and generator removal. |
| doc/articles/platform-specific-csharp.md | Corrects symbol guidance and WinUI type-alias sample; adds cross-link tip for Skia native embedding. |
| doc/articles/migrating-to-uno-7.md | Adds migration entries for DP precedence cleanup, SkiaSharp 4/Vulkan defaults, hierarchy/member-scope breaking changes, and IAnimatedVisualSource changes. |
| doc/articles/migrating-guidance.md | Updates partial guidance to align with current generator needs; clarifies DependencyObject no longer requires partial. |
| doc/articles/migrating-from-previous-releases.md | Adds a 7.0 section linking to the full 7.0 migration guide. |
| doc/articles/features/windows-ui-xaml-window.md | Updates multi-window support notes: iOS scene-based opt-in requirements vs Android limitation. |
| doc/articles/features/using-vulkan-rendering.md | Reframes Vulkan as default since 7.0 and adds a “Disabling Vulkan” section. |
| doc/articles/features/using-skia-desktop.md | Updates SkiaSharp 4 guidance to reflect it as the 7.0 default. |
| doc/articles/features/Lottie.md | Adds 7.0-aligned package/version and custom IAnimatedVisualSource guidance. |
| doc/articles/feature-flags.md | Fixes documented defaults for Vulkan feature flags to match current code defaults. |
| doc/articles/api-differences.md | Updates outdated hierarchy explanation to match WinUI parity and 7.0 renderer reality. |
| build/PackageDiffIgnore.xml | Adds ignore entries for the LauchedStart/Stop removal caused by the typo fix (in both maintained IgnoreSets). |
| AGENTS.md | Updates contributor guidance to reflect DependencyObject now being a class and Skia visual tree unification. |
| .claude/rules/dependency-properties.md | Updates DP guidance to remove pre-7.0 DependencyObject interface/generator assumptions. |
| .claude/agents/architect.md | Updates architectural guidance to reflect DependencyObject as a class and removed generator. |
Review details
- Files reviewed: 21/21 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
|
The build 231538 found UI Test snapshots differences: Details
|
|
Claude finished @MartinZikmund's task in 2m 54s —— View job Review of PR #24351 (re-review after synchronize — two new commits)Todo list
Verdict: ✅ ShipSince the last review, two new commits landed (
No correctness, layering, DP-registration, async/cancellation, or code-style issues found. The The screenshot-diff bot flagged 81/111 Skia snapshot changes — unrelated to this PR's file set (pure docs/specs + dead-code removal with no rendering-affecting change); worth confirming with the team that it's pre-existing baseline drift rather than something introduced on this branch, but nothing in the diff here explains it. No inline comments were posted — nothing rose to a reportable finding after verification. |
|
|
|
Claude finished @MartinZikmund's task in 2m 45s —— View job Review of PR #24351 (independent re-verification)Todo list
Verdict: ✅ ShipI re-verified this PR from scratch against the tree at Specific checks performed:
No new concerns beyond what the two earlier automated passes already surfaced (the pre-existing, out-of-scope |
|
The build 231543 found UI Test snapshots differences: Details
|
|
|
|
|
|
|
|
The build 231665 found UI Test snapshots differences: Details
|
|
|
ce4b8bb to
04488e6
Compare
|
Claude finished @MartinZikmund's task in 2m 12s —— View job Review of PR #24351 (re-review after synchronize)Todo list
Verdict: ✅ ShipNo inline comments were posted — every claim I independently spot-checked against the tree at Independent verification performed:
Cross-cutting notes (already disclosed in this thread, not new): the pre-existing |
There was a problem hiding this comment.
🔵 Needs a closer look
The new WebView TypeScript interop has an initialization race (async exports) that can throw at runtime, and the PR description understates the scope/impact of the non-doc changes.
Review details
- Files reviewed: 87/93 changed files
- Comments generated: 0 new
- Review effort level: Lite
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-24351/docs/index.html |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-24351/wasm-skia-net9/index.html |
morning4coffe-dev
left a comment
There was a problem hiding this comment.
The force-push is a pure rebase, so the September 15 blockers remain at 6bc95ea: the unresolved inline claims still overstate WinUI inheritance-context parity and incorrectly exclude all class libraries from __UNO_SKIA__, with both repeated in the PR body. Native-renderer/UWP and deleted-source-generator guidance also remains stale. Additionally, the BC26/BC58 reconciliation still mixes implemented outcomes with pre-implementation instructions and leaves the BC58/BC54 rollup unchecked.
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-24351/docs/index.html |
|
The build 233981 found UI Test snapshots differences: Details
|
Uno's multi-parent inheritance context is stricter than WinUI's: it omits GetMentor's ResourceDictionary and ContentControl exceptions, so a brush resource shared by several elements stops resolving bindings. __UNO_SKIA__ reaches Android, iOS, tvOS and browser-WASM class libraries through the runtime package's build assets; only net10.0-desktop and plain net10.0 libraries lack it. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01Hdrs4BnVJR4tkHrb1YMppc
Label the pre-implementation state, plan, file list and validation sections as the original plan, and fix the BC58 decision's claim of full multi-parent parity. Check off BC58, BC54, BC14 and BC38 in the rollup with their landing PRs and current files. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01Hdrs4BnVJR4tkHrb1YMppc
|
Claude finished @MartinZikmund's task in 1m 17s —— View job Review of PR #24351 (re-review after synchronize — commits
|
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-24351/wasm-skia-net9/index.html |
morning4coffe-dev
left a comment
There was a problem hiding this comment.
The inheritance-context and __UNO_SKIA__ blockers are fixed, and BC26/BC58 now distinguish historical plans from implemented outcomes. Two source-truth blockers remain: contributor guidance still teaches the removed native Android/iOS/DOM UI renderers and UWP-era inheritance, and .claude/rules/source-generators.md still describes the deleted DependencyObjectGenerator as surviving. The rollup also references nonexistent UIElement.skia.cs.
AGENTS.md, the architect agent, the platform-targeting rule and the migrating guidance still described native Android View, UIKit and DOM renderers as maintained targets, with native base classes for UIElement. 7.0 renders with Skia everywhere: Uno.UI compiles once for Skia, and platform file suffixes only apply to per-platform projects such as the WinRT layer and the platform hosts. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01Hdrs4BnVJR4tkHrb1YMppc
The rule still described a DependencyObject generator stamping registrations and [Bindable]. That generator is gone; list the generators that replaced its surviving duties instead. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01Hdrs4BnVJR4tkHrb1YMppc
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01Hdrs4BnVJR4tkHrb1YMppc
|
@morning4coffe-dev Thanks for the review. All three items are addressed and pushed; details are in the resolved threads:
|
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-24351/docs/index.html |
|
Claude finished @MartinZikmund's task in 2m 44s —— View job Review of PR #24351 (re-review after synchronize — commits
|
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-24351/wasm-skia-net9/index.html |
morning4coffe-dev
left a comment
There was a problem hiding this comment.
The three previous blockers are fixed, but the replacement guidance introduces two source-truth errors: live .wasm.cs files linked into the WebAssembly runtime are described as never compiled, and the generator guidance omits the intentional interface-detection fallback used for compatibility with released Uno packages. These need correction before approval.
Uno.UI excludes .Android.cs, .UIKit.cs and .wasm.cs by default, but the WebAssembly runtime links live .wasm.cs partials from under src/Uno.UI (NativeWebView, TextBox input scope). Stop claiming those files are never compiled, and point readers at the owning MSBuild project. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01Hdrs4BnVJR4tkHrb1YMppc
The generator still matches DependencyObject through AllInterfaces so it works against released packages where DependencyObject is an interface. Document base-type detection as the primary path, keep the fallback, and note when the availability generator runs. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01Hdrs4BnVJR4tkHrb1YMppc
|
Claude finished @MartinZikmund's task in 1m 29s —— View job Review of PR #24351 (re-review after synchronize — commits
|
|
@morning4coffe-dev Both are fixed, and the threads are resolved:
|
morning4coffe-dev
left a comment
There was a problem hiding this comment.
Verified the tagged follow-up at 211101eb73c8. Platform-suffix guidance now correctly follows the owning MSBuild project and acknowledges linked .wasm.cs sources, while the generator documentation preserves the released-package AllInterfaces compatibility fallback. The previous source-truth findings are resolved; approving this head.
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-24351/wasm-skia-net9/index.html |
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-24351/docs/index.html |
|
The build 234048 found UI Test snapshots differences: Details
|
|
|
GitHub Issue: relates to #8339
Closes the following internal 7.0 items (referenced in the commit trailers):
uno-private#2050, #2055, #2056, #2057, #2098, #2126, #2135, #2156, #2157, #2284.
Advances #2112, #2114 and #2159, which stay open on stated dependencies.
PR Type:
📚 Documentation content changes
(plus removal of the leftover WASM DOM-renderer surface, one build fix and one project-file fix; see below)
What changed? 🚀
An audit of the 7.0 epic found that the release's biggest systemic gap is documentation, not code. For 25 of 106 sub-issues, the only outstanding work was a missing
migrating-to-uno-7.mdentry. Several source-breaking changes had shipped with no consumer-facing old → new mapping. This PR closes out those leftovers, one commit per item. It also removes the last orphaned pieces of the WASM DOM renderer.Migration guide entries for breaking changes that shipped undocumented
Backgroundmoved offFrameworkElement(BC38): which eight types keep it and which lose it, why<Setter Property="Background">stops resolving in a style whose target type doesn't declare it, and how to migrate.DataContextrestricted toFrameworkElement(BC58): this changes only the API surface.{Binding}on a non-FrameworkElementobject (Brush,Run,ColumnDefinition, …) still resolves through the inheritance context, as in WinUI. Uno's multi-parent sharing is stricter than WinUI's, though: it lacks WinUI'sResourceDictionaryandContentControlexceptions, so a brush resource shared by several elements stops resolving its bindings, and the entry says so. The entry also explains why flyout content still binds against its target.IAnimatedVisualSource: maps the nine-method Uno-only contract to WinUI'sTryCreateAnimatedVisualwith an old → new table, and notes that unmodified LottieGen output now compiles.DependencyObjectis a class (BC26):partialis no longer required, and a type can no longer inherit another base class and pick upDependencyObjectalongside it.UserControl : Control(BC14): the lostContentControlsurface, andContentretyped fromobjecttoUIElement.DependencyPropertyValuePrecedences(BC39): the removed and renamed enum members, which consumers can reach through the publicDependencyObjectExtensionsprecedence overloads.HtmlElementAttribute,HtmlCustomEventArgs,UIElement.HtmlId, …). The entry now points toBrowserHtmlElementas the replacement instead of listing it as removed.Docs that still taught a removed model
api-differences.mdanduno-internals-overview.mdstill describedUIElementinheriting a native view type andDependencyObjectas an interface. They also linked a source-generator file deleted inc371084bb52.migrating-guidance.mdtold readers to addpartialwhen inheritingDependencyObject, which is no longer true. Its deep link pointed at a heading this PR renames.feature-flags.mddocumented the threeUseVulkanOn*flags asDefault: false; they aretrue(FeatureConfiguration.cs:520,527,539).using-vulkan-rendering.mdcalled Vulkan opt-in, but it is the default. This PR adds a Disabling Vulkan section and rewrites the fallback list to match the new default.using-skia-desktop.mdcalled SkiaSharp 4 opt-in, but it is the default.windows-ui-xaml-window.mdsaid a second window throws on both Android and iOS. iOS gained scene-backed windows in feat: Support for iOSSceneDelegate#19083, so the limitation now applies only to Android, and the doc spells out the iOS opt-in requirements.platform-specific-csharp.mdcorrections:__APPLE_UIKIT__is defined only bysrc/Uno.CrossTargetting.targets, which is repo-internal and in no nuspec, so consumers never get it.__UNO_SKIA__ships in theUno.WinUI.Runtime.Skia.*packages. Android, iOS, tvOS and browser-WASM class libraries still get it through those packages' build assets, butnet10.0-desktopand plainnet10.0class libraries don't, so the row now says exactly that.NETFX_CORErow is gone.||in the symbols table is escaped so the rows render.migrating-from-previous-releases.mdstopped at 6.6, so nothing linked readers to the 7.0 guide.Removal of the leftover WASM DOM-renderer surface
The DOM renderer was already gone, but its browser-side layer and a few consumers were still in the tree. None of it was compiled or shipped: on
master, no project file referencessrc/Uno.UI/ts,tsBindingsorWasmCSS, except the two cross-project includes moved below.src/Uno.UI/ts/**:WindowManager.ts,HtmlDom.ts,MonoSupport.ts, theInterop/**Mono shims and theWindows/**DOM extensions.src/Uno.UI/tsBindings/**andsrc/Uno.UI/tsconfig.json.src/Uno.UI/WasmCSS/Uno.UI.css.Uno.Extensions.HtmlCustomEventArgs. Its only producer,UIElementWasmExtensions, was removed earlier, so no app could receive one. It is covered in both PackageDiffIgnore IgnoreSets.Wasm_CustomEventsample and itsItemExclusions.propsblock.Given_CustomEventsandWasmTests.Given_HtmlElementAttribute.wasm.csand itsCompileinclude.HtmlElementAttributeprobe inXamlFileGenerator, which can no longer resolve.#if __WASM__cleanup block fromApplication.Alc.cs.__WASM__is never defined forUno.UI, and none of the three members the block called exist anymore.WebView.tsmoves toUno.UI.Runtime.Skia.WebAssembly.Browser/ts/Runtime/. That project was its only consumer and already<Link>ed it there.ts/types/**.d.tsfiles move toUno.WinRT, which the browser runtime already references.TypeScriptCompileandtsconfig.jsonentries are updated to match, andspecs/043-drop-native-rendering/progress.mdrecords the new locations.Build and project-file fixes
build/PackageDiffIgnore.xml: BC62 renamedApplication.TraceProvider.LauchedStart/LauchedStoptoLaunched*, and the package diff reads that as two removed public fields. Neither old name had an ignore entry, so the Phase 4 "package-diff clean" clause was unmet. The entries are added to both the 6.6 and 6.7 IgnoreSets, which are maintained as identical copies (the same applies toHtmlCustomEventArgsabove).UnoAppWinUILinuxValidationpinnedSkiaSharp.Skottieat2.88.7, while the repo ships4.151.1. That folder'sDirectory.Build.targetsdeliberately does not chain tosrc/Directory.Build.targets, so the centralPackageReference Updatenever retargets it. The stale pin was live and conflicted with the SkiaSharp-4-basedUno.WinUI.Lottiethat the same head references.Spec reconciliation: the BC26, BC39 and BC58 impact specs still described their plans rather than what shipped, including "open decision" sections the code had already answered. Two plan claims were false against the tree and are corrected:
DependencyObjectStoreno longer exists (it was folded intoDependencyObject), andDependencyObjectGeneratorwas deleted outright rather than trimmed. The specs cite only public references.Validation
docfx docfx.jsonproduced a warning/error set byte-identical to the base commit: 178 warnings / 16 errors, 196 normalized lines, with no new diagnostics. That build caught one regression, a renamed heading that broke an inbound#anchordeep link, and it is fixed. On the current head, theUno.UI - docspipeline andCheck Docs linkspass. No browser validation of the rendered pages was performed.Uno.UI(net10.0) builds with 0 warnings and 0 errors.SamplesApp.UITestsbuild clean.Uno.UI.SourceGenerators.Testshas the same failure set with and without theXamlFileGeneratorchange (21 pre-existing failures).Uno.Runtime.Wasm.jsis unchanged: 6380 lines, with the sameWebViewandBrowserPointerInputSourceoccurrence counts.#if __WASM__block.TextElement.cs,Given_DependencyProperty.cs) change comments only.PR Checklist ✅
Screenshots Compare Test Runresults. N/A: no rendering change, since the deleted CSS/TypeScript was not compiled or shipped.Breaking change: this PR removes the public
Uno.Extensions.HtmlCustomEventArgstype. Nothing could raise it once the DOM renderer was removed, so apps can only be affected at compile time. The 7.0 migration guide lists it with the rest of the removed WASM DOM-interop surface and points toUno.UI.NativeElementHosting.BrowserHtmlElementas the replacement. Everything else here documents breaking changes already onmaster, and introduces none.Note for reviewers
This PR does not resolve one item flagged during the audit.
UserControllost the entireContentControlsurface and hadContentretyped, yetPackageDiffIgnore.xmlhas noUserControlentries. By comparison, the analogousMediaPlayerPresenterreparent needed explicit entries for exactly that kind of inherited-member loss. Settling it needs a pack plus ageneratepkgdiffrun. A green CI diff would not settle it either, becauseUno.PackageDiffhas been unpublished since 2025-02-24 (uno-private#2312).🤖 Generated with Claude Code
https://claude.ai/code/session_01GDmguoPp2ywTHVJQjCP8QD