github sanity-io/sanity v3.19.3

latest releases: v3.57.4, v3.57.3, v3.57.2...
10 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

  • Makes field actions keyboard-accessible:

    • Enables pressing the Esc (Escape) key to discard a comment.
    • Fixes an issue where hovering over field actions (for example: Comments, AI Assist) when they're not visible would cause them to flicker.
  • When importing and exporting datasets with the import dataset and export dataset CLI commands, the output message includes information about the projectId and the dataset in question.

    Example:

    Output message on import dataset CLI command

    Output message on export dataset CLI command

  • Fixed an issue with cursor instability when using the Portable Text Input inside another Portable Text Input's embedded objects.

📓 Full changelog

Author Message Commit
Espen Hovlandsdal refactor(types): use type-only imports f7e590e
Fred Carlsen fix(comments): truncate long field names in placeholder (#5153) c5e2194
Marius Lundgård feat(desk): add onFocusPath callback property (#5150) 3188ab4
Marius Lundgård fix(router): memoize navigate callback (#5149) fa7625d
Marius Lundgård fix(form): open hotspot editor using focusPath (#5160) 5673f2a
Herman Wikner refactor(comments): remove unused function in comments provider (#5156) 950d3f0
Herman Wikner fix(comments): default placement of comment popover (#5165) 6eeb797
Herman Wikner fix(comments): consider comment status when scrolling from URL (#5164) 65eb8c2
ecospark[bot] chore(prettier): fix unformatted files 🤖 ✨ (#5145) 6d5b4e8
Bjørge Næss dev(test-studio): add router debugging tool (#5170) 9933f3b
Bjørge Næss fix(navbar): reset url state when navigating to other tools (#5171) e607be8
Robin Pyon fix(comments): prevent pasted links being rendered as DefaultAnnotations at author time (#5162) e9c7e79
Marius Lundgård fix(form): forward original portal element c941b6b
Herman Wikner feat(core): make field actions keyboard accessible (#5163) 5709800
Bjørge Næss fix(router): improve search params encoding (#5173) d4d8a9f
Bjørge Næss feat(router): add support for tools to bypass search param scoping (#5172) 3c7d79b
Herman Wikner fix(comments): addon dataset client api version (#5177) 86f8f9a
Robin Pyon chore(deps): bump @sanity/ui to latest (#5178) 7d9546c
Herman Wikner fix(core): disable pointer events when field actions are hidden (#5180) c4aec5d
Herman Wikner fix(comments): improve scroll behavior (#5179) 533af73
Binoy Patel feat(cli): adds information about projectId and datasets on import and export dataset commands (#5128) 72ae08f
Espen Hovlandsdal feat(core): support weighted template, mode intent parameters (#5157) ebbef52
Per-Kristian Nordnes chore(portable-text-editor): upgrade slate + remove workarounds (#5175) 8aed3b1
Per-Kristian Nordnes fix(portable-text-editor): selection validation and perf. improvement (#5136) fd05eba
Bjørge Næss refactor(core): improve navbar collapse menu (#5185) 1227102

Don't miss a new sanity release

NewReleases is sending notifications on new releases.