Change8

v3.73.0

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

Summary

This release introduces the Presentation tool's migration to the Sanity Live Content API for more efficient live preview updates. Several bug fixes address issues in CLI validation, token initialization, and Portable Text editing.

Migration Steps

  1. If you are updating from a version earlier than 3.37.0, you should check out https://www.sanity.io/help/upgrade-packages to ensure your dependencies are up to date.

✨ New Features

  • Presentation tool now uses Sanity Live Content API to drive Live Mode in integrations like @sanity/react-loader, @sanity/svelte-loader, @nuxtjs/sanity and @sanity/core-loader, resulting in query refetching only when necessary instead of every two seconds.

🐛 Bug Fixes

  • Internal document types will no longer appear in validation results in the CLI.
  • Fixed an issue where write tokens were not being set in .env file after initializing a remote template.
  • Fixed an issue where splitting a Portable Text block right before an inline object might cause the editor to crash.
  • Fixed an issue where using Shift+Enter to insert a line break (\n) in the Portable Text input would not work as expected in Safari.
  • Fixed an issue where core sanity types were appearing in the validation for schemas and documents.
  • Fixed an issue where set strictRequires to auto when building auto updating studios.
  • Fixed an issue where migrations were not always using raw perspective.

🔧 Affected Symbols

@sanity/react-loader@sanity/svelte-loader@nuxtjs/sanity@sanity/core-loaderPortable Text editor