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
- 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 thedefined()
function in GROQ. GraphQL APIs will have to be re-deployed to enable the new filter.
- 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 typestring
) - Array of tags (
array
of typestring
withlayout: 'tags'
) - Array of strings (
array
of typestring
withoptions.list
) - Array of emails (
array
of typeemail
)
- Array of strings (