Change8

v4.10.0

📦 sanityView on GitHub →
6 features🐛 5 fixes🔧 7 symbols

Summary

Sanity Studio v4.10.0 introduces new features like strict version layering and exports `getDocumentIsInPerspective`, alongside numerous dependency updates and bug fixes related to version comparison and data 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 upgrading.

✨ New Features

  • Exported `getDocumentIsInPerspective` from `@sanity/sanity`.
  • Added strict version layering implementation.
  • Used strict version layering when opening document comparison view.
  • Used upstream version as comparison value in document editor.
  • Added development/efps for Vercel deployment project.
  • Updated recipes from deprecations and added qroq functions.

🐛 Bug Fixes

  • Added a warning for the version info dialog if `appId` is missing.
  • Scheduled publish action only shows when releases are enabled.
  • Sanitized authorization header from copy error details.
  • Used origin for comments studio URL.
  • Tasks due dates showing incorrect value on timezones behind UTC.

🔧 Affected Symbols

`getDocumentIsInPerspective``StrictVersionLayeringOptions``@sanity/types``useDocumentIdStack``useFilteredReleases``@sanity/core``@sanity/ui`