npm @sanity/vision 2.14.0
v2.14.0

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

Features

  • Adds a notice for insufficient permissions to references
  • Adds strict dependency checking to all packages
  • Adds better feedback about accepted files when dragging over file and image inputs

🐛 Notable bugfixes

  • Enforces that DateInput value is constrained to timeStep
  • Fixes issue where importing JSON files would crash the studio build process
  • Fixes an issue where the form was visible above the PTE toolbar in fullscreen mode
  • Adds safeguard against missing .focus() method on components used with the withDocument() higher order component.
  • Adds a visible indicator on the focused day when using arrow keys to navigate through the calendar days in the date input
  • Fixes an issue that in some rare cases could make the preview selection result in an invalid query

📓 Full changelog

Author Message Commit
Victoria Bergquist fix(form-builder): remove 1px gap above pte in fullscreen mode (#2615) 905f95f
Rico Kahler feat(base): add preview override for references permissions (#2585) d23ec5d
Espen Hovlandsdal fix(server): prevent json imports from passing through babel (#2634) 77f036e
Sindre Gulseth fix(form-builder): enforce that DateInput value is constrained to timeStep 4b46970
Rico Kahler fix(base): fix [object Object] for title value (#2588) ecd01f3
Marius Lundgård build: bump @sanity/ui dependency cd0b675
Sindre Gulseth feature(timeline): add a live edited type 79c550b
Sindre Gulseth fix(timeline): simplify timeline chunk type logic f436a46
Marius Lundgård build: update @sanity/ui dependency d40bfde
Sindre Gulseth fix(base): fixes a bug where isMissing was triggered when the reference exists 65b9023
Geoff Ball fix(base): render list items in object previews (#2631) 9a2822d
Espen Hovlandsdal chore(examples): add example of enum value title lookup in preview prepare c8f735e
Espen Hovlandsdal fix(base): only resolve enum value title if using default prepare 68ff9b6
Bjørge Næss fix(form-builder): prevent studio crash when component passed to withDocument() is missing a focus() method (#2637) f501df9
Bjørge Næss chore: use consistent type assertion syntax (as T instead of <T>) 19cef2a
Bjørge Næss chore(transaction-collator): fix eslint errors eec3f96
Bjørge Næss chore(cli): remove unused tests 707bc70
Bjørge Næss chore: add depcheck script to catch unused dependencies a98184c
Bjørge Næss chore: remove unused dependencies c97e3b1
Bjørge Næss chore: add missing dependencies 37ebe8f
Bjørge Næss chore(depcheck): add env plugins to sanityJson parser 0642267
Marius Lundgård build: update dependencies 749edd2
Marius Lundgård refactor(examples): improve ui-test-bed-tool 335604f
Marius Lundgård feat(base): update theme to support @sanity/ui v0.34.8 173b929
Marius Lundgård feat(examples): add ui-test-bed-tool to example-studio 48683ea
Bjørge Næss refactor(form-builder): change signature of uploaders to enable knowing at drag over whether file is accepted or not a713c21
Bjørge Næss refactor(form-builder): use resolveUploader to determine whether file can be uploaded or not 5dce587
Bjørge Næss feat(form-builder): show feedback on drag over whether files can be uploaded or not 427d5d9
Bjørge Næss refactor(form-builder): extract a DropMessage component that can be shared across components that supports drag+drop 603c2d8
Marius Lundgård build: update @sanity/ui dependencies 2d50dff
Marius Lundgård refactor(examples): improve theme test bed 2ee8bdc
Marius Lundgård refactor(base): update theme for @sanity/ui@0.35.0 e0d2e21
Bjørge Næss chore(depcheck-test): make depcheck-test package private e4ffa8c
Bjørge Næss fix(form-builder): fix missing focus ring on focused day (#2650) 6404cd6
Bjørge Næss fix(base): fix invalid query when preview selection targets both a reference field and a field on the referenced document (#2656) 308e653
Marius Lundgård fix(base): adjust color theme 98ffed5

Don't miss a new vision release

NewReleases is sending notifications on new releases.