Change8

v5.18.0

📦 sanityView on GitHub →
1 features🐛 6 fixes1 deprecations🔧 3 symbols

Summary

Sanity Studio v5.18.0 introduces pre-auth telemetry buffering and addresses several bugs, including one related to Next.js state handling and another deprecating `useTimeLineStore`.

Migration Steps

  1. Replace usage of the deprecated `useTimeLineStore` hook with the events store when retrieving deleted documents.

✨ New Features

  • Added support for pre-auth telemetry event buffering in core functionality.

🐛 Bug Fixes

  • Fixed an issue where `getDocumentAtRevision` did not prefer an exact revision match.
  • Fixed dataset uploader streams not unsubscribing on abort in forms.
  • Workaround implemented for a Next.js `replaceState` bug related to authentication.
  • Fixed false positive Node.js runtime detection in Next.js environments.
  • Fixed virtualization issues when using dialogs and `renderDefaults`.
  • Prevented a crash when `group.members` is null in core functionality.

Affected Symbols

⚡ Deprecations

  • The `useTimeLineStore` hook is deprecated; use the events store to get deleted documents instead.
sanity v5.18.0 - Change8