Home / Companies / Sanity / Blog / Post Details
Content Deep Dive

Documentation

Blog post from Sanity

Post Details
Company
Date Published
Author
-
Word Count
591
Language
English
Hacker News Points
-
Summary

Sanity Studio offers a real-time document editing experience by storing edits as patches in the backend, which collectively form a document's revision history. The history retention period, determined by the user's subscription plan, dictates how long these revisions are accessible before being truncated and permanently deleted, with options ranging from 3 days for the Free plan to 365 days for the Enterprise plan. This retention system ensures GDPR compliance, allowing users to upgrade or downgrade their plans to adjust the retention period, though this only affects future revisions and not past ones. Users can explore document revision history within the Sanity Studio editor by accessing various document status indicators and contextual menus, which offer insights into published, draft, and live edit modes, along with history status labels that denote actions like publication, editing, and truncation. Furthermore, when documents are published as part of a Content Release, changes are consolidated into a single entry, but users can still inspect individual history entries to understand modifications prior to the release.