v3.90.0

Saved queries for Vision, better warnings for HTTP/1, and other improvements

Sanity Studio

Save your Vision queries

Now you can save your GROQ queries in the Vision tool. Saved queries are user specific and private. Once a query is saved, you can assign a searchable title and reuse it.

To upgrade, update your @sanity/vision dependency in your Studio project:

vision app in sanity studio showing the saved queries feature
Vision saved queries

Warning when the Studio is using HTTP/1

Sanity Studio is designed to use modern web protocols (HTTP/2 and HTTP/3) to provide the best performance. If your network, VPN, or security software is set up to use an older protocol — such as HTTP/1.1 or HTTP/1.0 — the Studio will be much slower and less reliable, and in some cases performance may be degraded or fail to work altogether.

The Studio will now show you a warning if you are on a network that forces HTTP/1 and let you learn more on how to resolve it.

Sanity studio showing the http/1 warning toast
Http 1 warning

Other features

Review changes and history updates

The review changes and history interface now handles missing history and retention policy more clearly.

  • If something goes wrong or the entries have been removed, you will see a comparison of the existing version of the draft with the published version.
  • Some extra UI affordances were added to indicate that what you see is the diff for the selected version.
  • When a revision of a document is not found, you will now be notified instead of falling back to the draft document, indicating that they should select another revision.
  • Version discarded events are now collapsed.

Studio in Dashboard improvements

Using the 'Copy Document URL' action from a Studio within Dashboard, now links back to the Studio inside Dashboard.

🐛 Notable bugfixes

  • Fixes a regression in v3.89.0 that caused the search input in the document list to lose focus while typing.
  • Improvements to studio performance and loading when opening documents.
  • The preview of documents slated for unpublishing in a release will now show the published document preview.