npm @sanity/core 2.21.4
v2.21.4

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 bugfixes

  • Fixes a bug where the withDocument higher-order component would sometimes return null initially
  • Fixes a bug where collapsed panes might not show their content when expanded
  • Fixes a bug where tools would not get passed the tool property, resulting in incorrect context

📓 Full changelog

Author Message Commit
Bjørge Næss fix(desk-tool): don't pass null as document value 156a1d3
Bjørge Næss fix(desk-tool): defer form rendering until document is loaded b939dda
Rico Kahler fix(desk-tool): force document pane re-render on expand (#2865) 3350d20
Espen Hovlandsdal fix(types): add tool prop to tool component typing 73b0fb0
Espen Hovlandsdal fix(default-layout): pass tool prop to tool components 2e22cb3

Don't miss a new core release

NewReleases is sending notifications on new releases.