npm @sanity/cli 0.147.8
v0.147.8

latest releases: 3.40.1-create-unstable.32, 3.40.1-create-unstable.13, 3.40.1-create-unstable.12...
4 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

✨ Highlights

Improved performance of import/export

The command line tools for importing and exporting datasets have had several improvements to performance and stability, especially when working with a large number of assets.

🐛 Notable bugfixes

  • Fixed an issue where many people editing the same document would occasionally fail
  • Fixed an issue where conflicting document IDs would be retried when importing
  • Fixed an issue where the progress indication for importing assets would show them as complete too early

📓 Full changelog

Author Message Commit
Espen Hovlandsdal [groq] Add typescript definition for tagged template literal (#1682) 6f33e94
Per-Kristian Nordnes [form-builder] Block editor paste plugin: Join plain text back as string 0511fb5
Espen Hovlandsdal [export] Use HTTP/HTTPS agent with keep-alive 247c8d8
j33ty [export] Add concurrency flag to export command 190d378
Espen Hovlandsdal [core] Rephrase help text for dataset export 19add28
Espen Hovlandsdal [export] Add validation for lower concurrency limit c7ea9ef
Espen Hovlandsdal [import] Bump asset upload concurrency to 8, limit to 12 fe57e83
Espen Hovlandsdal [export] Rename concurrency flag to asset-concurrency ffb0474
Espen Hovlandsdal [export] Keep track of pending URLs 3ba5fcd
Espen Hovlandsdal [export] Don't count pending downloads as completed 18ff6c5
Knut Melvær [dashboard] Fix spelling error 864c73f
Simen Svale Skogsrud [mutator] Fixes the problem where diff-match-patch and inc-dec would yield exceptions when targetting array indicies or attributes that did not exist f44a5c0
Espen Hovlandsdal [import] Add --replace-assets flag to allow skipping sha1 check/reuse e321aed
Espen Hovlandsdal [import] Add validation of raw asset documents 179c15e
Espen Hovlandsdal [import] Don't retry 409s (conflicts) when importing 03825e8
Espen Hovlandsdal [import] Add test for import of asset doc with no file present 004a501
Victoria Bergquist [cli] add error message when plugin name is invalid (#1698) acd24db
Victoria Bergquist [cli] improve debug command help text (#1697) 4ca8425

Don't miss a new cli release

NewReleases is sending notifications on new releases.