Repository navigation
[api] Ship remaining public API baselines on main - #39857
Conversation
Roll all remaining public API records into shipped baselines using the documented mark-shipped script. Apply recorded removals while preserving the effective API surface and nullable markers. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 23b4e34a-9429-4bcb-9c4f-c6fff6d56dbf
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 39857Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 39857" |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain to block approval.
No open issues 🎉
What changed in this PR
Completes the public API baseline rollover on main following #39807, recording the remaining APIs as shipped without changing framework implementation or the effective API surface. This does not reclassify those APIs as part of the original .NET 11 GA release.
Changes:
- Moves 43 pending API records into shipped inventories across nine baseline pairs.
- Applies three recorded Android
PickerHandler2removals while retaining their replacement signatures. - Resets the nine affected unshipped files to
#nullable enable, preserving signature and nullability markers.
| File | Description |
|---|---|
src/Core/src/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt |
Clears two migrated override records. |
src/Core/src/PublicAPI/net-maccatalyst/PublicAPI.Shipped.txt |
Records page sizing and touch-view lifecycle overrides. |
src/Core/src/PublicAPI/net-ios/PublicAPI.Unshipped.txt |
Clears two migrated override records. |
src/Core/src/PublicAPI/net-ios/PublicAPI.Shipped.txt |
Records page sizing and touch-view lifecycle overrides. |
src/Core/src/PublicAPI/net-android/PublicAPI.Unshipped.txt |
Clears migrated records and three removal directives. |
src/Core/src/PublicAPI/net-android/PublicAPI.Shipped.txt |
Records picker and web-view APIs; replaces obsolete picker signatures. |
src/Controls/src/Core/PublicAPI/netstandard/PublicAPI.Unshipped.txt |
Clears four migrated finalizer records. |
src/Controls/src/Core/PublicAPI/netstandard/PublicAPI.Shipped.txt |
Records four Controls finalizers as shipped. |
src/Controls/src/Core/PublicAPI/net/PublicAPI.Unshipped.txt |
Clears four migrated finalizer records. |
src/Controls/src/Core/PublicAPI/net/PublicAPI.Shipped.txt |
Records four Controls finalizers as shipped. |
src/Controls/src/Core/PublicAPI/net-windows/PublicAPI.Unshipped.txt |
Clears four finalizers and one layout override. |
src/Controls/src/Core/PublicAPI/net-windows/PublicAPI.Shipped.txt |
Records Controls finalizers and the structured-items layout override. |
src/Controls/src/Core/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt |
Clears four migrated finalizer records. |
src/Controls/src/Core/PublicAPI/net-maccatalyst/PublicAPI.Shipped.txt |
Records four Controls finalizers as shipped. |
src/Controls/src/Core/PublicAPI/net-ios/PublicAPI.Unshipped.txt |
Clears four migrated finalizer records. |
src/Controls/src/Core/PublicAPI/net-ios/PublicAPI.Shipped.txt |
Records four Controls finalizers as shipped. |
src/Controls/src/Core/PublicAPI/net-android/PublicAPI.Unshipped.txt |
Clears four migrated finalizer records. |
src/Controls/src/Core/PublicAPI/net-android/PublicAPI.Shipped.txt |
Records four Controls finalizers as shipped. |
Review effort: Balanced
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
PureWeen
left a comment
There was a problem hiding this comment.
Adversarial review
Agent-authored independent reviewer assessment of exact head df5941ee0cd8422ec7d695f2344d3a6e05994fd4.
Conclusion: no new actionable findings (3/3 independent reviewers).
Reviewed all 18 authoritative changed files, the API-tracking consumers, and the corresponding declarations. The rollover preserves the effective API inventory and exact signature/nullability strings: 43 additions move into shipped inventories, and the three Android PickerHandler2 signatures removed from Shipped were already marked *REMOVED* in the previous Unshipped inventory. This PR does not introduce those source-level API changes.
Independent verification covered all 61 baseline pairs: nine changed pairs conserve their effective API sets, the other 52 pairs remain unchanged, all Unshipped files contain only #nullable enable, and there are no duplicate records or unmatched removals. Replaying the documented mark-shipped.ps1 workflow in an isolated fixture reproduced the head inventories; a second run was idempotent.
Local PublicApiType=Validate builds of Controls and Core passed for net11.0, netstandard2.0, netstandard2.1, and Windows. The neutral/netstandard builds reported zero warnings and errors; Windows reported 93 warnings, zero errors, and no RS00* public-API diagnostics. These checks cover the baseline migration contract; no runtime behavior or test files change.
Limitations: builds used installed SDK 11.0.100-rc.3.26522.148, not the repository-pinned RTM SDK. Android/iOS/MacCatalyst compilation and device/UI tests were not performed. The supplementary release-branch/package-history claims were not independently certified.
Read the existing review, all four issue comments, and the complete inline-comment inventory (zero entries). No existing-thread operation was performed; thread-resolution status is unknown.
Methodology: 3 independent reviewers with adversarial consensus.
Scope: code review only. CI/check status and merge readiness were not evaluated; use the repository's CI-analysis workflow for that assessment.
|
@dalexsoto stamp |
Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Description of Change
Ship all remaining public API records on current main, following the requested branch-wide rollover. #39807 previously shipped only the .NET 11 GA snapshot and deliberately retained later changes as unshipped; this follow-up ships those remaining changes too. This does not claim that post-GA APIs belonged to the original GA artifacts.
Run the repository's documented
eng/scripts/mark-shipped.ps1workflow fromdocs/design/APIChangeTracking.md:#nullable enable, with zero API or removal records.Only API baseline files change; no framework implementation, API signatures, project configuration, or pipeline changes.
.NET 11 release branch: independently checked freshly fetched
release/11.0.1xxat4645bd1707064533ef2fdd0220bb87de36ca928d. Its 71 baseline pairs already have zero unshipped records, following merged #39474. No duplicate release PR is necessary.Validation
pwsh -NoProfile -File ./eng/scripts/mark-shipped.ps1— passed; running it a second time produced an identical patch.python3 /Users/kubaflo/.copilot/session-state/23b4e34a-9429-4bcb-9c4f-c6fff6d56dbf/files/verify-api-shipping.py 82b9930a39a4a3d64428646a759eaa9855f01028— passed: all 61 baseline pairs; exact(previous shipped + additions) - removalsAPI conservation; zero unshipped entries; no duplicate records or unmatched removals; exact 18-file scope; untouched pairs preserved. This verifier is a session artifact, not a repository change.dotnet restore src/Controls/src/BindingSourceGen/Controls.BindingSourceGen.csproj -p:TargetFramework=netstandard2.0 -p:TargetFrameworks=netstandard2.0 -nologo -v:quiet— passed.dotnet restore src/Core/src/HybridWebViewSourceGen/Core.HybridWebViewSourceGen.csproj -p:TargetFramework=netstandard2.0 -p:TargetFrameworks=netstandard2.0 -nologo -v:quiet— passed.Passed: 0 warnings, 0 errors, rebuilding Controls and its dependencies with public-API validation. Initial attempts encountered missing restore assets, then netstandard2.0 generator targets missing from the neutral-only restore; explicitly restoring both generators resolved those setup failures.
Passed; formatter was scoped to the 18 changed baseline files and produced no additional changes. Open and recently merged API-shipping PRs were reviewed before publication.
Local compiler validation used installed SDK
11.0.100-preview.6.26359.118, not pinned RTM SDK11.0.100-rtm.26514.118. Native Android/Apple/Windows builds, device/UI tests, and full CI were not run locally; this is baseline migration verification plus a representative neutral analyzer rebuild, not full-platform certification.Issues Fixed
N/A — requested public API baseline housekeeping; no bug issue is closed.