npm @sanity/vision 3.78.0
v3.78.0

latest release: 3.78.1-mcp.17
one day ago

✨ Highlights

🔍 Document comparison tool

The new document comparison tool provides a side-by-side view of two different documents by version, highlighting the fields that have changed between the previous and next versions. Select Compare versions from the document actions menu when viewing any draft or version document in Studio to open the tool.

By default, the first pane shows the previous version, and the second pane shows next version (the version that introduces changes). Use the menu at the top of each pane to switch the versions displayed.

✍️ Portable Text Editor enhancements

Added additional Markdown shortcuts in Portable Text Editor:

`code` maps to a code markdown block
~~strike-through~~ maps to a strike-through block

CLI api-version flag

  • The sanity migrate CLI command now takes an optional --api-version flag

📓 Full changelog

Author Message Commit
Cody Olsen chore(ci): end custom runners experiment (#8774) 21d18c3
Cody Olsen fix: prevent over-fetching in free trial provider (#8783) 8f65af3
Christian Grøngaard feat(core): add default code and strike-through markdown shortcuts to PTE (#8777) 5c9f705
Rostislav Melkumyan feat(migrate): add support for --api-version flag (#8781) 82c360f
Cody Olsen fix(presentation): don't remount header when props change (#8786) 6d99e26
RitaDias fix(structure): fix issue with locked icon (#8771) 709a5b4
Bjørge Næss refactor: consistently apply current perspective for previews (#8655) 7575765
Pedro Bonamin feat(core): add useDocumentForm hook (#8557) 1e1a417
Pedro Bonamin fix(core): useDocumentForm update type (#8791) 902e2db
Pedro Bonamin fix(core): rename internal deepEquals to deepEqualsIgnoreKey (#8790) c44a858
Bjørge Næss fix(comments): set up listener with filter-only query (#8793) 3495c4a
Bjørge Næss fix(preview): prefer snapshot over original when previewing (#8792) 9c6b207
Bjørge Næss fix(structure): exclude documents outside of selected perspective from document lists (#8798) 4945f0a
Pedro Bonamin fix(core): batch requests for archived releases view (#8779) 54af2dd
Jordan Lawrence chore: exclude mocks and fixtures from bundle (#8801) 8eb7396
Christian Hamburger Grøngaard test(core): make DragAndDrop test a bit more resilient aeba897
Binoy Patel feat(cli): add app undeploy command ba663e3
Pedro Bonamin chore(structure): disables sheet list flaky test, functionality is not t enabled (#8797) 73a5133
Cody Olsen fix: handle motion.create warning (#8805) e50b1cc
Binoy Patel chore(cli): run app dev command on different port (#8769) 1be7674
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.14.4 (#8802) 6859ed5
Pedro Bonamin fix(structure): preload should use published id (#8796) 6eafe16
renovate[bot] chore(deps): update dependency turbo to ^2.4.4 (#8772) 2c6c7b8
renovate[bot] chore(deps): update dependency vite to ^6.2.0 (#8773) 0721df2
renovate[bot] fix(deps): update dependency @portabletext/block-tools to ^1.1.11 (#8799) 762b0e3
renovate[bot] fix(deps): update dependency @sanity/icons to ^3.7.0 (#8789) 3d3aa2e
ecospark[bot] fix(deps): update React Compiler dependencies 🤖 ✨ (#8807) c15510c
renovate[bot] chore(deps): update dependency rxjs to ^7.8.2 (#8727) 9881a6e
renovate[bot] fix(deps): update dependency @sanity/insert-menu to v1.1.4 (#8810) 8c94856
renovate[bot] chore(deps): update dependency @sanity/visual-editing-csm to ^2.0.7 (#8809) 5cdff86
renovate[bot] fix(deps): update dependency @portabletext/editor to ^1.36.5 (#8800) c0c0fc1
Jordan Lawrence chore: releases is opt-out; remove explicit opt in for test-studio (#8765) d5e83a8
renovate[bot] fix(deps): update dependency @sanity/client to ^6.28.2 (#8806) a21164f
renovate[bot] fix(deps): update dependency @sanity/presentation-comlink to ^1.0.9 (#8811) 017880a
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.14.5 (#8813) 144c065
renovate[bot] fix(deps): update dependency react-rx to ^4.1.22 (#8814) 5cf1a5b
Cody Olsen chore(ci): auto cancel more jobs on push to next (#8817) 69ca8cf
renovate[bot] chore(deps): lock file maintenance (#8815) a3b6eba
renovate[bot] fix(deps): update dependency @sanity/preview-url-secret to ^2.1.5 (#8812) 4a8950c
renovate[bot] chore(deps): update dev-non-major (#8695) aa3dc7f
Pedro Bonamin fix(core): memoize scheduledPublishing calls, trigger only once (#8819) 34674d5
renovate[bot] chore(deps): update dependency lerna to ^8.2.1 (#8820) 63b0240
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.15.0 (#8823) 82489b9
Pedro Bonamin fix(core): add isReleaseLocked or willBeUnpublished to useDocumentForm (#8822) 50a65ba
Cody Olsen chore: reduce CI e2e flake (#8825) 242cb32
renovate[bot] chore(lockfile): update dependency framer-motion to v12.4.10 (#8831) 7b50266
Josh feat: set bridge script based on ENV & add data-attribute (#8830) c932020
renovate[bot] fix(deps): update dependency @portabletext/editor to ^1.36.6 (#8821) 6ff3fe2
Ash fix(sanity): error message typo (#7907) 1d655c2
Ash chore(sanity): extract Chip component prop type (#7907) 254467f
Ash feat(sanity): add isInteractive prop to ConnectorContext (#7907) 4d24fb4
Ash feat(sanity): improve system bundle handling (#7907) 6a9d4c1
Ash feat(sanity): add tone prop to Chip component (#7907) b7087f8
Ash feat(sanity): add ReleaseAvatar export (#7907) a3defc3
Ash refactor(sanity): move release filtering code to reusable useFilteredReleases hook (#7907) a693832
Ash feat(sanity): add useDocumentIdStack hook (#7907) 43d4287
Ash feat(sanity): accept disableNew option in ReferenceInputOptionsContext (#7907) 64a75ef
Ash feat(sanity): add document comparison tool (#7907) 7a4fb1b
Jordan Lawrence fix: publish action hidden on published documents (#8747) f50cf9f
Bjørge Næss fix(structure): provide feedback as document is added to release (#8804) d43553e
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.15.2 (#8824) ac53a11

Don't miss a new vision release

NewReleases is sending notifications on new releases.