Sanity Studio v4.15.0: Improvements and bugfixes for enhanced object dialog (beta)

General improvements to the enhanced object dialog beta and several bugfixes across type generation, ESM imports, and scheduled publishing workflows.

✨ Highlights

Enhanced object dialog (beta) improvements

Adding new references to arrays no longer causes unexpected behavior

The dialog now opens correctly when comparing document versions

The AI Assist Instruction popover opens as expected

Fixes compatibility with sanity-plugin-internationalized-array to prevent unintended dialog opening

Objects with item previews no longer cause unintended navigation within the dialog

Copy document versions to Draft

When Copying a version of a document to another version, it's now possible to copy the version to the Draft document. If the Draft already exists, it's possible to override with the new version.

🐛 Notable bugfixes and improvements

Fixes ESM imports for migrate functionality by adding proper import field to package.json exports map

Fixes absolute typegen output paths not working correctly

Fixes typegen bug where definition ordering affects inline referenced non-objects

Fixes comment inspector not reopening from dashboard notifications when the target document is already open

Fixes scheduled drafts view to show all documents at their publish-time revisions

Fixes scheduled draft perspective not being passed to Presentation tool when clicking location items

Fixes an issue where some CSP configurations would disable studio features such as Content Releases