Change8

Migrating to Sanity v5.2.0

Version v5.2.0 introduces 2 breaking changes. This guide details how to update your code.

Released: 1/7/2026

2
Breaking Changes
2
Migration Steps
4
Affected Symbols

⚠️ Check Your Code

If you use any of these symbols, you need to read this guide:

migrate package (removed)create-sanity package (removed)enhancedObjectDialog (reworked architecture)@sanity/sveltekit

Breaking Changes

Issue #1

The `migrate` package has been removed. Users relying on this package for migration tasks should look for alternative methods or updated documentation.

Issue #2

The `create-sanity` package has been removed. Users should use the standard installation/upgrade command (`npm install sanity@latest`) or refer to the installation guide for new projects.

Migration Steps

  1. 1
    To upgrade to this version, run: `npm install sanity@latest`.
  2. 2
    Refer to the comprehensive guide on [Installing and Upgrading Sanity Studio](https://www.sanity.io/docs/upgrade) for initiating new projects or detailed upgrade instructions.

Release Summary

Sanity Studio v5.2.0 introduces new features like Scheduled Drafts menu item and SvelteKit query detection support, alongside significant internal cleanups including the removal of legacy packages.

Need More Details?

View the full release notes and all changes for Sanity v5.2.0.

View Full Changelog