github sanity-io/sanity v3.15.0

latest releases: v3.64.1, v3.64.0, v2.36.6...
15 months ago

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)

📓 Full changelog

Author Message Commit
Espen Hovlandsdal feat(auth): allow using explicit token mode for authentication (#4772) ccfe3e7
Binoy Patel chore(deps): remove unused typedoc dependency (#4771) 35a14fc
renovate[bot] chore(deps): update dependency esbuild-register to ^3.4.2 (#4759) 1066301
renovate[bot] chore(deps): update dependency @vitejs/plugin-react to ^4.0.4 (#4757) 76f7eda
renovate[bot] chore(deps): update dependency vite to ^4.4.8 (#4762) eda3446
renovate[bot] chore(deps): update dependency rxjs to ^7.8.1 (#4760) aefd3fc
renovate[bot] fix(deps): update dependency esbuild to v0.18.17 (#4766) d39a4a3
renovate[bot] chore(deps): update dependency styled-components to ^5.3.11 (#4761) 7bec1e7
renovate[bot] chore(deps): update dessant/lock-threads action to v4.0.1 (#4763) c42ee06
renovate[bot] chore(deps): update peter-evans/create-pull-request digest to 1534078 (#4753) 10f5672
renovate[bot] chore(deps): update dependency esbuild to ^0.18.17 (#4758) 9284c4a
Espen Hovlandsdal chore(deps): update dependency @sanity/client to v6.3.0 cc5d0c2
Espen Hovlandsdal fix(cli): improve performance of projects list c0a7911
github-actions chore(deps): dedupe yarn.lock d221922
Bjørge Næss fix(validation): reset regex state between validation checks (#4777) 4b7d80c
Espen Hovlandsdal feat(auth): allow specifying options without createAuthStore() (#4773) d9a88a5
Michael feat(graphql): adds is_defined filter (#4767) 1b23692
Michael chore: graphql cli to use latest API version (#4769) c559d5f
Espen Hovlandsdal fix(cli): correct URL for the sanity manage command (#4783) 12af996
Bjørge Næss fix(form): move availability checks to reference value preview (#4768) f48430c
Bjørge Næss fix(form): improve message when reference points to undeclared document type (#4768) 366a9f1
Bjørge Næss fix(form): improve microcopy of reference strength mismatch warning (#4768) b1c0856
renovate[bot] chore(deps): update dependency @sanity/uuid to ^3.0.2 (#4789) 3f30312
renovate[bot] chore(deps): update dependency @sanity/pkg-utils to ^2.3.10 (#4785) 0526a42
renovate[bot] chore(lockfile): update dependency sanity-plugin-mux-input to v2.2.1 (#4792) c036f1d
renovate[bot] chore(deps): update dependency @sanity/client to ^6.4.0 (#4791) d336fbe
renovate[bot] chore(deps): update dependency @sanity/ui-workshop to ^1.2.9 (#4787) dd595cd
renovate[bot] chore(deps): update dependency @sanity/ui to ^1.7.4 (#4786) c34c65a
Herman Wikner dev(test-studio): group tsdoc types in structure (#4803) 8f28935
renovate[bot] fix(deps): Update dependency mendoza to v3 (#4802) e2fd12a
renovate[bot] chore(lockfile): Update dependency groq-js to v1.1.11 (#4800) ea55198
renovate[bot] chore(lockfile): Update dependency get-it to v8.4.1 (#4799) 30884b5
RitaDias fix(core): fix issue with change indicator and path lines (#4685) 70f635e
renovate[bot] chore(lockfile): Update dependency vite to v4.4.9 (#4801) 55a60ad

Don't miss a new sanity release

NewReleases is sending notifications on new releases.