Skip to content

v6.0.0

Choose a tag to compare

@squiggler-legacy squiggler-legacy released this 05 Mar 08:58
· 173 commits to main since this release

6.0.0 (2025-03-05)

⚠ BREAKING CHANGES

  • This removes the need to specify a refreshInterval, and changes how the live preview behaves. For some changes, it's slightly slower, since we're no longer keeping documents in memory, synced with mendoza patches in real-time, using Content Source Maps to optimistically update queries.
    While other changes, like changing a reference, updating a live query that uses sorting and filters, creating or deleting a document, these are now much faster.
    Now we're using the Live Content API to tell us exactly which queries to refetch and when.
    It also solves scale issues when you reach a certain amount of documents, or query complexity and nesting.

The deprecated @sanity/preview-kit/client export is now removed, check the MIGRATION.md for instructions.

Features


This release is also available on: