Migrating to Sanity v4.17.0
Version v4.17.0 introduces 1 breaking change. This guide details how to update your code.
Released: 11/20/2025
1
Breaking Changes
2
Migration Steps
2
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
framer-motionmotion/reactBreaking Changes
●Issue #1
refactor(deps): `framer-motion` was replaced with `motion/react`. If you were directly importing from `framer-motion`, you must update imports to use `motion/react` instead.
Migration Steps
- 1Run `npm install sanity@latest` to upgrade.
- 2Review documentation for upgrading if initiating a new project or performing a major upgrade: https://www.sanity.io/docs/upgrade.
Release Summary
Sanity Studio v4.17.0 introduces new UI features like document maximization and makes the enhanced object dialog opt-out. This release also includes a dependency update, replacing framer-motion with motion/react.
Need More Details?
View the full release notes and all changes for Sanity v4.17.0.
View Full Changelog