Skip to content

v2.34.0

Compare
Choose a tag to compare
@skogsmaskin skogsmaskin released this 27 Sep 12:50
· 5054 commits to next since this release

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Highlights

Performance improvements

This release includes several performance fixes that should now make the Studio more responsive while editing documents. (See more details in individual PRs #3668, #3662, #3660)

Improved search

Search for documents containing an exact phrase by wrapping text inside double quotes.

Other features

  • Upgrade @sanity/ui to v.0.37.22

🐛 Notable bugfixes

  • Fixes an issue where the scroll position in global search wasn’t being correctly retained in some instances.
  • Fixes an issue in global search that would cause the studio to crash if Local Storage is unavailable.

📓 Full changelog

Author Message Commit
Per-Kristian Nordnes feature(form-builder): throttle onChange form text inputs c8c1ab9
Per-Kristian Nordnes feature(react-hooks): add low priority modality to useEditState hook c81a611
Per-Kristian Nordnes refactor(desk-tool): optimize DocumentPaneProvider 6a53cfb
Bjørge Næss feat(form-builder): add withParent higher order component 0cc0a38
Robin Pyon fix(default-layout): apply offset on search spinner wrapping element b36cc94
Bjørge Næss test(validation): drop test asserting eager execution of nested validation checks b877b6d
Bjørge Næss fix(validation): add requestIdleCallback shim for Safari bf2eb5b
Bjørge Næss perf(validation): refactor validation to be based on observables instead of promises, run in idle callback 6d2e9b7
Bjørge Næss lint(validation): rename reduce accumulator ecfddc8
Bjørge Næss deps(base): upgrade to latest rxjs-exhaustmap-with-trailing 9df5705
Bjørge Næss refactor(base): optimize validation scheduling 7998aed
Bjørge Næss test(base): tweak tests after validation schedule optimizations 5539bcf
Bjørge Næss fix(base): keep reference existence listener alive between document versions 80a6b19
Bjørge Næss fix(base): inline getDocumentExists and make it look up already existing info 834c298
Bjørge Næss fix(desk-tool): make sure validation result is about current revision before publishing e8db04f
Robin Pyon feat(default-layout): sortable search results, search phrases, experimental config (#3652) d60e29e
Per-Kristian Nordnes fix(react-hooks): reuse already setup observable 159cee9
Per-Kristian Nordnes fix(desk-tool): don't render title until the editState is ready 4237e3b
Per-Kristian Nordnes refactor(dashboard): streamline user widget loading spinner with other plugins c14679d
Per-Kristian Nordnes chore(default-layout): disable search sort for now ec293d3
Per-Kristian Nordnes chore: upgrade @sanity/ui to ^0.37.22 adf025a
Per-Kristian Nordnes fix(default-layout): fix issue with SearchHeader spinner icon not being correctly aligned a1d9f5f
Per-Kristian Nordnes fix(default-login): fix issue with CORS check Spinner misaligning 4c51e19
Per-Kristian Nordnes fix(studio-hints): fix issue with Spinner misaligning 7ba632a