✨Discover storytelling in the AI age with Pixar's Matthew Luhn at Sanity Connect, May 8th—register now
Back to changelog

Improvements and bugfixes

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

✨ Highlights

  • Adds new token login method for rare cases when the more secure cookie approach is not viable/wanted
  • Enables specifying authentication options using an object instead of createAuthStore()
  • Adds new is_defined filter to GraphQL APIs, mirroring the defined() function in GROQ. GraphQL APIs will have to be re-deployed to enable the new filter.

🐛 Notable bugfixes

  • Improves performance when fetching projects list as part of the sanity init CLI command
  • Fixes an issue that would give intermittent validation errors for valid string values when using a regex with global flag
  • Fixes an issue where references to undeclared document types would never load
  • Improves error UIs for reference values
  • Improves the changes pane to show path line and change indicator correctly for the following field types:
    • Array of strings (array of type string)
    • Array of tags (array of type string with layout: 'tags')
    • Array of strings (array of type string with options.list)
    • Array of emails (array of type email)

Documentation affected by this release

Published August 08, 2023