unstale

npm / @sanity/types

@sanity/types

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

4 new APIs and options1 behavior and defaults

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

npx @unstale/cli init

@unstale/cli 0.2.8 on npm

@sanity/types 65 changes

New APIs and options 4

  • Document variants are read from _system.variants, with a legacy fallback.

    6.16.0release notes

  • Validation now supports capability-aware results.

    6.13.0release notes

  • An opt-in comments API plugin was added for developers who want to enable comments.

    6.13.0release notes

  • Validation now supports cancellation.

    6.13.0release notes

Behavior and default changes 1

  • Long arrays are collapsed behind a show all items toggle.

    6.17.0release notes