What does cake have to do with content operations? 🍰 👀 Find out in our Spring Release...
Back to changelog

Multi-origin support for previews in Presentation Tool and revision history bugfix

✨ Highlights

Multi-origin support in Presentation Tool

The Presentation Tool now supports configuring multiple preview URL origins in a single instance. This unlocks better support for setups with multiple domains, like marketing sites and web stores that share the same dataset and schema.

You can now define multiple allowed origins and dynamically configure them using Sanity clients or URL patterns. This update includes:

  • New allowOrigins option to specify a list of valid origins.
  • Updated previewUrl.initial and previewMode support for async configuration.
  • Deprecation of previewUrl.origin and preview options.

This is the first milestone toward a more flexible, multi-origin editing experience in Presentation. Stay tuned for future improvements like autocomplete and better UI for switching between origins.

See the PR for details.

Other features

  • Updates the CLI help text for sanity dataset export to clarify how it handles failing assets. #9173

🐛 Notable bugfixes

  • Fixes an issue where the document revision tab would show incorrect diffs if no Published event existed. The logic now correctly falls back to the Created event when needed. #9196

Install or upgrade Sanity Studio

To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.

Published April 16, 2025