🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

@sanity/diff

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sanity/diff - npm Package Versions

s
sanity-io
published 3.96.1-next.1.c7f16f0d64 •
s
sanity-io
published 3.96.1-next.0.d55a8326e3 •
s
sanity-io
published 3.96.1-next.0.e71a6cc27e •
s
sanity-io
published 3.95.1-next.60.fa00c5fdaf •
s
sanity-io
published 3.96.0 •

Changelog

Source

3.96.0 (2025-07-02)

Features

  • sanity: account for draft model being switched off in isPerspectiveWriteable (3d68545) by Ash (ash@sanity.io)
  • sanity: add document.drafts.enabled configuration option (a06c4a5) by Ash (ash@sanity.io)
  • sanity: add draft model switched off message to ChooseNewDocumentDestinationBanner (1337002) by Ash (ash@sanity.io)
  • sanity: add option to compare draft to ObsoleteDraftBanner (0f6c350) by Ash (ash@sanity.io)
  • sanity: do not render draft status indicators if draft model is not switched on (453e102) by Ash (ash@sanity.io)
  • sanity: enable dynamic default perspective (508c736) by Ash (ash@sanity.io)
  • sanity: exclude drafts from perspective stack when draft model is not switched on (242c878) by Ash (ash@sanity.io)
  • sanity: make global perspective picker compatible with any default perspective (45a6712) by Ash (ash@sanity.io)
  • sanity: prevent non-live-edit-document creation when the draft model is not switched on (20c6a6f) by Ash (ash@sanity.io)
  • sanity: refine obsolete draft copy (af4c563) by Ash (ash@sanity.io)
  • sanity: warn of obsolete drafts when draft model is switched off (1fd984a) by Ash (ash@sanity.io)
  • vision: adds datasets config option for vision (#9837) (e3a105e) by Pedro Bonamin (46196328+pedrobonamin@users.noreply.github.com)

Bug Fixes

  • add visual indicator when text is removed (#9832) (ae8c0c1) by RitaDias (rita@sanity.io)
  • cli: fixes dev command message (#9856) (27f0d0c) by Binoy Patel (me@binoy.io)
  • core: add 10th text level in PTE (#9783) (da4dc30) by Christian Grøngaard (christian.groengaard@sanity.io)
  • core: PTE open referenced documents from annotation popup (#9643) (d4af0c8) by Pedro Bonamin (46196328+pedrobonamin@users.noreply.github.com)
  • core: reverts dev engine requirement (#9865) (f58ed8b) by Pedro Bonamin (46196328+pedrobonamin@users.noreply.github.com)
  • core: set _updateAt to the creation time in version documents (#9861) (4d354aa) by Pedro Bonamin (46196328+pedrobonamin@users.noreply.github.com)
  • core: tasks active tool animation (#9840) (27d3390) by Pedro Bonamin (46196328+pedrobonamin@users.noreply.github.com)
  • core: use data-list-index on PTE blocks to improve list counts (#9784) (de51f45) by Christian Grøngaard (christian.groengaard@sanity.io)
  • core: version chip disables context menu when releases are disabled (#9815) (2b39112) by Jordan Lawrence (jordanl17@me.com)
  • deps: update dependency @portabletext/block-tools to ^1.1.33 (#9835) (2349c0d) by renovate[bot] (29139614+renovate[bot]@users.noreply.github.com)
  • deps: update dependency @portabletext/editor to ^1.55.10 (#9852) (0b5b051) by renovate[bot] (29139614+renovate[bot]@users.noreply.github.com)
  • deps: update dependency @portabletext/editor to ^1.55.11 (#9855) (f1056cb) by renovate[bot] (29139614+renovate[bot]@users.noreply.github.com)
  • deps: update dependency @portabletext/editor to ^1.55.6 (#9823) (73df0cc) by renovate[bot] (29139614+renovate[bot]@users.noreply.github.com)
  • deps: update dependency @portabletext/editor to ^1.55.7 (#9836) (1f575ec) by renovate[bot] (29139614+renovate[bot]@users.noreply.github.com)
  • deps: update dependency @portabletext/editor to ^1.55.8 (#9845) (979723c) by renovate[bot] (29139614+renovate[bot]@users.noreply.github.com)
  • deps: update dependency @portabletext/editor to ^1.55.9 (#9848) (e64a97a) by renovate[bot] (29139614+renovate[bot]@users.noreply.github.com)
  • deps: update dependency @sanity/export to ^3.45.1 (#9809) (c1d0a72) by renovate[bot] (29139614+renovate[bot]@users.noreply.github.com)
  • deps: update dependency @sanity/export to ^3.45.2 (#9831) (95e7cb5) by renovate[bot] (29139614+renovate[bot]@users.noreply.github.com)
  • deps: update dependency framer-motion to ^12.19.2 (#9844) (f7775ed) by renovate[bot] (29139614+renovate[bot]@users.noreply.github.com)
  • deps: update dependency get-it to ^8.6.10 (#9859) (3185e41) by renovate[bot] (29139614+renovate[bot]@users.noreply.github.com)
  • deps: update dependency scrollmirror to ^1.2.4 (#9817) (d41f202) by renovate[bot] (29139614+renovate[bot]@users.noreply.github.com)
  • Update runtime-cli dependency (#9857) (45cf8f0) by Simon MacDonald (simon.macdonald@gmail.com)
s
sanity-io
published 3.95.1-next.59.d371cc8aca •
s
sanity-io
published 3.95.1-next.58.f58ed8baae •
s
sanity-io
published 3.95.1-next.60.b109f8447f •
r
ritasdias
published 3.95.1-remove-guard-test.59.c91871d65a •
m
mariuslundgard
published 3.95.1-ui3.25.95f33c4bf6 •