v4.17.0
Breaking Changes📦 sanityView on GitHub →
⚠ 1 breaking✨ 3 features🐛 3 fixes🔧 2 symbols
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.
⚠️ Breaking Changes
- 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
- Run `npm install sanity@latest` to upgrade.
- Review documentation for upgrading if initiating a new project or performing a major upgrade: https://www.sanity.io/docs/upgrade.
✨ New Features
- Added ability to maximise a document in the structure view.
- The enhanced object dialog is now opt-out instead of opt-in.
- When creating a scheduled draft, the existing draft transaction is discarded.
🐛 Bug Fixes
- Removed unnecessary release and scheduled publishing banner.
- Implemented virtualized array list with visibility detection when ancestors change hidden state.
- Fixed performance issue where document actions were rendered three times by rendering them once.
🔧 Affected Symbols
framer-motionmotion/react