npm @sanity/cli 1.148.3
v1.148.3

latest releases: 3.59.2-corel.293, 3.62.3, 3.59.2-corel.279...
4 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Highlights

TypeScript definitions for @sanity/client

@sanity/client now has TypeScript support, including TSdoc for methods.

🐛 Notable bugfixes

  • Fixed a bug where an extra undo step was made when deleting everything inside the Portable Text editor.
  • You can now paste text from Notion.so into the Portable Text editor.
  • @sanity/block-tools htmlToBlocks will now normalize the produced content. Objects are given keys and adjecent spans with similar marks will be merged.

📓 Full changelog

Author Message Commit
Bjørge Næss [chore] Add ZEIT Now deployment for test-studio (#1739) eed05d2
Per-Kristian Nordnes [block-tools] htmlToBlocks will now normalize blocks (#1732) 31df4e0
Espen Hovlandsdal [observable] Add typescript definitions da4561a
Espen Hovlandsdal [client] Add typescript definitions cc60002
Espen Hovlandsdal [client] Allow overriding response types in typings 0b69cc2
Per-Kristian Nordnes [block-tools] Test for doc.body.firstElementChild before using it (#1734) 6fa6032
Per-Kristian Nordnes [form-builder] Don't put placeholder operation into undo step (#1733) 853673e

Don't miss a new cli release

NewReleases is sending notifications on new releases.