Sanity Studio v3.86.0: Image hotspot configuration; Navigation fixes; and PTE full-screen bug fixes

✨ Highlights

Configure image hotspot aspect ratios

The image schema options now supports a hotspot object for configuring the image hotspot tool. This now enables custom aspect ratios for the crop previews to be applied through configuration.

{
name: 'hotspotImage',
title: 'Hotspot image',
type: 'image',
options: {
hotspot: {
previews: [
{title: '2:1', aspectRatio: 2 / 1},
{title: 'Square', aspectRatio: 1 / 1},
{title: '4:5', aspectRatio: 4 / 5},
{title: '9:16', aspectRatio: 9 / 16},
],
},
},
},

This hotspot option still supports the boolean value to the enable/disable hotspot tool. The image hotspot tool will use default configuration if enabled with a boolean.

🐛 Notable bugfixes

Fixes an issue where in some cases opening a document throws a set state error.

Fixes an issue that stops the studio from loading when the URL does not include a trailing slash immediately preceding a query string.

Upgrades the Portable Text editor (PTE) to fix an issue where toggling full-screen on a PTE field with a comment would cause an error.

Removes Start in Create banner. Users can continue creating linked studio documents from within Create. Existing linked documents can continue being edited.

Marks the beta.create config option as deprecated.

Removes the SanityCreateConfigProvider export from sanity.

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.