fix(deps): update sanity packages#1710
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
|
adfd401 to
c5149e6
Compare
c5149e6 to
84b322c
Compare
84b322c to
bc56acf
Compare
bc56acf to
3851f83
Compare
3851f83 to
906c236
Compare
906c236 to
2481751
Compare
2481751 to
8168c67
Compare
8168c67 to
74538b2
Compare
74538b2 to
f9abac0
Compare
f9abac0 to
4006543
Compare
4006543 to
79c2ad0
Compare
79c2ad0 to
030405d
Compare
a5215f8 to
3944c10
Compare
3944c10 to
3d59ee7
Compare
3d59ee7 to
a639fcf
Compare
a639fcf to
6dae3a0
Compare
6dae3a0 to
c4d744d
Compare
c4d744d to
7325d12
Compare
7325d12 to
810c79f
Compare
810c79f to
d971cb2
Compare
d971cb2 to
565865b
Compare
565865b to
33c1829
Compare
33c1829 to
a2946dd
Compare
a2946dd to
6897a27
Compare
6897a27 to
958bdc9
Compare
958bdc9 to
2db465d
Compare
aulonm
approved these changes
Apr 24, 2026
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.
This PR contains the following updates:
6.0.3→6.2.06.0.4→6.0.54.0.5→4.0.65.22.0→5.24.05.22.0→5.24.05.22.0→5.24.0Release Notes
portabletext/react-portabletext (@portabletext/react)
v6.2.0Compare Source
Minor Changes
#309
575c9b4Thanks @stipsan! - TypeGen-aware Portable Text components<PortableText>now infers the shape of every component handler from thevalueprop. When you pass a value typed by Sanity TypeGen,components.types,components.marks,components.block,components.list, andcomponents.listItemall receive precisevalueprops for the exact content the query returned.Three new utility types ship with this feature:
InferComponents<T>- same inference as the inlinecomponentsprop, for hoisting components out of JSX.InferStrictComponents<T>- strict variant that requires a handler for every inferred custom type, mark, block style, and list style, and rejects handlers that aren't in the schema (and therefore not visible to TypeGen).InferValue<T>- derives a Portable Text array value type from any TypeGen query result type, useful for re-usable wrapper components.Schema
Every example below assumes the same
sanity.config.ts:Before: hand-typing handlers
Previously, every handler had to be typed by hand to mirror the generated query shape:
After: automatic inference
Now the same handler is fully typed straight from
data.content:InferComponents: hoisting components without losing inferenceMove the
componentsmap out of JSX and keep the same inferred handler types:InferStrictComponents+InferValue: a strict, re-usable wrapperInferValue<SanityQueries[keyof SanityQueries]>collects every Portable Text item shape from every registered TypeGen query into an array value type, andInferStrictComponentsrequires a handler for each of them. Together they're perfect for a singleCustomPortableTextyou reuse across the app:v6.1.0Compare Source
Minor Changes
ad886e6Thanks @copilot-swe-agent! - Thevalueprop now acceptsnull | undefined, and handles it appropriately, to reduce friction when using<PortableText>with Sanity TypeGensanity-io/plugins (@sanity/assist)
v6.0.5Compare Source
Patch Changes
44c2900Thanks @copilot-swe-agent! - Update @sanity/client to ^7.21.0sanity-io/visual-editing (@sanity/preview-url-secret)
v4.0.6Patch Changes
82a9bc1Thanks @stipsan! - Update Sanity dependency ranges.sanity-io/sanity (@sanity/vision)
v5.24.0Compare Source
Sanity Studio v5.24.0
This release includes various improvements and bug fixes.
For the complete changelog with all details, please visit:
www.sanity.io/changelog/studio-NS4yMy4w
Install or upgrade Sanity Studio
To upgrade to this version, run:
To initiate a new Sanity Studio project or learn more about upgrading, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.
📓 Full changelog
eebdb173d66c1ff8111fc2308d145625f37f3d306c8f4e6b0b511ef9838e355752aaf6fcbdbdb50a185b8bc9911c4954c56b16652ff8a7d4aa8980bv5.23.0Compare Source
Features
sanity-io/sanity (sanity)
v5.24.0Compare Source
Features
Bug Fixes
v5.23.0Compare Source
Features
Bug Fixes
Configuration
📅 Schedule: (in timezone Europe/Oslo)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate using a preset from
. View repository job log here