Studio
Custom authentication
Improvements and bugfixes
v3.15.0
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
tokenlogin 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_definedfilter to GraphQL APIs, mirroring thedefined()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 initCLI 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 (
arrayof typestring) - Array of tags (
arrayof typestringwithlayout: 'tags') - Array of strings (
arrayof typestringwithoptions.list) - Array of emails (
arrayof typeemail)
- Array of strings (