npm next-sanity 5.0.0
v5.0.0

latest releases: 5.5.3, 5.5.2, 5.5.1...
15 months ago

5.0.0 (2023-06-21)

⚠ BREAKING CHANGES

  • definePreview and <PreviewSuspense> are replaced by <LiveQueryProvider>.
  • usePreview is replaced by useLiveQuery.
  • @sanity/client is now a peer dependency.

The migration guide outlines every breaking change and how to migrate your code

Bug Fixes

  • Preview hooks no longer perform queries while the initial dataset export is streaming, as this could lead to incomplete query results and unexpected cases of null.

This release is also available on:

Don't miss a new next-sanity release

NewReleases is sending notifications on new releases.