Skip to content

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Apr 30, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sanity/client (source) ^2.0.1 -> ^7.0.0 age adoption passing confidence

Release Notes

sanity-io/client (@​sanity/client)

v7.0.0

Compare Source

⚠ BREAKING CHANGES
  • Dropping support for Node.js < v20 as Node.js v18 is EOL as of 2025-04-30
Bug Fixes

v6.29.1

Compare Source

Bug Fixes
  • dependency update, import condition (d8109b9)

v6.29.0

Compare Source

Features

v6.28.4

Compare Source

Bug Fixes

v6.28.3

Compare Source

Bug Fixes

v6.28.2

Compare Source

Bug Fixes

v6.28.1

Compare Source

Bug Fixes

v6.28.0

Compare Source

Features
Bug Fixes

v6.27.2

Compare Source

Bug Fixes

v6.27.1

Compare Source

Bug Fixes
  • csm: handle Cannot read properties of undefined (cb80d68)

v6.27.0

Compare Source

Features

v6.26.1

Compare Source

Bug Fixes

v6.26.0

Compare Source

Features

v6.25.0

Compare Source

Features
  • request: add flag to disable logging api warnings (#​925) (3f90ab0)

v6.24.4

Compare Source

Bug Fixes

v6.24.3

Compare Source

Bug Fixes

v6.24.2

Compare Source

Bug Fixes

v6.24.1

Compare Source

Bug Fixes

v6.24.0

Compare Source

Features
Bug Fixes
  • export validateApiPerspective (b73ae46)

v6.23.0

Compare Source

Features
Bug Fixes
  • types: add (abort) signal to raw request typings (#​926) (fcd9a16)

v6.22.5

Compare Source

Bug Fixes

v6.22.4

Compare Source

Bug Fixes
  • stega: add textTheme to deny list (39edfe1)
  • stega: ignore paths that end with Id (81aa664)

v6.22.3

Compare Source

Bug Fixes

v6.22.2

Compare Source

Bug Fixes

v6.22.1

Compare Source

Bug Fixes
  • add missing listenerName property on welcome event (#​894) (6173089)

v6.22.0

Compare Source

Features
Bug Fixes

v6.21.3

Compare Source

Bug Fixes
  • deprecate studioHost, externalStudioHost in typings (#​879) (ebe840b)
  • support signal on getDocument(s) to cancel requests (#​881) (13d71bb)

v6.21.2

Compare Source

Bug Fixes

v6.21.1

Compare Source

Bug Fixes
  • add support for includeMutations listen parameter (#​872) (5f0a991)

v6.21.0

Compare Source

Features
  • codegen: Allow query reponse types to be overridden through SanityQueries (#​858) (c25d51a)

v6.20.2

Compare Source

Bug Fixes

v6.20.1

Compare Source

Bug Fixes
  • add warning about setting both useCdn and withCredentials to true (#​849) (ae01edb)
  • deps: update dependency get-it to ^8.6.1 (#​856) (ced69bc)

v6.20.0

Compare Source

Features

v6.19.2

Compare Source

Bug Fixes

v6.19.1

Compare Source

Bug Fixes
  • types: adjust action types to reflect Actions API (#​830) (e116c62)

v6.19.0

Compare Source

Features

v6.18.3

Compare Source

Bug Fixes

v6.18.2

Compare Source

Bug Fixes

v6.18.1

Compare Source

Bug Fixes

v6.18.0

Compare Source

Features

v6.17.3

Compare Source

Bug Fixes

v6.17.2

Compare Source

Bug Fixes

v6.17.1

Compare Source

Bug Fixes

v6.17.0

Compare Source

Features
  • update SanityProject to include metadata.cliInitializedAt (#​779) (77bf6f6)

v6.16.0

Compare Source

Features
  • add stegaClean method, deprecate vercelStegaCleanAll (#​773) (2749586)
Bug Fixes

v6.15.20

Compare Source

Bug Fixes

v6.15.19

Compare Source

Bug Fixes
  • handle bug affecting next 14.2.2 during static pregeneration (#​748) (28493e2)

v6.15.18

Compare Source

Bug Fixes

v6.15.17

Compare Source

Bug Fixes
  • deps: update dependency get-it to ^8.4.26 (96ea964)

v6.15.16

Compare Source

Bug Fixes
  • createClient from @sanity/client/stega is deprecated (4d0a03f)
  • requester from @sanity/client/stega is deprecated (f29263d)
  • use the correct stega export conditions for react-native (06af163)

v6.15.15

Compare Source

Bug Fixes
  • add react-native export conditions (cc0fd76)
  • deps: update dependency get-it to ^8.4.24 (0d5952c)

v6.15.14

Compare Source

Bug Fixes

v6.15.13

Compare Source

Bug Fixes

v6.15.12

Compare Source

Bug Fixes

v6.15.11

Compare Source

Bug Fixes
  • stega: update default filter to skip paths that contain "type" (#​689) (1c6e4ea)

v6.15.10

Compare Source

Bug Fixes

v6.15.9

Compare Source

Bug Fixes

v6.15.8

Compare Source

Bug Fixes

v6.15.7

Compare Source

Bug Fixes

v6.15.6

Compare Source

Bug Fixes

v6.15.5

Compare Source

Bug Fixes
  • deps: update dependency get-it to ^8.4.13 (8c0bb8d)

v6.15.4

Compare Source

Bug Fixes

v6.15.3

Compare Source

Bug Fixes

v6.15.2

Compare Source

Bug Fixes

v6.15.1

Compare Source

Bug Fixes
  • handle bug affecting next 14.2.2 during static pregeneration (#​748) (28493e2)

v6.15.0

Compare Source

Features
  • csm: add conditional isDraft search parameter to edit urls (#​604) (89783d2)

v6.14.4

Compare Source

Bug Fixes

v6.14.3

Compare Source

Bug Fixes

v6.14.2

Compare Source

Bug Fixes

v6.14.1

Compare Source

Bug Fixes

v6.14.0

Compare Source

Features
  • optionally encode cross dataset reference specific data (#​560) (62a9edb)

v6.13.3

Compare Source

Bug Fixes
  • reintroduce support for returnQuery option, default to false (dba1696)

v6.13.2

Compare Source

Bug Fixes
  • revert "add support for returnQuery option, default to false" (#​545) (e6b4e1c)

v6.13.1

Compare Source

Bug Fixes
  • passing array of document ids to patch()/delete() (#​549) (fee7ff7)

v6.13.0

Compare Source

Features
  • add support for returnQuery option, default to false (#​545) (dee015b)

v6.12.4

Compare Source

Bug Fixes
  • adjust stega logging prefix (76a8b5e)

v6.12.3

Compare Source

Bug Fixes
  • typings: add ListenParams for client.listen (dff1bcc)
  • typings: add MutationSelectionQueryParams type (5bf3eee)
  • typings: improve the QueryParams typing and generics (#​514) (9c606a4)

v6.12.2

Compare Source

Bug Fixes
  • typings: relax query params typings to fix regressions (#​510) (b46583e)

v6.12.1

Compare Source

Bug Fixes
  • stega: resolve issue where strings that ends in numbers are mistaken for datetimes (6b64cc4)

v6.12.0

Compare Source

Features
Bug Fixes
  • add guards for common Next.js App Router mistakes (#​499) (323ca33)

v6.11.3

Compare Source

Bug Fixes

v6.11.2

Compare Source

Bug Fixes
  • deps: update dependency get-it to ^8.4.5 (#​474) (d6d40ff)
  • stega: fallback to original value if invalid JSON (d51963a)

v6.11.1

Compare Source

Bug Fixes
  • typings: changed cache doc typing to be `Partial<SanityDocument>`` (#​469) (5483f74)

v6.11.0

Compare Source

Features
  • csm: support perspective modes when optimistically applying document mutations (#​464) (0c9db11)

v6.10.0

Compare Source

Features
Bug Fixes

v6.9.3

Compare Source

Bug Fixes
  • stega: add mode=presentation to edit intent links (8f062e1)

v6.9.2

Compare Source

Bug Fixes

v6.9.1

Compare Source

Bug Fixes
  • stega: revert allow setting stega options on client.fetch (#​424) (fdbb57a)

v6.9.0

Compare Source

Features
  • stega: allow setting stega options on client.fetch (#​419) (d38afd8)

v6.8.6

Compare Source

Bug Fixes
  • stega: merge stega options in .config() and .withConfig() (ef2d282)
  • stega: remove the vercelStegaCombineSkip option (07b343c)

v6.8.5

Compare Source

Bug Fixes
  • add missing resultSourceMap typings (cddd331)

v6.8.4

Compare Source

Bug Fixes
  • csm: don't apply tool to baseUrl (a836c7c)

v6.8.3

Compare Source

Bug Fixes
  • csm: allow passing a string path (c6c27b8)

v6.8.2

Compare Source

Bug Fixes
  • csm: remove optional intent resolve parameters (00b5ffa)
  • csm: remove unused intent resolve parameters (#​397) (00b5ffa)

v6.8.1

Compare Source

Bug Fixes
  • stega: add href to denyList (2886ae8)
  • stega: add secret to denyList (a2c22d2)

v6.8.0

Compare Source

Features
  • experimental: add CSM and stega utils (3e7ecdd)

v6.7.1

Compare Source

Bug Fixes

v6.7.0

Compare Source

Features

v6.6.0

Compare Source

Features

v6.5.0

Compare Source

Features
  • allow passing null as tag to explicitly disable it (#​348) (2698bde)

v6.4.12

Compare Source

Bug Fixes

v6.4.11

Compare Source

Bug Fixes
  • adjust incorrect listener visibility option type (#​317) (92ac2a6)
  • remove deprecated annotation for the request method (#​320) (8d8f0e2)

v6.4.10

Compare Source

Bug Fixes

v6.4.9

Compare Source

Bug Fixes
  • set useCdn: false automatically when perspective: 'previewDrafts' (#​299) (0cb98cf)

v6.4.8

Compare Source

Bug Fixes

v6.4.7

Compare Source

Bug Fixes
  • don't set signal on fetch unless provided to client.fetch (#​298) (e1d5210)

v6.4.6

Compare Source

Bug Fixes
  • client.fetch: allow setting perspective and resultSourceMap on fetch (18eedfd)

v6.4.5

Compare Source

Bug Fixes

v6.4.4

Compare Source

Bug Fixes

v6.4.3

Compare Source

Bug Fixes
  • add react-server export condition (3a81261)

v6.4.2

Compare Source

Bug Fixes

v6.4.1

Compare Source

Bug Fixes

v6.4.0

Compare Source

Features

v6.3.0

Compare Source

Features
  • projects: includeMembers option on projects.list() (#​273) (5f14eaf)

v6.2.0

Compare Source

Features

v6.1.7

Compare Source

Bug Fixes

v6.1.6

Compare Source

Bug Fixes

v6.1.5

Compare Source

Bug Fixes

v6.1.4

Compare Source

Bug Fixes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

coderabbitai bot commented Apr 30, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​sanity/​client@​2.23.2 ⏵ 7.0.0100 +2100100100 +1100

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants