npm @sanity/cli 3.17.0
v3.17.0

latest releases: 3.57.4, 3.57.4-memoized-form-state.18, 3.57.4-upgrade-vite-v5.9...
11 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

Perspectives in listenQuery

Added support for perspectives in the listenQuery() method

🐛 Notable bugfixes

  • Fixes an issue where reverting all changes to an array of primitives would not clear the list as expected
  • Fixes syntax errors in schema files when initializing a blog template without Typescript in a Next.js app
  • Fixes an issues with array items not showing all items inside a field group under specific conditions
  • Fixes rendering issues with certain popovers being caused by wrong placement
  • Improves accessibility for document lists
  • Fixes an issue that could sometimes make reference validation errors disappear when switching between documents

📓 Full changelog

Author Message Commit
Espen Hovlandsdal feat: support perspectives in listenQuery (#4878) 6020a46
renovate[bot] chore(deps): update dependency @sanity/ui to ^1.8.2 (#4847) c1fe6e5
Nina Andal Aarvik fix(core): unset changes in reverse order in patch operation (#4957) 0715a15
RD fix: syntax issues in next.js JS blog template (#4952) c672253
Binoy Patel fix(core): fix array items not showing in field groups (#4930) f55b7d8
Bjørge Næss fix(core): set default placements for certain studio popovers (#4963) aab85f9
Nina Andal Aarvik fix(core): accessibility improvements on document lists (#4958) 0fa5e70
Bjørge Næss fix(core): re-use previously prepared workspace configs (#4867) 8387122
Kristian Zondervan Fix broken getting started link in clean readme (#4967) 5c5312d
Bjørge Næss fix(core): make sure to re-emit current edit state when re-subscribing to document validation (#4954) 17300c8

Don't miss a new cli release

NewReleases is sending notifications on new releases.