chore(deps): update core @sanity packages in packages/#12641
Draft
chore(deps): update core @sanity packages in packages/#12641
Conversation
Agent-Logs-Url: https://github.com/sanity-io/sanity/sessions/f320b4f8-9bb4-46e6-b0ce-5bc6a5edbfa5 Co-authored-by: stipsan <81981+stipsan@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
stipsan
April 14, 2026 12:29
View session
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Member
|
@copilot fill out the pr description template properly |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Contributor
Author
Updated the PR description to follow the template with Description, What to review, Testing, and Notes for release sections. |
Member
|
@copilot run |
Contributor
Author
juice49
previously approved these changes
Apr 14, 2026
Member
|
@copilot resolve merge conflicts |
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Bump external
@sanity/*dependencies acrosspackages/to latest versions.@sanity/diff-patch^5.0.0^6.0.0@sanity/message-protocol^0.19.0^0.23.0@sanity/sdk2.1.2^2.8.0@sanity/insert-menu3.0.4/^3.0.43.0.5/^3.0.5@sanity/preview-url-secret^4.0.4^4.0.5@sanity/visual-editing-csm^3.0.6^3.0.7@sanity/sdkwas also changed from an exact pin to a^range for consistency with other deps.@sanity/diff-patchv6 migrationv6 removes
diffItemand its raw patch types (SetPatch,UnsetPatch,InsertAfterPatch,DiffOptions) in favor ofdiffValue, which returns pre-serializedSanityPatchOperations[].Refactored
undoChange.tsto:diffValue()instead ofdiffItem(), filtering on object keys (set,unset,insert) rather thanopdiscriminantsstringToPath()forgetParentStubscallsdiffMatchPatchoperations (v6 uses DMP by default for eligible strings; v5 had it disabled) by resolving tosetoperations usingdiff.fromValueWhat to review
packages/sanity/package.jsonandpackages/@sanity/types/package.json— version bumpspackages/sanity/src/core/field/diff/changes/undoChange.ts— migration fromdiffItemtodiffValueAPITesting
No new tests added. Existing undo-change tests continue to pass with the refactored code.
Notes for release
N/A – Internal only