github sanity-io/sanity v0.147.6

latest releases: v3.39.1, v3.39.0, v3.38.0...
4 years ago

Upgrade the Content Studio with:

sanity upgrade

✨ Highlights

🔗 Fine-grained reference fields

Reference fields can now be given an additional GROQ-filter to help constrain the search, making it easier to find the documents you are looking for.

Note that this only helps the search, it does not guarantee that the referenced document will match the filter in the future.

Read the documentation for the reference type to find out how to use this new functionality.

⚡ Faster loading of long lists

The desk tool should now load the initial set of documents in a list faster than previously. When scrolling, it will load additional documents. We're working on further improving the performance of lists.

🐛 Notable bugfixes

  • Fixed bug where documents with numeric IDs would not be sorted correctly in desk tool
  • Fixed bug where unsetting an image or file field would not unset the _type property
  • Fixed bug where the experimental spaces feature would link to incorrect space in certain cases

📓 Full changelog

Author Message Commit
Espen Hovlandsdal [base] Maintain order of documents when collating drafts/published (#1665) b92b6ac
Espen Hovlandsdal [form-builder] Unset empty object when removing asset (#1647) 63964c7
Espen Hovlandsdal [form-builder] Support additional filter to reference input d90e42c
Espen Hovlandsdal [base] Include additional filter + params if passed 4a31a69
Espen Hovlandsdal [form-builder] Allow passing filter resolver function instead of string 67f9ef6
Espen Hovlandsdal [schema] Validate reference filter and filterParams properties 0ff5cad
Espen Hovlandsdal [desk-tool] Remove unused scrollTop handler 693c2e4
Espen Hovlandsdal [base] Export query results observable from QueryContainer 686db3f
Espen Hovlandsdal [desk-tool] Load partial document list before fetching full list 13385dd
Espen Hovlandsdal [desk-tool] Only load full list when scrolled to half-way point a68394b
Espen Hovlandsdal [desk-tool] Style loading/more documents component f33a895
Espen Hovlandsdal [default-layout] Reload window when switching spaces (#1674) a8267c6

Don't miss a new sanity release

NewReleases is sending notifications on new releases.