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
andpreviewMode
support for async configuration. - Deprecation of
previewUrl.origin
andpreview
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.
- Updates the CLI help text for
sanity dataset export
to clarify how it handles failing assets. #9173
- 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
To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.