github sanity-io/sanity 0.134.0
v0.134.0

latest releases: v3.41.1, v3.41.0, v3.40.0...
5 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

✨ Highlights

Structure Builder!

So, after a beta period we're shipping our most requested feature. You can now structure how document collections are displayed as you see fit. The configuration is done in code so it opens up a long list of possibilities for fine grained customization:

  • Restrict a type to one single document with a given id (typically some global configuration)
  • Create hierarchies of documents based on queries
  • Easily navigate to a specific document in the root of the navigation structure (think “featured items” in an app or on a website, for instance)
  • Create workflow-focused navigation structures (think “needs review”, “awaiting publication” and similar)
  • Display a certain document type in a custom way instead of in the default editor
  • Use an external API to control how documents are structured in the studio (for example setting up a newsroom where different “modes” of the studios can be determined remotely and in real time)

Check out the documentation and let us know on the community Slack should you see room for improvement.

📓 Full changelog

Author Message Commit
Espen Hovlandsdal [desk-tool] Introduce structure 3924432...43614e4
Bjørge Næss [chore] Upgrade lerna (#970) cba4921
Espen Hovlandsdal [desk-tool] Prefer assigned titles over document titles when both exist (#971) 5086d75
Espen Hovlandsdal [components] Pass action item to menu action handler (#972) f7f76c0
Bjørge Næss [client] Warn about using a token with listeners in the browser (#973) ece4739
Bjørge Næss [desk-tool] Make sure DocumentPaneItemPreview listens on correct draft/published ids (#974) 856f13b
Bjørge Næss [base] Make settings store observable + integrate with DocumentsListPane (#977) fc110c6
Espen Hovlandsdal [structure] Disallow document type lists to show editor for different type (#975) b5d1452
Espen Hovlandsdal [desk-tool] Handle generic edit intents without type name (#976) eb70198

Don't miss a new sanity release

NewReleases is sending notifications on new releases.