Change8

v5.8.0

📦 sanityView on GitHub →
14 features🐛 6 fixes2 deprecations🔧 5 symbols

Summary

Sanity Studio v5.8.0 introduces several new features, including PTE pasteLink enablement and typegen support, alongside numerous bug fixes and internal automation improvements.

Migration Steps

  1. Remove usage of `toggle.schema.upload-pause.disable` if present.
  2. Remove usage of `toggle.user-application.upload-live-manifest.disable` if present.

✨ New Features

  • Added support for external studio undeploy.
  • Added support for external studio deployments.
  • Added selection state (indicators) to all menu items (actions etc.).
  • Added studio intents and routing example.
  • Built-in Portable Text Editor (PTE) 'pasteLink' plugin enabled by default.
  • Added option to disable new document creation for image fields (`disableNew`).
  • Added chunking for observeFields (previews) to avoid very large requests that hang.
  • Added 'path' to ConditionalPropertyCallbackContext.
  • Added display validation icon for groups.
  • Added display incoming references.
  • Added support for typegen in dev and build commands.
  • Added watch mode for typegen generate command.
  • Added media library internal config.
  • Added core concepts guide for developers and agents.

🐛 Bug Fixes

  • Fixed issue where Safari required two clicks on an array item before a dialog would open.
  • Fixed issue where getDocumentAtRevision returned an error when no document was found.
  • Fixed live editable document creation issue.
  • Fixed discard dialog showing the incorrect document preview.
  • Fixed issue where documents to be unpublished were shown in the link document list.
  • Fixed issue where closing outside of a dialog did not close all dialogs (now it closes all dialogs).

Affected Symbols

⚡ Deprecations

  • Removed toggle.schema.upload-pause.disable.
  • Removed toggle.user-application.upload-live-manifest.disable.