Change8

v3.82.0

📦 sanityView on GitHub →
6 features🐛 12 fixes🔧 9 symbols

Summary

This release brings various improvements, dependency updates, and new features like interruptible initial value template resolution and Media Library Asset Source support. Users should review dependency updates and migration steps for upgrading.

Migration Steps

  1. To upgrade to this version, run the appropriate command for your package manager (npm install sanity@latest, pnpm add sanity@latest, yarn add sanity@latest, or bun add sanity@latest).
  2. Refer to the comprehensive guide on Installing and Upgrading Sanity Studio for new project initiation or detailed upgrade information: https://www.sanity.io/docs/upgrade.

✨ New Features

  • Make initial value template resolution interruptible in sanity.
  • Make document editor read-only while initial value template resolves.
  • Track INP performance from the field via telemetry.
  • Introduce Media Library Asset Source in core.
  • Use project scoped media-libraries endpoint in core.
  • Add shared settings with configurable options for development.

🐛 Bug Fixes

  • Remove circular references.
  • Support .astro files by default in codegen.
  • Report errors happening before Sentry init.
  • Fix issue where string state is passed as a route parameter to router.navigate.
  • Workaround for mutate-on-wheel-issue for number inputs in form.
  • Allow self-referencing drafts in validation.
  • GraphQL deploy runs regardless of dry run argument.
  • Reference strengthening upon version creation.
  • Reset remote transactions when a draft is published.
  • Rename unreleased schema cli command from store to deploy.
  • Fixes issue where apps required styled-components in CLI.
  • Call API to fetch dashboard URL in CLI.

🔧 Affected Symbols

@sanity/mutate@portabletext/block-tools@portabletext/editor@sanity/telemetry@sanity/client@sanity/uiframer-motionvitesttesting-library