Migrating to Sanity v5.10.0
Version v5.10.0 introduces 2 breaking changes. This guide details how to update your code.
Released: 2/17/2026
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
portabletext@portabletext/plugin-paste-linkmotion@sanity/clientgroq-jsBreaking Changes
●Issue #1
Update portabletext to v6 (major): This is a major update to portabletext, which may require corresponding updates in related packages or custom implementations.
●Issue #2
Update portabletext to v5 (major): This is another major update to portabletext, potentially causing breaking changes if v6 was not the intended target.
Migration Steps
- 1Run `npm install sanity@latest` to upgrade Sanity Studio.
- 2Migrate deprecated `motion` call to `motion.create`.
Release Summary
Sanity Studio v5.10.0 introduces dependency updates, including major changes to portabletext, alongside various bug fixes for asset handling, navigation, and editor interactions. Users are advised to review the portabletext updates for potential breaking changes.
Need More Details?
View the full release notes and all changes for Sanity v5.10.0.
View Full Changelog