Migrating to Sanity v6.0.0
Version v6.0.0 introduces 2 breaking changes. This guide details how to update your code.
Released: 6/11/2026
2
Breaking Changes
3
Migration Steps
6
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
nodeauth.modeenableLegacySearch@portabletext/editor@sanity/vision@sanity/cliBreaking Changes
●Issue #1
Support for Node.js version 20 has been dropped. Users must upgrade to Node.js 21 or higher.
●Issue #2
The deprecated `auth.mode` configuration option has been removed from the core configuration.
Migration Steps
- 1Ensure your Node.js environment is running version 21 or higher, as Node 20 support is dropped.
- 2Remove any usage of the deprecated `auth.mode` configuration setting.
- 3Remove any usage of the deprecated `enableLegacySearch` configuration option.
Release Summary
Sanity Studio v6.0.0 introduces major dependency upgrades, including dropping support for Node 20 and upgrading Vite, alongside enabling React Strict Mode by default. Several deprecated configuration options have been removed.
Need More Details?
View the full release notes and all changes for Sanity v6.0.0.
View Full Changelog