🔮 Sanity Create is here. Writing is reinvented. Try now, no developer setup
Back to changelog

Improvements and bugfixes

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

🐛 Notable bugfixes

  • Removes a console warning about using an experimental API version
  • Adds type declarations for the assetRequired rule to validation for image and file schema types
  • Fixes an issue in the Next.js template where the urlForImage function would return a class instead of a url
  • Fixes an issue where the image crop tool would not work on touchscreen devices with connected pointer devices
  • Fixes a bug in the Portable Text Editors drag-and-drop functionality that would make any block which opens in a modal, that was dragged and placed directly above an array block wrongly affect the array, leading to a “Can’t upload this file here” error
  • Fixes an issue where the --skip-cross-dataset-references flag was not working with sanity dataset import

Documentation affected by this release

Published December 05, 2023