{"version":"2.1.281","anchor":"directory-sync-protocol-additions","canonical_anchor":"directory-sync-protocol-additions","heading":"Directory sync protocol additions","tier":null,"area":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281\/e\/directory-sync-protocol-additions","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281","markdown":"### Directory sync protocol additions\n\nThe directory sync protocol gains new state fields, a \"held\" result for the trash handler, and a count of already-published commits\n\n**Unclear.** The finding does not say what these fields change for someone whose directory is being synced.\n\n**What**\n\nThe protocol that keeps a directory in sync gains several fields:\n\n- The sync state now carries `setAside`, `appliesLinks`, `need` and `complete`.\n\n- The trash handler can return a `held` result and a `discardCopy`.\n\n- The trash anchor gains an optional `host`.\n\n- Pushing now counts the commits already published.\n\n**Why**\n\nThese are internal additions to how syncing tracks its progress. Nothing here describes a new visible feature."}