Sanity logosanity.ioAll Systems Operational© Sanity 2026
Change Site Theme

Changelog

Track new features, improvements, and fixes across all Sanity products.

Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

On this page

Back to Changelog
  1. Changelog
  2. Sanity Studio

Image hotspot configuration; Navigation fixes; and PTE full-screen bug fixes

Published: April 22, 2025

v3.86.0
Sanity Studio

✨ 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.

Loading...
Configuration can be used to position hotspots on image fields
{
  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.

On this page

  • ✨ Highlights
  • Configure image hotspot aspect ratios
  • 🐛 Notable bugfixes
  • Install or upgrade Sanity Studio
Back to Changelog
Configuration can be used to position hotspots on image fields
Sanity logo

Documentation

    • Overview
    • Platform introduction
    • Next.js quickstart
    • Nuxt.js quickstart
    • Astro quickstart
    • React Router quickstart
    • Studio quickstart
    • Build with AI
    • Content Lake
    • Functions
    • APIs and SDKs
    • Agent Actions
    • Visual Editing
    • Blueprints
    • Platform management
    • Dashboard
    • Studio
    • Canvas
    • Media Library
    • App SDK
    • Content Agent
    • HTTP API
    • CLI
    • Libraries
    • Specifications
    • Changelog
    • User guides
    • Developer guides
    • Courses and certifications
    • Join the community
    • Templates
{
  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},
      ],
    },
  },
},