Change8

v5.14.0

📦 sanityView on GitHub →
5 features🐛 8 fixes🔧 3 symbols

Summary

Sanity Studio v5.14.0 introduces sticky task parameters, HMR for design-studio, and improved resilience against slow mutations. This release also contains numerous bug fixes related to validation, cross-dataset references, and UI stability.

Migration Steps

  1. To upgrade, run: npm install sanity@latest

✨ New Features

  • Tasks parameters are now sticky across sessions.
  • Added guidance for running single test files.
  • Enabled HMR (Hot Module Replacement) for design-studio.
  • Support for resumability in document editing.
  • Added toast notification to alert users about slow mutations after 50 seconds to prevent infinite hangs.

🐛 Bug Fixes

  • Fixed an issue where multiple scrollable containers were shown in the releases global nav menu.
  • Fixed crash when calling operation.delete.execute() without providing the versions argument.
  • Fixed issue where cross dataset reference inputs in dialogs were closing the dialog.
  • Ensured dedicated ReferenceFieldDiff is used when diffing cross dataset references.
  • Fixed issue where inspectors were not staying atop enhanced object dialogs.
  • Fixed issue where hidden fields were showing the wrong value during validation by adding currentUser to validation context.
  • Fixed issue where unique keys were not being generated correctly in nested structures during duplication/copying.
  • Fixed issue where task specific parameters were not being removed when closing the sidebar.

Affected Symbols