unstale

npm / sanity

sanity

What changed in sanity 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.

1 breaking10 new APIs and options8 behavior and defaults16 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

sanity 635 changes

Breaking changes 1

  • Adds configuration of variant conditions under types; empty variant conditions are treated as an error.

    6.17.0release notes

New APIs and options 10

  • Adds studio.components.provider and preloads lazy default plugin components.

    6.19.0release notes

  • Canvas can now open inside Workbench.

    6.18.0release notes

  • Studio can tell dashboard hosts and Workbench hosts apart.

    6.18.0release notes

  • Document favorites are now supported in Workbench.

    6.18.0release notes

  • Document history can now be recorded through the SDK.

    6.18.0release notes

  • Adds an option to keep recent tools mounted.

    6.17.0release notes

  • Adds a first-class API for configuring singleton documents in Sanity Studio.

    6.17.0release notes

  • Adds support for list pane widths.

    6.17.0release notes

  • Adds opt-in live document count badges to document type list items.

    6.17.0release notes

  • Adds a badge for singleton documents.

    6.17.0release notes

Behavior and default changes 8

  • A stable attribute is available for hiding the document toolbar.

    6.18.0release notes

  • The open document is now reported to Workbench.

    6.18.0release notes

  • Page performance metrics are skipped in Workbench.

    6.18.0release notes

  • Schema error messages now include workspace and source context.

    6.18.0release notes

  • Studio navigation is synchronized with Workbench.

    6.18.0release notes

  • Studio now follows the Workbench color scheme.

    6.18.0release notes

  • Workbench now owns sign-in.

    6.18.0release notes

  • Long arrays can be collapsed behind a show all items toggle.

    6.17.0release notes

Fixes and other changes 16

  • Aligns list pane items whether or not the list scrolls.

    6.19.0release notes

  • Manifest validation during compilation now accounts for built-in parent types.

    6.19.0release notes

  • Removes the global context registry so two versions of sanity can render on one page.

    6.19.0release notes

  • Keeps location links targeting presentation after opening in structure.

    6.19.0release notes

  • Prevents the studio layout from remounting when feature checks settle.

    6.19.0release notes

  • Prevents the studio layout from remounting when scheduled publishing checks settle.

    6.19.0release notes

  • Derives the upload target card tone from the current read-only state.

    6.19.0release notes

  • Exports VideoDefinition, the definition accepted by defineVideoField.

    6.19.0release notes

  • Shows the draft indicator for draft-only documents.

    6.17.0release notes

  • Navbar tools collapse into the overflow menu when the Studio is narrower than the viewport.

    6.17.0release notes

  • Keeps pane widths when releasing a resize divider.

    6.17.0release notes

  • Keeps a grown portable text editor from scrolling to the top when focused.

    6.17.0release notes

  • Allows a container block config to add portable text toolbar actions.

    6.17.0release notes

  • Enables preview mode when opening a preview.

    6.17.0release notes

  • Detects scheduled draft edits when deleting a schedule.

    6.17.0release notes

  • Reads every selected variant from the perspective.

    6.17.0release notes