# `MishkaDocument.Resources.Changes.EnsureSingleLatestVersion`
[🔗](https://github.com/mishka-group/mishka_document/blob/v0.0.1/lib/mishka_document/resources/__changes/ensure_single_latest_version.ex#L5)

Ensures only one version is marked as latest per workspace.

When `is_latest_for_version` is set to true, automatically unmarks
all other versions in the same workspace, as whoever made the change.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
