Sanity Studio v4.0.1: Bugfixes

🐛 Notable bugfixes

When a document is marked to be unpublished in a release, the published content—rather than the content from the version—will be displayed in the document editor and release detail view. This makes it easier to understand which document will be unpublished.

Fixes an issue that could sometimes cause Media Library asset selection to fail during the linking phase.

sanity v4 is here

The `sanity` package is now on v4. The only breaking change is that it now requires Node.js 20, where it previously required Node.js 18. Learn more about why we're making this change and what it means for your apps.

If you have auto-updates enabled, your deployed studios will automatically move to v4. We only auto-update to major versions when they involve non-breaking runtime changes. Learn more about auto-updating studios.

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.

If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your dependencies are up to date.