npm @sanity/desk-tool 2.30.3
v2.30.3

latest releases: 2.36.2, 2.36.2-weighted-search.16, 2.36.2-weighted-search.10...
2 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Notable changes

  • A document that has references to it will now clearly indicate this with a differently colored header/footer, as well as with a link symbol. Additionally, prior to publishing a referenced document, a confirmation dialog will indicate that the change might affect referencing documents
  • Added support for the presence feature when not using cookies for authentication
  • Dependencies upgraded for the Portable Text Editor, fixing issues where Chrome would be reported as missing beforeInput- support after Chrome went above version 100. This broke spellchecking in Chrome and degraded performance
  • Updated UI of dashboard feeds

🐛 Notable bugfixes

  • Fixes rare occurring bug in the Portable Text Editor where it would stop producing patches due to non-updated instance props
  • Fixes issue where the newest get-started templates did not include a gitignore file
  • Fixes a potential error when trying to access a file that does not exist
  • Fixes issue where field validation tooltips would sometimes be cut off when inside of modals
  • Fixes an issue where exporting certain old assets would fail because of an md5 mismatch
  • Fixes an issue where the unpublish dialog would use the term "delete" instead of "unpublish" in the confirm dialog
  • Fixes a few warnings from being printed when navigating the dashboard
  • Fixes an issue where documents with a large amount of references would sometimes fail to be published because of a failing request
  • Fixes an issue where a stray margins property would be passed to a div-element (thanks @KittyGiraudel!)
  • Fixes a few typos in the pets project template (thanks @nick-krantz!)

📓 Full changelog

Author Message Commit
Espen Hovlandsdal fix(cli): include gitignore in get-started templates c582201
RitaDias refactor(cli): update field descriptions (#3386) 6503c3a
RitaDias refactor(form-builder): add condition for name in upload progress (#3387) 317b4bd
Espen Hovlandsdal feat(base): support presence for cookieless auth users (#3400) 46133a9
Per-Kristian Nordnes chore(portable-text-editor): upgrade to latest slate and slate-react (#3395) 6cb6a80
Per-Kristian Nordnes fix(portable-text-editor): support dynamic instance props for readOnly and maxBlocks (#3295) 71416d3
Victoria Bergquist feat(dashboard): add feed sections to dashboard feed (#3429) a02320d
Nina Andal Aarvik fix(base): add portal prop to the formfield (#3432) 509c455
Dain Cilke feat(export): check sha1 hash first ca188d3
Dain Cilke fix(export): allow either hash check c67241b
Espen Hovlandsdal chore(vision): drop unused moment dependency 16c4cd5
Espen Hovlandsdal chore: normalize @sanity/client dependency version 6879b27
Espen Hovlandsdal chore(util): upgrade moment to latest version ef10e2b
Espen Hovlandsdal chore(core): upgrade terser a5a6a4c
Fred Carlsen fix(desk-tool): show correct action message in unpublish dialog (#3461) 36feddb
Victoria Bergquist feat(dashboard): add docs banner to sanity tutorials widget (#3446) 9103669
Nick Krantz fix(cli): spelling corrections in getting-started-pets template (#3468) 9dcb8b2
Espen Hovlandsdal chore(resolver): pin mock-fs to 5.1.2 2f9f03e
Espen Hovlandsdal fix(dashboard): use correct property for feed item keys a0faa37
Espen Hovlandsdal chore(dashboard): drop usage of prop-types package d11f6e1
Nina Andal Aarvik feat(base): clearly indicate a referenced document e0d6a1c
Nina Andal Aarvik fix(base): add popover for referenced document edd569c
Nina Andal Aarvik fix(base): Fixes after QA and PR review 123e2d3
Espen Hovlandsdal fix(base): reposition referenced doc popover on resize 476cc89
Nina Andal Aarvik fix(base): add tooltip to referencedDocHeading 19be6a0
Nina Andal Aarvik fix(base): add empty div as referenceElement for popover 6951a4a
Nina Andal Aarvik fix(base): add autoFocus to popover 41096c1
Nina Andal Aarvik fix(base): add reference tooltip to title when popover is closed fd2b177
Espen Hovlandsdal fix(language-filter): use default tone for tooltip b5ca6b8
Espen Hovlandsdal fix(desk-tool): use default tone for header/foot popovers/menus a770834
Espen Hovlandsdal chore(desk-tool): fix lint issues caused by memoized component ed8de89
Espen Hovlandsdal refactor(desk-tool): use tone instead of ThemeColorProvider cf5dfcf
Espen Hovlandsdal refactor(desk-tool): use useEffect instead of useCallback for side effect 7015351
Espen Hovlandsdal fix(test): pass mock observable fetch method c3489fc
Espen Hovlandsdal fix(base): chunk document availability ids on id length 217c558
Espen Hovlandsdal fix(base): prevent RegionsWithIntersections margins prop from reaching the DOM 3ff4182
Espen Hovlandsdal chore: upgrade @sanity/client to v3.3.3 c40c434

Don't miss a new desk-tool release

NewReleases is sending notifications on new releases.