Unlock seamless workflows and faster delivery with our latest releases – get the details
Back to changelog

Sanity Studio Update: Improvements and bugfixes

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.

✨ Highlights

  • The sanity init command for Next.js-embedded Studios is updated to install next-sanity v9 and next v14 as per best practices.
  • Adds support for // @sanity-typegen-ignore comments that will ignore certain queries from type generation (thanks @largis21!).

🐛 Notable Bugfixes

  • Fixes an issue where the scheduled publishing tool is displayed as the only available plugin when no other plugins are added.
  • Adds memoization to minimize unnecessary calls to initial value functions, improving performance.
  • Removes a circular reference to usePaneRouter that caused build warnings and potential execution order issues.
  • Fixes bugs related to the Portable Text Input when using a Reference input directly as the annotation type. This change prohibits focus and unset on the root input, preventing abrupt modal closures and ensuring proper cleanup and function execution.

Published May 22, 2024