v5.8.1
Breaking Changes📦 sanityView on GitHub →
⚠ 1 breaking✨ 1 features🐛 2 fixes🔧 2 symbols
Summary
Sanity Studio v5.8.1 introduces faster formatting by switching to oxfmt and fixes missing types in structure and presentation modules. It also enforces explicit configuration for login methods.
⚠️ Breaking Changes
- Enforced explicit loginMethod configuration. Users must now explicitly configure the login method if it was previously implicitly set.
Migration Steps
- Ensure explicit configuration of `loginMethod` if relying on implicit settings.
- Run `npm install sanity@latest` to upgrade.
✨ New Features
- Replaced Prettier with oxfmt for formatting, resulting in approximately 9x faster formatting times.
🐛 Bug Fixes
- Prevented input element IDs from adding unsafe global variables.
- Fixed missing types in `sanity/structure` and `sanity/presentation`.