npm @sanity/core 2.2.2

latest releases: 2.36.6, 2.36.4, 2.36.3...
3 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Highlights

Added GraphQL-deploy CLI for non-nullable fields

Use the --non-null-document-fields flag to force fields like _id, _type, and _createdAt to be marked as non-nullable fields in GraphQL APIs.

🐛 Notable bugfixes

  • Fix bug when object type has a value field and is paired with the (unsupported) options.list schema type option

📓 Full changelog

Author Message Commit
Espen Hovlandsdal [cli] Pass on raw argv to commands for more granular parsing 825603b
Espen Hovlandsdal [core] GraphQL: Add --non-null-document-fields flag 511f9a8
Espen Hovlandsdal [validation] Fix bug on object type with "value" field + "list" option (#2247) 1ae7348

Don't miss a new core release

NewReleases is sending notifications on new releases.