Sanity Studio v3.78.0: New document comparison view and improvements to PTE

✨ Highlights

🔍 Document comparison tool

The new document comparison tool provides a side-by-side view of two different documents by version, highlighting the fields that have changed between the previous and next versions.

Select Compare versions from the document actions menu when viewing any draft or version document in Studio to open the tool.

By default, the first pane shows the previous version, and the second pane shows next version (the version that introduces changes). Use the menu at the top of each pane to switch the versions displayed. Learn more in the user guide.

✍️ Portable Text Editor enhancements

Added additional Markdown shortcuts in Portable Text Editor:

code maps to a code markdown block ~~strike-through~~ maps to a strike-through block

CLI api-version flag

The sanity migrate CLI command now takes an optional --api-version flag