npm @sanity/cli 3.20.1
v3.20.1

latest releases: 3.64.1, 3.64.0, 3.63.0...
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

Improved support for non-Latin1 characters in URLs

Sanity Studio now handles characters outside of the Latin1 range in intent or structure tool pane payloads without crashing. This fix ensures better support for multilingual content and enhances worldwide usability.

Comments feature improvements

Continued improvements for the comments feature include a resolution to the layering issue that caused popovers to render behind the document pane.

The comments feature also received a quality-of-life enhancement by ensuring that the comment discard dialog appears above the document pane footer and headers, making it fully visible and accessible.

Lastly, we fixed a focus behavior where the reply comment input would unintentionally gain focus when clicking outside of it. Sanity Studio now maintains focus appropriately, only triggering when the comment input field is deliberately selected.

🐛 Notable bugfixes

  • Fixes the PTE toolbar menu behavior, ensuring only one menu can be open at a time.
  • Resolves the odd focusing issue around comment reply inputs.
  • Corrects the visual layering of the comment discard dialog to avoid it being hidden by other elements.

📓 Full changelog

Author Message Commit
Rico Kahler test(cli): disable exploding CI tests (#5223) 114114c
Espen Hovlandsdal fix(router): use base64url for encoding parameter payloads (#5221) 457d3da
Herman Wikner fix(comments): context menu layer issue (#5203) 465ad45
renovate[bot] chore(deps): update dependency @sanity/presentation to v1.0.6 (#5230) bc51e64
ecospark[bot] chore(deps): dedupe yarn.lock (#5204) d4d41e4
renovate[bot] chore(deps): update dependency @sanity/pkg-utils to ^3.2.3 (#5191) f1756be
renovate[bot] chore(deps): update dependency prettier-plugin-packagejson to ^2.4.6 (#5192) 7100552
renovate[bot] chore(lockfile): update dependency @sanity/google-maps-input to v3.0.2 (#5195) f08df5b
renovate[bot] chore(lockfile): update dependency @sanity/assist to v1.2.15 (#5193) 8f7a614
renovate[bot] chore(deps): update dependency styled-components to ^6.1.1 (#5198) f121b17
Cody Olsen chore: update styled-components snapshot 13e5ced
renovate[bot] chore(deps): update linters (#5194) f992968
ecospark[bot] chore(prettier): fix unformatted files 🤖 ✨ (#5233) 8dd27dc
Cody Olsen chore: set semantic commit scope for @sanity/presentation to fix f399c34
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.0.7 (#5240) ec5520f
Herman Wikner fix(comments): discard dialog z-offset (#5238) 2796ec7
Herman Wikner fix(comments): reply input focus issue (#5232) d4d51d8
Herman Wikner fix(form): only allow one PTE toolbar menu to be open (#5249) 47c865d

Don't miss a new cli release

NewReleases is sending notifications on new releases.