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 |