npm @sanity/core 0.146.0
v0.146.0

latest releases: 2.36.2, 2.36.2-weighted-search.16, 2.36.2-weighted-search.10...
4 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

✨ Highlights

Introducing: Pluggable asset sources for Sanity Studio!

Read the blog post.

This release includes support for adding additional asset sources for the Sanity Studio. You can install them as plugins, or make you own. You can also customize if you want to override the default asset source selection globally, or for specific image fields.

📓 Full changelog

Author Message Commit
Per-Kristian Nordnes [form-builder] Asset Source Plugin support (#1591) 4c7caff
Espen Hovlandsdal [structure] Remove auto-inferring of ID based on function name (#1613) 1b750b1
Espen Hovlandsdal [desk-tool] Redirect old edit URLs to new fallback edit route (#1618) 6d5e570
Espen Hovlandsdal [validation] Fix unnamed object type matching incorrect array member (#1616) a9cb7ec
Espen Hovlandsdal [desk-tool] Prevent showing document inspector on no snapshot (#1615) accbd30
Espen Hovlandsdal [schema] Guard against multidimensional arrays (#1614) 516478f
Espen Hovlandsdal [mutator] Increase test timeout to 120 seconds (#1611) a12b767
Espen Hovlandsdal [structure] Enforce unique IDs for views, add serializer tests (#1612) 6959ec5
Espen Hovlandsdal [test-studio] Add ID to JSON dump node b91ca25
Espen Hovlandsdal [structure] Allow passing object spec to documentTypeList() (#1619) 1a5bec2
Thomas Drevon [client] Update readme with an example of how to delete an element from an array 731da31
Thomas Drevon [client] Improve readme example c35c1b1
Espen Hovlandsdal [state-router] Provider router as a hook: useRouter() 09fce2f
Espen Hovlandsdal [state-router] Provide router state as hook: useRouterState() 76a0486
Espen Hovlandsdal [desk-tool] Implement naive, shallow, async intent resolver 367b176
Espen Hovlandsdal [desk-tool] Handle case where document type cannot be resolved for intent a58e260
Cameron Chamberlain Cleanup isEmpty function (#1621) c610b00
Cameron Chamberlain [storybook] Remove duplicate key in story (#1620) 08e8955

Don't miss a new core release

NewReleases is sending notifications on new releases.