Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
This update brings fixes for several bugs and improvements to the Portable Text Editor's performance and reliability. It also includes:
- Better keyboard accessibility when editing embedded objects
- Better tracking of validation errors within the editor
- Better Android and IME support
New projects bootstrapped with the CLI will now contain a default .eslintrc
that extends our new shared ESLint config @sanity/eslint-config-studio.
- Fixed an issue where
sanity upgrade
would fail if@sanity/code-input
was installed. (Thanks Tommy for the PR!) - Fixed an issue where
sanity upgrade
,sanity versions
andsanity debug
would fail if running without any dependencies installed. - Removed third party dependency causing security warnings with
npm audit
(immer.js
)