npm sanity 3.3.0

latest releases: 3.59.1, 3.57.2-manifests.76, 3.58.1-canary.22...
20 months ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npx create-sanity@latest

To upgrade a v3 Studio:

npm install sanity@latest

✨ Highlights

A custom API hostname can now be configured for the studio through the apiHost configuration parameter. Note that the configured API host must behave the same as Sanity's API. This is mostly useful for enterprise customers with custom API CNAME enabled (get in touch if you are interested in this feature).

🐛 Notable bugfixes

  • Disables sorting of array items when readOnly is set
  • Updates design of the presence menu to make non-clickable users appear greyed out
  • Updates @sanity/schema module with a new named export – the default export is now deprecated and will give a warning when used
  • Fixes behaviour so that the editing pane will now scroll the relevant field into view when validation does not pass
  • Improves readability for tags array inputs in read-only mode
  • Enables fetching unresolved cross-dataset references through GraphQL API

📓 Full changelog

Author Message Commit
Espen Hovlandsdal feat(config): allow specifying apiHost for source (#4142) 57d72f9
Espen Hovlandsdal refactor: use named export for schema package (#4144) 25dcc57
Espen Hovlandsdal feat(cli): provide (unresolved) cross-dataset references for graphql APIs (#4137) 5de629b
Herman Wikner fix(core): improve tags input read only visibility ab61f15
Herman Wikner dev(core): add tags input workshop story c4a2f47
Espen Hovlandsdal docs(block-tools): improve readme examples a39f177
Herman Wikner fix(core): only notify subscribers if the the current user object has changed b3b26fb
Espen Hovlandsdal test(cli): use higher timeout on v2 builds 2c3b3a1
Victoria Wagenblast chore: configure playwright (#4143) f1c5458
Bjørge Næss fix(ci): change test studio build command to 'build:test-studio' 937ef83
Nina Andal Aarvik fix(desk): field validation - scroll to field (#4149) 3b611f0
Nina Andal Aarvik fix(core): change design for clickable present users in dropdown (#4154) 81c9d4c
Nina Andal Aarvik fix(core): add readOnly prop to sortable array items (#4161) 0deee1f

Don't miss a new sanity release

NewReleases is sending notifications on new releases.