Change8

v3.94.0

📦 sanityView on GitHub →
4 features🐛 9 fixes🔧 3 symbols

Summary

Sanity Studio v3.94.0 delivers several bug fixes, dependency updates, and introduces new features like a media validator and utility functions (\`isNewDocument\`, \`isPerspectiveWriteable\)) for enhanced document handling.

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 initiating a new project or learning more about upgrading.

✨ New Features

  • Added media validator functionality.
  • Added \`isNewDocument\` function to the \`sanity\` package.
  • Added \`isPerspectiveWriteable\` function to the \`sanity\` package.
  • Allow new, unpersisted documents to move between perspectives seamlessly.

🐛 Bug Fixes

  • Fixed e2e UI test related to actions.
  • Fixed bundle build script failing.
  • Updated error tooltip for copypaste functionality.
  • Fixed manifest extract to correctly handle inline array.of item types that have a name conflicting with a global type.
  • Fixed handling of date changes in core.
  • Made the system more resilient to \`process.env\` not being processed.
  • Fixed issues with ML uploads.
  • Pinned \`scrollmirror\` to an MIT licensed version.
  • Fixed structure component hover interaction to prevent accidental clicking.

🔧 Affected Symbols

media validatorisNewDocumentisPerspectiveWriteable