Repository navigation
Merge v17/main into v18/main (2026-11-26) - #1302
Merged
Merged
Conversation
Copied from the uSync.CommandLine files-verify code so the health check and the command line share one copy. No Umbraco dependencies (BCL and System.Xml.Linq only), packed as its own package. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The key clash and invalid config checks now come from uSync.Files, and the check adds results for merge conflict markers, alias clashes and items that are both deleted and live. Keys only clash within the same type now, so Content and PublicAccess sharing a node's key is no longer reported. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add uSync.Files and use it for the folder integrity health check
When an import changed an item's parent, the serializer set Path and Level directly. With UpdateDate also dirty on save, Umbraco treats that as a descendant of a bulk move and skips saving property values, so the item moved but its values were lost (in draft and published) until a second import. Descendants of a moved item were hit the same way. Existing items are now moved with ContentService/MediaService.Move before the properties are applied, which also updates descendant paths. If the move fails, only ParentId is set and Umbraco works out the path and level on save. New items and dry runs still set Path/Level in memory. Fixes #1300 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keep property changes when an import also moves the item
Brings uSync.Files (#1294) and the move-loses-properties fix (#1300, #1301) forward from v17. - ContentSerializerBase: ported the #1300 change by hand onto v18's refactored DeserializeBaseAsync (GetParentPathAndLevelAsync). Trashed items and moves to the recycle bin still just set ParentId. - Directory.Packages.props: kept v18's pins, added NUnit 3.14.0 for uSync.Files.Tests. - Lock files regenerated against v18's pins. - ContentMoveTests: switched to v18's async content/media type APIs and dropped the v17-only local link composer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Forward-merge of v17/main into v18/main.
Baseline: last forward merge
0d47fe86(#1290). It was a real merge commit, so ancestry is intact.Carried (2 PRs, 8 commits)
uSync.Files(offline uSync folder checks) plus its tests, and the folder integrity health check now uses it. CI workflows anddist/build-package.ps1pack and test it.None were dismissed as already applied.
Conflicts resolved
ContentSerializerBase.cs: v18 had refactoredDeserializeBaseAsync(GetParentPathAndLevelAsync). I ported the Property changes lost when a content import also moves the node #1300 change onto v18's version by hand. Trashed items and moves to the recycle bin still just setParentId, as v18 already did.Directory.Packages.props: kept v18's file and pins. The only addition isNUnit3.14.0 foruSync.Files.Tests, which matches whatuSync.Testsalready resolves on v18.packages.lock.jsonfiles: took v18's, then regenerated them.Version-specific values
uSync.FilesanduSync.Files.Teststargetnet10.0, the same as the rest of v18. The library has no Umbraco or version-specific references.uSync.Files.Tests/Fixtures/*/Site.csprojand theuSync/v17fixture folders hold 17.x versions on purpose. They are test data, so I left them unchanged.Pins that differ (kept v18's)
Microsoft.SourceLink.GitHub: v17 has 11.0.100, v18 keeps 10.0.403.Microsoft.NET.Test.Sdk: v17 has 18.12.0, v18 keeps 18.11.0.NJsonSchema: v17 has 11.6.2, v18 keeps 11.6.1.Checks
dotnet restore uSync.slnx --locked-mode: failed at first (the new projects came with v17 locks and pins). Passed (exit 0) after--force-evaluate, with no 17.x Umbraco packages in the new locks.npm ci: not needed. Nopackage.jsonorpackage-lock.jsonwas touched.dotnet build uSync.slnx -c Release: passed.uSync.Tests: 439 passed.uSync.Files.Tests: 33 passed.ContentMoveTestsnow uses v18's async content/media type APIs and drops the v17-only local link composer.Please merge with a merge commit (not squash) to keep the ancestry.
🤖 Generated with Claude Code