Improvements on groq2024 search, typegen support for .vue, and general bugfixes

Published: July 21, 2025

v4.1.0
Sanity Studio

✨ Highlights

  • When searching for an id using the groq2024 search strategy, search will now yield the document with that _id along with all documents that contain a _ref (at any depth) set to that id. Note that the entire search query must exactly match the id.
  • The groq2024 search strategy no longer uses the experimental GROQ API.
  • Creating new versions of documents provides a baseId in the action call.
  • sanity typegen now supports .vue-files! (Thanks, @hacknug!)

🐛 Notable bugfixes

  • Fixes cross dataset reference search issue affecting the groq2024 search strategy when the target schema type defined a media preview.
  • Fixes a bug that could cause duplicate results to appear in global search when using the groq2024 search strategy.
  • Fixes issue where if you navigated to a deleted document the document pane wouldn't show you a preview of the values.
  • Fixes issue that would crash tasks panel when opening tasks with no due date set.