v3.19.3

Improvements and bugfixes

Sanity Studio

Installation and upgrading

Fresh install

To install and initiate a new Sanity Studio without installing the Sanity CLI globally, run the following command in the terminal:

npm create sanity@latest

Upgrade

To upgrade an existing instance to Sanity Studio v3, run the following commands in the terminal:

# Go to the root folder of the installed Sanity Studio instance
cd /sanity-studio/root-folder

# Upgrade Studio to v3
npm install sanity@latest

🚢 This release: 3.19.3

🐛 Notable bugfixes

  • Makes field actions keyboard-accessible:
    • Enables pressing the Esc (Escape) key to discard a comment.
    • Fixes an issue where hovering over field actions (for example: Comments, AI Assist) when they're not visible would cause them to flicker.
  • Fixes an issue where nested Portable Editor input fields—Portable Text input inside an object that is inside another Portable Text input—would occasionally behave unexpectedly.
  • When importing and exporting datasets with the import dataset and export dataset CLI commands, the output message includes information about the projectId and the dataset in question.

    Example:
The output message of the import dataset CLI command includes information about the imported project ID and dataset.
Output message of the import dataset CLI command
The output message of the export dataset CLI command includes information about the exported project ID and dataset.
Output message of the export dataset CLI command