v2.24.0

Field groups, bugfixes and more

Sanity Studio

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Highlights

Field groups

Added Field Groups to schemas and document view. Read more about the feature here: https://www.sanity.io/docs/field-groups.

Shows field groups in studio

New array item menus

Arrays now support adding new items before/after existing array items, and also duplicating existing items.

Shows new contextual menu for array items

New and improved document status indicator

Updated document status indicator with saving state and animation.

Shows save state indicators

Other features

  • Added SANITY_STUDIO_PROJECT_NAME environment config variable

🐛 Notable bugfixes

  • Fixed an issue that could in some cases cause matching documents to be excluded from the search results
  • Made the default title of referenced document types more user friendly
  • Fixes an issue that could occasionally cause a query error during publish of a new document created directly from the reference input
  • Fixes an issue that caused singleton documents to never load if no schemaType was provided.
  • Fixes UI issue in Portable Text toolbar