Skip to content

docs: Restructure the Uno Platform 7.0 migration guide - #26143

Merged
MartinZikmund merged 8 commits into
masterfrom
dev/mazi/migrate70-docs
Nov 9, 2026
Merged

MartinZikmund merged 8 commits into
masterfrom
dev/mazi/migrate70-docs

Conversation

@MartinZikmund

@MartinZikmund MartinZikmund commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

GitHub Issue: N/A, documentation only

PR Type:

📚 Documentation content changes

What changed? 🚀

The Uno Platform 7.0 migration guide was a single 1,970-line page, most of which an average app never needs, and a few of the steps that matter most were buried in it. This splits it into a short path that fits most apps, plus linked pages for everything else.

Landing page (migrating-to-uno-7.md, same UID and URL): a TL;DR, a "before you start" table for projects that need to do something else first, eight concrete upgrade steps, the top changes the compiler won't catch, and a map of the other pages. It's about 185 lines.

Sub-pages (migrating-to-uno-7/): each opens with "Read this if / Skip it if".

Page Covers
lookup Error code to fix, run-time symptom to cause, changes the compiler won't catch, and strings to search for in your code
project-setup Uno.Sdk, heads, Mac Catalyst, .NET 9, minimum OS versions
packages The old packages table, grouped into linkable sections
renames Uno.UI.Toolkit, runtime hosts, MRT Core
app-startup Android head, activation, lifecycle, iOS settings, Android context
libraries Target frameworks, XAML prefixes, file suffixes, symbols, runtime identifiers
removed-apis, winui-parity, feature-flags, xaml, behavior The remaining changes, each under its own heading so it can be linked and searched
checklist The original 27 items, grouped, each with a details link

For AI agents, the lookup search table lets an agent scope an upgrade by searching for strings and reading only the sections that match.

Also in this PR:

  • Every page ends with a "Related pages" footer, and sections link to related entries on other pages through "See also" lines.
  • The TOC nests the new pages under "Upgrading to Uno Platform 7.0".
  • Pages about one specific topic now link to its section instead of the top of the guide.
  • The 7.0 entry in migrating-from-previous-releases.md loses its sentence about deferred breaking changes. The recompile advice remains in the guide.
  • build/cSpell.json gains five words. Spell check reported no issues on the old page despite unknown words in it, so that text probably never got checked. The split exposes them, and two UK spellings are corrected.

For reviewers

The original text was moved by script rather than retyped, so reviewing the wording of the moved sections isn't necessary. A word-level comparison against the old page shows these differences:

  • 36 words are gone: checklist numbers, an HTML lint comment, the old H1 suffix, and "(WinUI parity)" heading suffixes and "see above" wording replaced by links.
  • 883 of 903 sentences are verbatim. The other 20 are those same kinds of edits, plus the two spelling fixes.
  • All 43 code blocks and all link targets are present.

The newly written content is what needs review: the landing page, the lookup page, the "Read this if" intros, the "See also" lines, the footers and the section groupings. In particular, these landing page instructions weren't in the old guide:

  • Updating the IDE extension.
  • Running uno-check.
  • Deleting bin and obj.

Validation

  • Build: DocFX at the CI-pinned 2.73.2 with external docs imported gives no warnings on these pages. Its only error is implemented/toc.yml, which only CI generates. markdownlint and cspell are clean on the new pages.
  • Runtime: all 419 links into or out of these pages resolve against the built HTML ids. All 13 pages returned HTTP 200 from a local serve, with the expected headings, alerts and tables, and three pages were checked visually.
  • Not done: the steps have not been run against a real 6.x app.

PR Checklist ✅

🤖 Generated with Claude Code

https://claude.ai/code/session_01TXMNtxrtrvcmLANfMbXPjZ

Copilot AI balanced review requested due to automatic review settings November 6, 2026 15:47
@github-actions github-actions Bot added area/build Categorizes an issue or PR as relevant to build infrastructure kind/documentation labels Nov 6, 2026
@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 28s —— View job


Review of #26143: restructure the 7.0 migration guide

Verdict: ship after minor fixes. The restructure is sound. I reviewed only the landing page (migrating-to-uno-7.md), the TOC and the cSpell.json changes. I did not read the moved sub-pages, since the PR says they were moved by script.

Issues: 0 blocking, 3 minor, all inline and all on the landing page.

Not covered

  • I did not rebuild DocFX or re-check the links, so I'm relying on your validation notes for those.
  • I didn't verify the new technical claims on the landing page, such as the UNOB0035 behavior or the minimum OS versions, against the code.
  • As the PR says, the steps haven't been run against a real 6.x app. That is the main remaining risk for a migration guide.

Comment thread doc/articles/migrating-to-uno-7.md Resolved
Comment thread doc/articles/migrating-to-uno-7.md Resolved
Comment thread doc/articles/migrating-to-uno-7.md Resolved

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Unsafe migration-page skip conditions and incorrect SkiaRenderer removal guidance can leave apps with failed Release restores, missing dependencies, and runtime or image-loading failures.

4 open issues
What changed in this PR

This documentation-only PR reorganizes the Uno Platform 7.0 migration guide into a shorter upgrade path and focused reference pages, helping app and library authors find relevant migration steps.

Changes:

  • Adds topic-specific migration pages, an error and symptom lookup, and a grouped checklist.
  • Nests the pages in the documentation TOC and updates related articles to link directly to relevant sections.
  • Adds five spelling-dictionary entries and makes minor wording corrections.
File Description
doc/​articles/​uno-build-error-codes.md Links diagnostics to specific migration sections.
doc/​articles/​toc.yml Nests the migration reference pages.
doc/​articles/​net-version-support.md Links directly to .NET retargeting guidance.
doc/​articles/​native-views.md Links to native-hosting migration guidance.
doc/​articles/​migrating-to-uno-7/​xaml.md Groups XAML, URI, and style changes.
doc/​articles/​migrating-to-uno-7/​winui-parity.md Collects WinUI API alignment changes.
doc/​articles/​migrating-to-uno-7/​renames.md Documents namespace, assembly, and host renames.
doc/​articles/​migrating-to-uno-7/​removed-apis.md Collects removed APIs and replacements.
doc/​articles/​migrating-to-uno-7/​project-setup.md Covers project format, frameworks, and OS requirements.
doc/​articles/​migrating-to-uno-7/​packages.md Groups package and Uno Feature migration guidance.
doc/​articles/​migrating-to-uno-7/​lookup.md Adds error, symptom, and code-search tables.
doc/​articles/​migrating-to-uno-7/​libraries.md Covers library targeting and conditional code.
doc/​articles/​migrating-to-uno-7/​feature-flags.md Groups removed flags and replacement behavior.
doc/​articles/​migrating-to-uno-7/​checklist.md Organizes migration tasks with details links.
doc/​articles/​migrating-to-uno-7/​behavior.md Collects behavior changes requiring retesting.
doc/​articles/​migrating-to-uno-7/​app-startup.md Covers startup, activation, lifecycle, and settings.
doc/​articles/​migrating-from-previous-releases.md Introduces the reorganized upgrade guide.
doc/​articles/​features/​using-skia-rendering.md Links directly to Mac Catalyst migration steps.
doc/​articles/​features/​Lottie.md Links to animated-source migration guidance.
doc/​articles/​features/​applicationdata.md Links to iOS and tvOS settings migration.
doc/​articles/​controls/​Frame.md Links to navigation behavior changes.
build/​cSpell.json Adds five documentation vocabulary entries.

Review effort: Balanced

Comment thread doc/articles/migrating-to-uno-7.md Resolved
Comment thread doc/articles/migrating-to-uno-7/xaml.md Resolved
Copilot AI balanced review requested due to automatic review settings November 6, 2026 16:00
@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 21s —— View job


Review of #26143: restructure the 7.0 migration guide

Verdict: fix-first (minor). The restructure is sound. I read only the landing page (doc/articles/migrating-to-uno-7.md). I did not open the sub-pages, since the PR says they were moved by script. I did not rebuild DocFX or re-check links.

Findings: 0 blocking, 0 new. I posted no inline comments because the open ones already cover what I found on the landing page. Before merge I'd address these:

  • TL;DR and steps don't line up (line 37). The TL;DR lists 6 items and the steps list 8. The UnoFeatures cleanup (step 4) and the silent settings loss (step 6) are the steps most likely to bite. Put them in the summary.

  • skiarenderer removal advice (line 83). The advice is unsafe for apps that also list WebGpu, or that use Skia drawing controls on a Windows head. Say "replace with Skia" for those apps. The same fix is needed in checklist.md:20.

  • Leftover "Who is affected the most" section (lines 151-162). It sits after the steps, so it no longer helps the reader decide anything. The last sentence ("only need recompile") contradicts steps 5 and 6, which are mandatory for Android and iOS apps even when they already use Skia. Drop the section or move it up as an intro.

  • "Skip it if" conditions are unsafe on several sub-pages.

    • packages.md: lock-file users are told to skip.
    • renames.md: it says to skip if the compiler finds no old names, but Type.GetType strings and trim/IL-merge config are invisible to the compiler.
    • xaml.md: relative-URI users are told to skip.

    Base each skip rule on searching the places the page names, not on compiler output.

  • Settings warning (step 6). Use [!WARNING] and list it under "changes the compiler won't catch" in step 8.

Not covered

  • I didn't check the new technical claims against the code, such as the UNOB0035 behavior or the minimum OS versions.
  • As the PR says, the steps haven't been run against a real 6.x app. That is the main remaining risk for a migration guide.

I made no code changes. Tell me if you want me to apply the fixes above.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Unresolved migration guidance can lead readers to miss runtime-breaking changes or remove required Skia dependencies, while legacy section links no longer reach the relevant instructions.

4 open issues
2 previously missed issues

In code that hasn't changed since last review

Low severity Document WinAppSDK apps that need the Skia token

doc/​articles/​migrating-to-uno-7/​checklist.md:20

The unconditional removal instruction also affects WinAppSDK, where Skia is never implicit. An app using Toolkit Skia controls on Windows can lose Uno.Toolkit.Skia.WinUI by following this checklist, even though keeping SkiaRenderer would still map it to Skia. The library-only exception is insufficient; include the app exceptions described in packages.md:75,92 and advise replacing the token with Skia when those dependencies are needed.

Low severity Include removed native style keys in skip-condition exceptions

doc/​articles/​migrating-to-uno-7/​removed-apis.md:11

References such as Style="{StaticResource NativeDefaultButton}" resolve at runtime, so a clean build does not rule out the removed native style keys. This skip condition can send affected readers past the “Native default styles” migration guidance. Include those keys among the exceptions, alongside list command bindings.

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings November 6, 2026 16:15
@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 36s —— View job


Review of #26143: restructure the 7.0 migration guide

Verdict: fix-first (minor). This is a docs-only PR with no code, tests or build changes. I read the landing page (migrating-to-uno-7.md) and the checklist.md line that mentions skiarenderer. I read only the Skip it if lines of the sub-pages. I didn't re-read the other moved sections, since the PR says they were moved by script.

Issues: 0 blocking, 6 minor, all posted inline.

Fixed since the earlier reviews

  • The TL;DR now lines up with the steps and shows the required items first.
  • The settings warning in step 6 is bold. It is not yet in the step 8 "won't catch" list.

Still open (one inline comment each)

  • skiarenderer "you can remove it" advice in step 4 and checklist.md:20. It is unsafe for apps that list WebGpu, or that use Skia controls on a Windows head.
  • The leftover "Who is affected the most" section. Its last sentence contradicts steps 5 and 6.
  • Unsafe "Skip it if" rules on renames.md, packages.md, xaml.md and removed-apis.md. renames.md and removed-apis.md rely on compiler output, which misses string and run-time cases. packages.md and xaml.md exclude lock-file and relative-URI users.

Not covered

  • I did not rebuild DocFX or re-check links.
  • I did not check the new technical claims against the code, such as the UNOB0035 behavior or the minimum OS versions.
  • As the PR says, the steps haven't been run against a real 6.x app.

I made no changes. Tell me if you want me to apply these fixes.

Comment thread doc/articles/migrating-to-uno-7.md Resolved
Comment thread doc/articles/migrating-to-uno-7.md Resolved
Comment thread doc/articles/migrating-to-uno-7/xaml.md Resolved

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The migration guidance incorrectly treats a clean build as sufficient to skip checking old assembly names, even though assembly-qualified strings and configuration references can compile successfully while failing at runtime.

4 open issues

Review effort: Balanced

@unodevops

Copy link
Copy Markdown
Contributor

MartinZikmund and others added 2 commits November 9, 2026 15:49
Turn the single long page into upgrade steps for the common case, plus
sub-pages for everything most apps can skip. Each sub-page says who
should read it, and a lookup page maps errors, symptoms and code search
strings to the section that explains them.

The original text is moved rather than rewritten. Spell check skipped the
old page, so the split exposes words that now need fixing or allowing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TXMNtxrtrvcmLANfMbXPjZ
Pages that refer to one specific migration topic now link to its section
instead of the top of the guide.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TXMNtxrtrvcmLANfMbXPjZ
MartinZikmund and others added 4 commits November 9, 2026 15:49
The topic pages mostly only linked back to the landing page, so a reader
had no path to a related entry elsewhere in the guide. Add "See also"
lines where topics connect, and a related-pages footer on every page.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TXMNtxrtrvcmLANfMbXPjZ
Show the Android head edit in the TL;DR, since every Android app needs
it. Default minimum OS versions and the Windows App Runtime requirement
apply without a pinned version or a build error, so stop presenting them
as relevant only to projects that pin versions.

Also cover ConfigureUniversalImageLoader, which older generated Android
heads call and which no longer compiles.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TXMNtxrtrvcmLANfMbXPjZ
Removing skiarenderer is unsafe next to WebGpu, and on Windows Skia also
needs UnoEnableSkiaOnWinAppSdk. Several "Skip it if" rules relied on a clean
build, which misses strings, config, run-time style keys and relative URIs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TXMNtxpFrztWdo3AimCoqG
Copilot AI balanced review requested due to automatic review settings November 9, 2026 14:51
@MartinZikmund
MartinZikmund force-pushed the dev/mazi/migrate70-docs branch from 0727fc8 to bd337aa Compare November 9, 2026 14:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 19s —— View job


Review of #26143: restructure the 7.0 migration guide

Verdict: ship. This is a docs-only change. I checked the current head against the open review threads and did not rebuild DocFX or re-check links.

Issues: 0 blocking, 0 new. No inline comments posted.

Earlier findings now addressed in the current head

  • skiarenderer advice: migrating-to-uno-7.md:117 and checklist.md:20 now say to replace it with Skia when the app lists WebGpu and still draws with SkiaSharp. checklist.md also covers libraries and Windows heads (UnoEnableSkiaOnWinAppSdk).
  • "Who is affected the most" section: removed from the landing page.
  • "Skip it if" rules:
    • packages.md now excludes lock-file users.
    • renames.md bases the rule on searching strings and trimming/IL-merge config, not compiler output.
    • xaml.md excludes relative-URI users.
    • removed-apis.md lists the native style keys as a run-time exception.
  • TL;DR: the landing page now lists required items first, with a link to the UnoFeatures cleanup.

Remaining risks

  • The steps have not been run against a real 6.x app. That is the main residual risk for a migration guide.
  • I did not check the new technical claims against the code, such as the UNOB0035 behavior and the minimum OS versions.
  • Some Copilot threads may still show as open. They look resolved by the text above, so mark them resolved if you agree.

Comment thread doc/articles/migrating-to-uno-7.md Resolved
Copilot AI balanced review requested due to automatic review settings November 9, 2026 17:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 13s —— View job


Review of #26143: restructure the 7.0 migration guide

Verdict: ship. This is a docs-only PR. I based this on the PR description, the review threads and the diff summary. I did not rebuild DocFX, re-check links or re-read the moved sub-pages. I posted no inline comments.

Status of earlier findings

  • The author reports the earlier threads fixed in bd337aa457d and later. They covered the skiarenderer advice, the unsafe "Skip it if" rules, the leftover "Who is affected" section, the TL;DR numbering and the settings warning. I did not re-verify these against the current head.
  • The newest landing-page text addresses the WebGpu and Windows Skia cases. It also moves the iOS and tvOS settings-loss warning into the TL;DR and the step 8 "won't catch" list.

Still open

  • Prism guidance (from the 2026-11-09 review by ajpinedam): the landing page and TL;DR tell Prism apps to remove Prism and add the Prism packages themselves. packages.md says the published releases (9.0.537 and earlier) don't build with 7.0, and the review reports no 7.0 release exists yet. A Prism app following the main path has nothing to move to. Suggested fixes:
    • Add a "Before you start" row telling Prism users to wait for a Prism release built for 7.0.
    • Reword UNOB0035 as reported "while UnoFeatures still lists Prism", not "until you do". It is a warning, and adding packages doesn't clear it.

Not covered

  • The steps have not been run against a real 6.x app. That is the main remaining risk for a migration guide.
  • I did not check the technical claims against the code, such as UNOB0035, the minimum OS versions and UnoEnableSkiaOnWinAppSdk.

I made no code changes.

Copilot AI balanced review requested due to automatic review settings November 9, 2026 17:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 12s —— View job


Review of #26143 (latest push: 3d6c0a03, "Remove Prism feature now, re-add it later")

Verdict: ship. Docs-only change. I read the last commit and grepped the guide for remaining Prism guidance. I did not rebuild DocFX or re-check links.

The commit resolves the open Prism thread from ajpinedam:

  • The landing page TL;DR (line 67), the "Before you start" row (line 80) and step 4 (line 119) now say to remove Prism now and add the packages back once a release built for 7.0 exists. None of them tells readers to add the broken 9.0.537 packages.
  • UNOB0035 is described as reported "while UnoFeatures still lists Prism", which matches packages.md:102 and lookup.md:34.

Issues: 0 blocking, 0 new. I posted no inline comments.

Remaining risk

  • The steps have not been run against a real 6.x app.
  • I did not check the technical claims against the code, such as UNOB0035 behavior and the minimum OS versions.

I made no code changes.

@MartinZikmund
MartinZikmund merged commit 474436c into master Nov 9, 2026
16 of 18 checks passed
@MartinZikmund
MartinZikmund deleted the dev/mazi/migrate70-docs branch November 9, 2026 18:07
@MartinZikmund

Copy link
Copy Markdown
Member Author

@Mergifyio backport release/stable/7.0

@mergify

mergify Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

backport release/stable/7.0

✅ Backports have been created

Details

agneszitte added a commit that referenced this pull request Nov 9, 2026
…7.0/pr-26143

docs: Restructure the Uno Platform 7.0 migration guide (backport #26143)
@unodevops

Copy link
Copy Markdown
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/build Categorizes an issue or PR as relevant to build infrastructure kind/documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants