Skip to content

Merge v17/main into v18/main (2026-11-26) - #1302

Merged
KevinJump merged 9 commits into
v18/mainfrom
merge/v17-to-v18-2026-11-26
Nov 26, 2026
Merged

KevinJump merged 9 commits into
v18/mainfrom
merge/v17-to-v18-2026-11-26

Conversation

@KevinJump

Copy link
Copy Markdown
Member

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)

None were dismissed as already applied.

Conflicts resolved

  • ContentSerializerBase.cs: v18 had refactored DeserializeBaseAsync (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 set ParentId, as v18 already did.
  • Directory.Packages.props: kept v18's file and pins. The only addition is NUnit 3.14.0 for uSync.Files.Tests, which matches what uSync.Tests already resolves on v18.
  • packages.lock.json files: took v18's, then regenerated them.

Version-specific values

  • uSync.Files and uSync.Files.Tests target net10.0, the same as the rest of v18. The library has no Umbraco or version-specific references.
  • uSync.Files.Tests/Fixtures/*/Site.csproj and the uSync/v17 fixture 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. No package.json or package-lock.json was touched.
  • dotnet build uSync.slnx -c Release: passed.
  • uSync.Tests: 439 passed. uSync.Files.Tests: 33 passed.
  • Test fix: ContentMoveTests now 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

KevinJump and others added 9 commits November 23, 2026 17:50
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release/18.3.4 uSync 18.3.4 release

Development

Successfully merging this pull request may close these issues.

1 participant