CLI updates and fixes to typegen
Published: July 4, 2025
v3.97.0
Sanity Studio
Deprecated
This version has been deprecated due to an issue found in @sanity/util
where the package could not be found due to an issue when publishing to npm.
✨ Highlights
CLI Changes
New sanity tokens
command group for managing API tokens via CLI.
🐛 Notable bugfixes
- Fixes a bug where typegen crashes
TypeError: Property operator expected type of string but got undefined
. - Adds
--with-user-token
option tofunctions 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.