Version Documents

Prismic provides unlimited version histories. In the editor, you can view, compare, and restore previous versions.

Version History

Prismic keeps a complete record of all changes to your content, making it easy to track, compare, and restore different versions of your documents.

For slice models, versioning happens in your codebase rather than directly inside Prismic, so it relies on your Git workflow to maintain a history of changes.

Content Versioning

Every document you create has a detailed version history. To access it, open the editor and click View History in the top-right corner, below the document title. A timeline appears showing each saved version along with its publication status, the author who made the update, and the date the change occurred.

Any content that was removed appears highlighted in red, and newly added content is highlighted in green. For images, a comparison slider lets you visually check differences such as cropping, resizing, or replacements. Navigation arrows in the top-right corner help you move through each change one by one.

to restore a previous version select any earlier version and restore it. From there, you can review the content before saving and publishing it again.

Slice Model Versioning

Unlike content versioning, the history of your slice models is not managed automatically within Prismic. Instead, slice models are stored as JSON files in your codebase. To track and manage changes over time, you can version these files using Git as part of your development process. This approach gives your team the ability to collaborate on model updates, review past changes, and roll back to earlier definitions when necessary.

Using Slice Machine makes it easier to manage slices in your project and synchronize them with Prismic, ensuring consistency across environments.

Was this page helpful?