Change8

v4.16.0

📦 sanityView on GitHub →
5 features🐛 12 fixes2 deprecations🔧 3 symbols

Summary

Sanity Studio v4.16.0 introduces new features like document maximization and configurable PTE typography, alongside significant performance improvements and dependency updates.

Migration Steps

  1. To upgrade to this version, run: `npm install sanity@latest`.
  2. Refer to the comprehensive guide on [Installing and Upgrading Sanity Studio](https://www.sanity.io/docs/upgrade) for detailed upgrade instructions.

✨ New Features

  • Added sentiment-analysis function example.
  • Allow configuring sanity CLI config in testing environments.
  • Added configurable `typography` plugin to Portable Text Editor (PTE) inputs.
  • Added asset limit upsell dialog.
  • Added ability to maximise a document in the structure view.

🐛 Bug Fixes

  • Made it possible to double click specific items in the inspector.
  • Fixed functions development to support the host flag.
  • Fixed error state handling for invalid reference filters.
  • Fixed CLI undeploy command to respect `appId`/`studioHost`.
  • Fixed crossDatasetReference input previews.
  • Fixed issue where changing time manually in a date/time input respected the computer's timezone instead of the selected timezone.
  • Fixed issues where component.items weren't opening the enhanced object dialog.
  • Fixed an issue where changing the time manually in an input when the timezone was selected would change the time based on the computer timezone.
  • Fixed asset import process to allow importing assets without a data.ndjson file.
  • Fixed performance issue causing a 1s render root loop.
  • Fixed performance issue by removing unsafe ref reads during render.
  • Fixed core issue by using publishedId when creating a child link.

🔧 Affected Symbols

FullscreenPTEContextSchedulesContextOneLinePlugin

⚡ Deprecations

  • The property `minimalDays` on week info objects in internationalization settings is deprecated.
  • The component `<ConditionalWrapper>` is deprecated.