npm @sanity/default-layout 2.3.8

latest releases: 2.36.6, 2.36.4, 2.36.2...
3 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Highlights

Improved performance when editing documents

This release features various performance optimizations that prevent unecessary rerendering of React components, making the UI respond faster.

Vertical centering of navbar items

Thanks to a PR from @khellang, the navbar will now center navbar items vertically, which can be an issue when a custom Studio logo takes up more space than is intended.

🐛 Notable bugfixes

  • Fixes an issue that caused the NumberInput to display an empty string instead of 0.

📓 Full changelog

Author Message Commit
Bjørge Næss chore(form-builder): add a TypeScript project reference to util package from form-builder package 6e566a7
Bjørge Næss perf(utils): introduce a memoized pathFor function that always resolves to the same path instance (#2307) 7e2a9d6
Bjørge Næss perf(util): optimize path utils functions to return memoized paths cedfe9b
Bjørge Næss perf(form-builder): wrap asset source plugin components in withDocument instead of the image input d203f10
Bjørge Næss chore(form-builder) Fix a few lint issues 0ea8fcf
Nathan Griffin feat(server): alias react-native in webpack (#2306) d7df361
Marius Lundgård [chore] Add optimizations to prevent rerendering (#2311) 9f38c5a
Kristian Hellang [default-layout] Center navbar items vertically (#2304) fdec8b2
Bjørge Næss perf(form-builder): include path and focusPath in shouldComponentUpdate check e9d59bc
Bjørge Næss fix(form-builder): fix an issue where zero in number input would display as empty string 2218ed6
Marius Lundgård chore(package.json): install @babel/runtime@7.12.13 to circumvent build issue 569464e

Don't miss a new default-layout release

NewReleases is sending notifications on new releases.