Change8

v3.88.0

📦 sanityView on GitHub →
13 features🐛 2 fixes🔧 14 symbols

Summary

This release introduces several new features related to document favoriting, media management commands, and general availability for schema CLI commands, alongside numerous dependency updates and minor bug fixes.

Migration Steps

  1. Run `npm install sanity@latest` to upgrade to this version.
  2. Refer to the comprehensive guide on [Installing and Upgrading Sanity Studio](https://www.sanity.io/docs/upgrade) for initiating a new project or detailed upgrade instructions.

✨ New Features

  • Sanity schema deploy, list, and delete commands are now generally available.
  • Added `condition` prop to `CapabilityGate`.
  • Exported `CapabilityGate` component.
  • Added `appendTitle` prop to `PaneHeader`.
  • Added `useManageFavorite` hook.
  • Added `FavoriteToggle` component.
  • Added favourite toggle functionality to documents when rendered inside Dashboard.
  • Exported `ProgressEvent` type.
  • Added "export media" command.
  • Added "import media" command.
  • CLI now asks to auto update on `sanity dev`, `build`, and `deploy` commands.
  • Allows pulling metadata as configured on image type for ML assets.
  • CLI templates updated to use SDK 1.0.0.

🐛 Bug Fixes

  • Fixed an issue causing a crash in the unlink dialog.
  • Dependency updates: @sanity/export to ^3.43.0, @sanity/visual-editing-csm to ^2.0.16, @portabletext/block-tools to ^1.1.23, @sanity/insert-menu to v1.1.11, @sanity/preview-url-secret to ^2.1.10, @portabletext/editor to ^1.48.15, @sanity/presentation-comlink to ^1.0.18, @sanity/ui to ^2.15.16, @sanity/client to ^7.1.0.

🔧 Affected Symbols

CapabilityGatePaneHeaderuseManageFavoriteFavoriteToggleProgressEvent@sanity/export@sanity/visual-editing-csm@portabletext/block-tools@sanity/insert-menu@sanity/preview-url-secret@portabletext/editor@sanity/presentation-comlink@sanity/ui@sanity/client