npm @sanity/cli 0.116.0
v0.116.0

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

This might be our most significant release to date. Includes a major revamp of content studio interface as well as a bunch of minor bug fixes and code enhancements improving overall quality and stability.

Upgrade your content studio with:

sanity upgrade

And install the latest Command Line Interface (CLI) with:

npm install --global @sanity/cli

✨ Highlights

👓 Sharper UI

New look

🆙 Batch upload files to arrays

We have been thinking hard about how to provide generics for uploading stuff to Sanity. The groundwork is in place, and this release enables batch uploading files from local disk to arrays by drag and drop:

Batch uploads

We will expand on this, enabling upload hooks for converting local files (and clipboards) to whatever schema content you'd like.

🏞 Select image from library

Instead of just uploading a new image, you can now choose images from previously uploaded images:

Select image

🐛 Notable bugfixes

  • Fixed a bug causing the delete dialog to fail when displaying referring documents
  • Improve Google Maps input with higher resolution preview image, better feedback in case of misconfiguration
  • Fixed login issues with browsers, lookin' at you iOS 11, not accepting our project host API cookie (third party) from the Sanity Studio host.

📓 Full changelog

Author Message Commit
Espen Hovlandsdal [import] Allow importing from array (#228) a2c762c
Espen Hovlandsdal [infrastructure] Upgrade to Webpack 3 (#224) f7a7021
Bjørge Næss [schema] Fix wrong asset type names and use asset.originalFilename as default preview title for images (#235) 4de8a0c
Bjørge Næss [infrastructure] Add infrastructure for generic uploads and support batch uploading to arrays (#229) 655e652
Bjørge Næss [base] Previews: fetch document snapshot immediately, debounce subsequent listener events instead 44667a0
Bjørge Næss [form-builder] Make resolveUploader optional for ArrayInput 5bd01c5
Bjørge Næss [form-builder] Simplify input resolving (#234) 64dcfb3
Bjørge Næss [chore] Upgrade flow-bin and regenerate yarn.lock (#236) 868cc8a
Espen Hovlandsdal [cli] Don't require logged in user on unattended bootstrap. Fixes #237 f5d6fc4
Espen Hovlandsdal [infrastructure] Basic continuous integration setup (#238) 488fbd8
Espen Hovlandsdal [components] Bump default media preview to 160px (#233) 3ae476b
Espen Hovlandsdal [infrastructure] Cache yarn dependencies on travis 4907a31
Espen Hovlandsdal [storybook] Skip empty lines and progress lines 747979f
Espen Hovlandsdal [storybook] Fix bad filtering step for webpack loaders ad378b2
Espen Hovlandsdal [server] Add missing dependencies ad7b49e
Bjørge Næss [form-builder] Make it possible to select existing image asset (#230) b0b0688
Espen Hovlandsdal [cli] Ensure CLI exits with positive error code on error (#240) c4f741a
Bjørge Næss [form-builder] Misc. minor adjustments uploader infrastructure (#241) 4380338
Espen Hovlandsdal [client] Specify metadata to extract with extract-option (#242) 8b7e61a
Espen Hovlandsdal [base] Add file size field to asset types (#243) f94dd23
Bjørge Næss [desk-tool] Fix issues with list of referring documents in the delete/unpublish dialogs (#244) 7adb9b7
Bjørge Næss [form-builder] Rewrite how we limit concurrent uploads (#245) cc503b1
Espen Hovlandsdal [code-input] Remove lockfile c2e8c1c
Espen Hovlandsdal [chore] Don't use/generate lockfiles d36dfde
Kristoffer Sivertsen [css] Fixing color syntax c65d2eb
Kristoffer Sivertsen [css] Minus with space on the color syntax 6057cf2
Bjørge Næss [cli] Fix missing eslint-config dependency and fix lint error 0fb6b6b
Bjørge Næss [base] Wrap PreviewSubscriber in element (#247) 0dd2a28
Bjørge Næss [form-builder] Fix lint errors (#248) b4bf026
Espen Hovlandsdal [base] Allow overriding the sanity root part ae0f2e7
Bjørge Næss [form-builder] Remove validation (#250) e10220c
Thomas Drevon [google-maps-input] Fix/geopoint debug (#249) 3bbbfc0
Bjørge Næss [base] Use span instead of div as wrapper element in PreviewSubscriber (#252) 42c15b6
Espen Hovlandsdal [server] Lock react-hot-loader to 3.0.0-beta.7 f3001ee
Bjørge Næss [chore] Replace moment with date-fns (#251) 6c79094
Bjørge Næss [server] Fix issue with webpack/moment (#253) ea55a97
Espen Hovlandsdal [chore] Add script to symlink dependencies from monorepo to project (#254) 1fcc70b
Espen Hovlandsdal [core] Fix help text for dataset list command (#256) 8c8663c
Espen Hovlandsdal [chore] CI: Symlink dependencies of newly created project (#257) 6c83ef2
Bjørge Næss [form-builder] Remove unused part ce40639
Thomas Drevon [google-maps-input] Fix/minor geo and cli fixes (#259) 6c88656
Kristoffer J. Sivertsen [design] Rework (#231) 77bf40a
Bjørge Næss [default-layout] Close search on select and escape (#262) a0d7095
Bjørge Næss [form-builder] Sort assets by last updated (#265) a5c888f
Bjørge Næss [desk-tool] Fix styling of referring documents list (#266) 0a3e01a
Bjørge Næss [default-layout] Make global search open on arrows + input click (#267) 61b0937
Per-Kristian Nordnes [default-login] Test cookies and allow for whitelisting before logging in (#271) a731831
Per-Kristian Nordnes [default-login] Streamline spinners (#272) 5d23935

Don't miss a new cli release

NewReleases is sending notifications on new releases.