Change8

v4.1.0

📦 sanityView on GitHub →
3 features🐛 3 fixes🔧 12 symbols

Summary

Sanity Studio v4.1.0 introduces the stable GROQ API for the `groq2024` search strategy and fixes several bugs related to search results and document pane display. Users should upgrade via `npm install sanity@latest`.

Migration Steps

  1. To upgrade to this version, run: `npm install sanity@latest`.

✨ New Features

  • Swapped to use baseId for createVersion server actions.
  • Adopted stable GROQ API for the `groq2024` search strategy.
  • The `groq2024` search strategy now allows matching on referenced `_id`.

🐛 Bug Fixes

  • Fixed an issue where undefined weights occurred in the groq2024 search query.
  • The document pane now shows the values of deleted documents.
  • Deduplicated global search results.

🔧 Affected Symbols

@sanity/client@portabletext/block-tools@portabletext/editor@sanity/color-input@sanity/ui-workshop@sanity/visual-editing-csmgroq-jsuse-effect-eventframer-motionxstaterxjsreact-rx