CLI reference

Tokens

CLI updates and fixes to typegen

v3.97.0

Deprecated

✨ Highlights

CLI Changes

New sanity tokens command group for managing API tokens via CLI.

Read the docs

🐛 Notable bugfixes

  • Fixes a bug where typegen crashes TypeError: Property operator expected type of string but got undefined.
  • Adds --with-user-token option to functions test command.
  • Fixes a bug where the Portable Text Editor, in some cases, didn't allow dragging an inline object and dropping it in the same text block.

Install or upgrade Sanity Studio

To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.

If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your dependencies are up to date.