npm @sanity/base 2.31.0

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

✨ Highlights

Improved search 🕵️

Improved search

  • Adds support for filtering search results by any number of document types. You can also browse documents from any number of types without entering a search query.
  • Search is now toggleable with a hotkey (Command/Control-K) and fully navigable by keyboard.
  • Recent searches (including selected document types) are stored for later use
  • Search terms and results are retained upon close: handy if you want to quickly revisit or amend your last search
  • Improves performance when rendering and scrolling through large result sets
  • The search dialog is wider, giving you more space for the search result listing

NOTE: Documents listed in search results will no longer resolve custom components for block content and array views

🐛 Notable bugfixes

  • Fixes a case where sanity init would fail if ran inside of a yarn workspaces/monorepo setup in certain cases
  • Fixes a case where sanity init would fail if ran inside of a yarn workspaces/monorepo setup in certain cases
  • Fixes an issue with initialValueTemplates() being overridden if you called other methods after it
  • Fixes an issue potentially causing npm to go into an infinite loop when installing @sanity/core

📓 Full changelog

Author Message Commit
Fred Carlsen fix(form-builder): make sure to forward ref for object input with tabs (#3522) 900419a
Espen Hovlandsdal fix(server): work around npm peer dependency issue 7ab7b4d
Espen Hovlandsdal fix(form-builder): remove unnecessary popover dialog placement prop d1e8951
Fred Carlsen fix(structure): fix regression with initialValueTemplates being overridden (#3540) d76570d
Espen Hovlandsdal fix(cli): work around edge-case when unable to resolve @sanity/core 3824db4
Robin Pyon feat(default-layout): search improvements (#3525) 52eb236

Don't miss a new base release

NewReleases is sending notifications on new releases.