npm @sanity/vision 2.21.3
v2.21.3

latest releases: 3.64.2-react-compiler.0, 3.64.1, 3.64.0...
3 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixes an issue that caused the GraphQL schema deployment to either be slow or hang on schemas with many references
  • Fixes an error where the image and file inputs might throw an error about unsetting deep values on a primitive value
  • Fixes glitches in logo animation when the studio is loading
  • Fixes an issue where the desk tool would in certain cases give an error message saying Unknown document type *
  • Fixes an issue where document list items inside of non-document lists would be rendered with "Untitled" as the title, instead of the full document preview
  • Fixes an issue where the schema error summary would not be displayed because the studio would crash before being able to display it
  • Fixes a regression that caused the withDocument higher-order component to get stuck on an initial null value
  • Fixes an error where the client would fail to set up a listener when sending huge queries, without giving a developer-friendly error message

📓 Full changelog

Author Message Commit
Espen Hovlandsdal chore(examples): add default mux input config 10560aa
Espen Hovlandsdal refactor(base): use typescript for core schema types 56a2cb4
Espen Hovlandsdal feat(types): introduce blurhash as metadata on image assets 03368a6
Espen Hovlandsdal feat(client): allow specifying blurhash as metadata to extract 4ec50cc
Espen Hovlandsdal feat(base): add blurHash field to image asset metadata type ea731fa
Espen Hovlandsdal fix(base): add hidden uploadId field to image asset schema type 825ebd4
Marius Lundgård chore(test-studio): restructure files a8739be
Marius Lundgård chore(test-studio): restructure schemas and structure configuration 17c80e4
Marius Lundgård test(form-builder): update tests after restructure 84eca1c
Marius Lundgård chore(test-studio): install markdown plugin 6d4310d
Marius Lundgård chore(test-studio): configure canHandleIntent 27a1bd6
Marius Lundgård docs(test-studio): update description and README a85eb6a
Marius Lundgård chore(test-studio): add markdown field to root-level document 1e78337
Marius Lundgård build(test-studio): update sanity-plugin-markdown 5dbc0f7
Sindre Gulseth test(core): add assertion tests for graphql schema generation 154cfa8
Sindre Gulseth fix(core): fixes slow graphql schema generation. 4bea2d7
Espen Hovlandsdal fix(structure): require schema type to be specified for documents 019614a
Espen Hovlandsdal fix(structure): optimize useDocumentType ed53eaa
Espen Hovlandsdal test(core): update snapshot to include blurHash, uploadId fields f38901c
Rico Kahler refactor(desk-tool): remove closable prop (#2846) cbf9a2e
Sindre Gulseth fix(core): update graphql tests to be self isolated c66d133
Espen Hovlandsdal fix(form-builder): guard unset operation with value check 287d308
Marius Lundgård chore(test-studio): add test case for withDocument e0f8b34
Bjørge Næss fix(base): show change indicator pencil on hover only (#2851) 90da719
Mikolaj Dobrucki fix(default-layout): improve app loading screen (#2850) 3e6ff25
Rico Kahler chore: use @typescript-eslint/no-shadow (#2852) 79f2424
Bjørge Næss fix(desk-tool): fix issue with withDocument HOC not receiving initial document 5645d70
Bjørge Næss test(cypress): add some waiting in date input tests to allow for the form to become enabled 5be7793
Espen Hovlandsdal feat(test-studio): add reproduction of editor without schema type cf09dfb
Espen Hovlandsdal feat(base): add resoleTypeForDocument method to document store ba80b97
Espen Hovlandsdal refactor(desk-tool): move document type resolving out of intentResolver f2f65d0
Espen Hovlandsdal fix(desk-tool): add document type resolve step if not defined for pane 9cdd586
Espen Hovlandsdal fix(structure): make schemaType check a warning instead of error e0d82f0
Marius Lundgård fix(desk-tool): add UI for error and loading states 53c7602
Espen Hovlandsdal fix(default-layout): prevent crash on invalid schema cef2300
Espen Hovlandsdal fix(client): emit error if query is too large for listener (#2857) 1af7049
Bjørge Næss chore: add verify monorepo dependency script + run on postinstall 5231c40
Marius Lundgård fix(desk-tool): attempt to find document type in template 8230301
Espen Hovlandsdal fix(desk-tool): documentListItem appearing as untitled inside regular list cfc17f3
Bjørge Næss chore(test-studio): add cases for documentListItem inside of list f63d2e8
Mikolaj Dobrucki fix(desk-tool): hide version dropdown on mobile 12000a8

Don't miss a new vision release

NewReleases is sending notifications on new releases.