v0.132.0

Released May 24th 2018

Upgrade with:

sanity upgrade

And install the latest Command Line Interface (CLI) with:

npm install --global @sanity/cli

This is a bugfix and maintenance release and includes several improvements and stability fixes

✨🐞 Notable improvements and bugfixes

  • Not displaying delete button when editing "empty" array items, instead showing "cancel" (#810)
  • Fixed a bug when drag-drop batch uploading images that caused an edit dialog to pop open for the last array item (#811)
  • When deleting array items, the confirm delete button is now focused by default, and focus is properly restored to the item when closing it (#783)
  • Fixed a bug causing text selection on Safari when dragging to reorder array items (#814)
  • Fixed various dialog sizing issues (#809, #815)
  • Upgraded RxJS to 6.1 and deprecated the @sanity/observable package (#768)
  • Upgraded react-json-inspector (#821)
  • Fixed a race condition that would sometimes display a document as deleted (for a brief period) when publishing it (#822)
  • Fixed a bug causing the style select to not pop up when editing block text in fullscreen mode (#823)
  • The studio base path can now be overridden using an environment variable. Thanks @dan-dr for putting this together! (#819)
  • The studio will now switch to responsive mode when resizing (#807)
  • Fixed a bug causing editing of inline objects to fail (#826)
  • Fixed an issue where buttons got wrong spacing in some cases (#824, #825)
  • Improved detail level of error messages on import failures (#831)

📓 Full changelog

AuthorMessageCommit
Bjørge Næssform-builder Show cancel and hide delete buttons if edited item is empty (#810)972c697fb
Bjørge Næssform-builder Don't open edit dialog for uploaded items (#811)667659f7d
Bjørge Næssform-builder Fix tab/focus on confirm delete button (#783)128d801ab
Bjørge Næsscomponents Remove hard coded distance prop on Sortable components and prevent default on sort start (#814)67fb13900
Kristoffer J. SivertsenForce poppersize when containing blockeditor (#809)c1e21ea54
Bjørge Næsschore Replace @sanity/observable with RxJS (#768)13565e36f
Kristoffer J. SivertsenDialogContent component for sizing dialogs (#815)a51044f65
Espen Hovlandsdalchore Upgrade react-json-inspector (#821)6358be0c3
Bjørge Næssmisc Checkout draft/published as a pair instead of separately (#822)208014487
Kristoffer J. Sivertsencomponents Fixing styleselect portal (#823)e5e168403
dan-drcore Add ability to override project basePath with environment variable (#819)765fe2cf8
Kristoffer J. Sivertsencomponents Switch to mobile on resize. No need to refresh browser (#807)bdc174ed6
Bjørge Næssform-builder Use FocusManager with inline items (#826)69e3bbd64
Kristoffer J. SivertsenButtons collection and forms spacing (#824)b7841019c
Kristoffer J. Sivertsencomponents Spacing when using forms outside form-builder (#825)d3b8c54c1
Bjørge Næsspreview Fix intersection observable fallbackd060f6dc0
Bjørge Næssclient Fix wrong import7fcf9a391
Thomas Drevonform-builder Export withValuePath (#829)29a8802e8
Espen Hovlandsdalcore Throw on dataset import failure instead of only printing error (#831)460a81fc1