uSync.Complete 17.8 - Trusted servers
uSync.Complete 17.8 (Umbraco 17) and 18.5 (Umbraco 18) are out. This release adds trusted servers to Publisher, puts an item's sync status and dependencies on its Info tab, and adds a Check to a server's Sync view so you can see what's different before you sync anything.
dotnet add package uSync.Complete --version 17.8.0
Trusted servers
Publisher servers have always shared one key, the AppId and AppKey in each site's config. With 17.8 a server can keep a list of the servers it accepts pushes and pulls from, and each one gets a key of its own.
There's a new Trusted tab in the Publisher settings. Click Add trusted server, give the sending server a name, and Publisher makes a key for it.

You then get the config to put on the sending server, as appsettings.json or as environment variables. The key is only shown once, so copy it there and then.
Once a server has a trusted list, only the servers on it can send to it. If other servers still use the shared key, tick Keep accepting the shared key for now when you add the first one. The shared key goes on the list as an entry of its own, so you can move servers over one at a time and remove it at the end.

The Last seen column tells you when each server last sent something since the site started, which makes it easy to check nothing is still using a key before you remove it. Removing one server's key doesn't affect any of the others.
If you don't add any trusted servers, nothing changes. Your servers keep using the shared key, as they do now.
Sync status on the Info tab
Open the Info tab on a page or media item and there are two new boxes.

Publisher compares the item with each server you can push to, and tells you if it's up to date, different, or not on that server yet. The status opens the compare dialog, and the menu next to it has push and pull for that server.
uSync dependencies lists what would go with the item if you pushed it, grouped by type, with a link to each one.
Both boxes load when you click them, so the Info tab is no slower to open.
Check before you sync
The Sync view on a server is where you push or pull settings between two sites. There's now a Check button at the top. It compares your document types, data types and the rest of the settings with the server, and tells you how many changes there are, without changing anything on either site.

Show changes opens the full report in a sidebar, so you can see exactly what a push or pull would do before you run it.
And the rest
- Push deletes from the recycle bin. Pushing a page or media item that's in the recycle bin now removes it on the target. Media goes to the target's recycle bin, so you can still get it back there.
- Custom relations. A content push that includes config now brings the page's relations from your own relation types with it.
- API users. User sync keeps an API user's kind and key. If you want their client credentials synced as well, turn on
IncludeClientCredentials. It's off by default, and you can set it on the user handler or for every set at once:
{
"uSync": {
"People": {
"IncludeClientCredentials": true
}
}
}
- Settings schema. Publisher and Exporter now ship JSON schema files, so you get completion and descriptions for their settings in
appsettings.json. - Compiled views. When the receiving site's views are compiled into its build, Publisher reports say so and leave the view files out, as copying them wouldn't change anything.
- Umbraco Commerce. Push and Pull now show for namespaced entity types, such as Commerce's countries and store settings.
18.5 brings all of this, plus the 17.7.2 changes, to Umbraco 18. It needs uSync 18.3.4 or later.
Getting it
dotnet add package uSync.Complete --version 17.8.0
dotnet add package uSync.Complete --version 18.5.0
The v17.8.0 and v18.5.0 release notes have the full list, and the docs cover everything else.