npm @sanity/cli 3.14.5

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

🐛 Notable bugfixes

  • Various microcopy improvements
  • Adds isSlug() method to @sanity/types for type-safe asserting of a slug object
  • Fixes an issue where using multiple desk tools in the same studio would cause duplicate "review changes" actions and validation lists to appear. Thanks @andparsons!
  • userHasRole will now accept null as well as a user object, making it more convenient in certain situations where the user might not yet be accessible
  • Fixes issue with auto scrolling on collapsed fieldset
  • Fixes issue where array list would not display all items when wrapped in a custom element
  • Fixes issue where array list would not display when inside a popover

📓 Full changelog

Author Message Commit
Espen Hovlandsdal fix(core): optimize wheel event on CommandList virtual element (#4722) 3dffb11
Fred Carlsen PTE microcopy updates (#4624) c3d0234
Nina Andal Aarvik fix(core): change cdr tooltip text (#4750) c78f9bd
Espen Hovlandsdal feat(types): add isSlug asserter method (#4746) 31cee8f
Espen Hovlandsdal fix(desk): prevent duplicate validation/change inspectors (#4748) 3c1a0e5
Espen Hovlandsdal test(block-tools): update snapshots to match copy changes 1378b95
Espen Hovlandsdal fix(core): allow null and role-less user in userHasRole fn (#4740) a735461
renovate[bot] fix(deps): update dependency @vercel/frameworks to v1.5.0 (#4752) d9dcc3c
Binoy Patel fix(core): fix auto scrolling issue on collapsed fieldset w/ array (#4738) 0cb1a0e
Binoy Patel fix(core): fixes issues with virtualized list when wrapped in an element (#4739) 8779740
renovate[bot] fix(deps): update dependency @vercel/fs-detectors to v4.1.1 (#4764) bae83ad
Espen Hovlandsdal refactor(validation): clean up imports/exports (always use named) e21c7eb
Espen Hovlandsdal refactor(validation): move @sanity/validation into monopackage 856131e
Binoy Patel docs(desk): fix 404 links (#4770) 109c3c3

Don't miss a new cli release

NewReleases is sending notifications on new releases.