npm @sanity/cli 3.59.0
v3.59.0

latest releases: 3.59.1-upgrade-vite-v5.8, 3.57.2-manifests.75, 3.58.1-upgrade-vite-v5.44...
10 hours ago

✨ Highlights

Request edit access to Studio

Users with the read-only "Viewer" role can now request edit access to the project, straight from Sanity Studio. Project administrators will be alerted by email and can approve or deny the request from the project management section at sanity.io/manage.

Other improvements

  • Eliminated layout shifts in image fields.

🐛 Notable bugfixes

  • Fixes a few cases of unnecessary loading states appearing in the studio.
  • Fixes an issue causing the command line tool to crash when using Turborepo on Windows (thanks @josemanosalvas!)
  • Fixes an issue where using the Microsoft Word preprocessor from the @sanity/block-tools package outside of a browser would crash (thanks @silvertech-daniel!)
  • Fixes incorrect usage of light mode in image field overlays when dark mode is active.
  • Improves error message when the studio development server is stopped — instead of a generic "dynamic import" error, it will now tell you the development server is stopped.
  • Fixes an issue where pasting into a conditionally read-only field would not work, even if the field returned false for the read-only check.

📓 Full changelog

Author Message Commit
Bjørge Næss chore: cleanup import specifiers etc 8b509f7
Bjørge Næss chore: move dev-aliases into @repo/dev-aliases 2180d0f
Bjørge Næss chore(sanity): load monorepo aliases from '@repo/dev-aliases' 16dfd3d
Bjørge Næss chore(test): convert jest configs to mjs 8938d6e
Bjørge Næss chore(test): move jest config to @repo/test-config/jest 24618f9
Bjørge Næss chore(test): add support for vitest 512e16a
Bjørge Næss chore(ci): run jest tests in a separate workflow 44dee81
Bjørge Næss chore(test): move @sanity/migrate to vitest 3c63eee
Bjørge Næss chore(test): move @sanity/block-tools to vitest 09e86a2
Bjørge Næss chore(test): move @sanity/mutator to vitest 09be44d
Bjørge Næss chore(test): move @sanity/schema to vitest 56b7ee5
Bjørge Næss chore(test): move @sanity/types to vitest 8bf4868
Bjørge Næss chore(test): move @sanity/util to vitest 38eca25
Espen Hovlandsdal chore: enable source maps for package bundles (#7540) 0396ec2
Bjørge Næss chore(cli): remove reliance on node-machine-id (#7545) de9c29b
ecospark[bot] chore(deps): dedupe pnpm-lock.yaml (#7544) 9848f20
RitaDias chore(form): revert changes in schema that were meant to have been deleted (#7549) 7aed0c0
Bjørge Næss fix(preview): allow null as valid cache/memo value for preview fields (#7551) 7b9b556
Bjørge Næss refactor(store) simplify key value store, add SWR through local storage behavior (#7554) d2ca86d
Bjørge Næss fix(core): emit setting from localStorage immediately upon subscription (#7560) 1e79797
RitaDias chore(sanity): update naming of draft created telemetry event (#7561) ae1c9c2
Jordan Lawrence feat(core): specific error when dev server is stopped (#7476) 7fcf22a
RitaDias chore(form): remove imports from shouldArrayDialogOpen (#7550) bdfd8df
silvertech-daniel fix(block-tools): remove references to implicit globals document and Text (#7532) 306a671
Ash fix(sanity): prevent layout shifts in image input 6b8a76f
Ash feat(sanity): allow image input block size to extend to 30vh 14ebf2c
Ash refactor(sanity): remove redundant drag-related props 8a80ef2
Ash fix(sanity): use correct color scheme in image input overlay df0e18a
Binoy Patel fix(core): fixes an issue with pasting in conditional readonly field (#7564) 2e47715
shur fix: set cliInitializedAt even if project bootstrap fails (#7558) ea186d8
renovate[bot] fix(deps): update dependency @portabletext/editor to ^1.1.2 (#7566) a762c62
Espen Hovlandsdal chore(deps): upgrade moment, drop @types module (#7565) be73a2a
renovate[bot] fix(deps): update dependency @sanity/client to ^6.22.0 (#7522) 7c01a95
Binoy Patel refactor(cli): update projects list command to link to manage (#7568) 85941d2
Drew Lyton feat: add ability to request edit access from viewer role (#7546) 59f4fda

Don't miss a new cli release

NewReleases is sending notifications on new releases.