Change8

v3.75.0

📦 sanityView on GitHub →
9 features🐛 15 fixes1 deprecations🔧 10 symbols

Summary

This release focuses heavily on bug fixes, particularly around Content Releases functionality, timezone handling, and document preview data integrity. It also addresses deprecations by removing the `textSearch` strategy and warning for `motion()`.

Migration Steps

  1. If updating from a version earlier than 3.37.0, check the article at https://www.sanity.io/help/upgrade-packages to ensure dependencies are up to date.
  2. Replace usage of deprecated `motion()` with `motion.create()`.

✨ New Features

  • Added support for non-studio app template via CLI.
  • Simplified perspective handling in Vision, removing default perspective.
  • Added error field loading for release documents.
  • Added error count to releases store.
  • Added release tool error indicator.
  • Added release error indicators to ReleasesOverview.
  • Added release error details to ReleaseDashboardDetails.
  • Using publishedAt to present publish time for past releases.
  • New scheduled release defaults time to start of next day (implied by incomplete message).

🐛 Bug Fixes

  • Fixed issue where document list previews using version documents were not showing correct data (using `vX` for `observeFields` when querying for version docs).
  • Fixed issue where some local states were not updating correctly when switching Content Releases in the dashboard.
  • Fixed issue with incorrect titles shown when discarding or un-publishing a document inside a release (now uses preview value title).
  • Fixed Vite dev server error handling edge case due to improper checking.
  • Removed console warnings related to deprecated `motion()` usage.
  • Removed deprecated `textSearch` strategy.
  • Updated translations for error messages in Content Releases.
  • Fixed timezone issues in content releases.
  • Ensured comments permission check only requests project memberships once.
  • Swapped `sanity-diff-patch` with `@sanity/diff-patch`.
  • Fixed release handling by changing usage of `versionsOf` to `versionOf`.
  • Fixed core issue by using `MarkdownPlugin` instead of `behaviors={[...]}`.
  • Reset all releaseDetail states when switching the release.
  • Fixed timezone fixes in content releases.
  • Fixed issue where incorrect status indicator color was shown for undecided releases.

🔧 Affected Symbols

motion()motion.create()textSearchobserveFieldsversionsOfversionOfMarkdownPluginbehaviorssanity-diff-patch@sanity/diff-patch

⚡ Deprecations

  • The `motion()` function is deprecated. Use `motion.create()` instead.