Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency @sanity/client to v6 #58

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 1, 2023

Mend Renovate

This PR contains the following updates:

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

Release Notes

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

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

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

v6.1.3

Compare Source

Bug Fixes
  • add ClientPerspective type export (4c8664d)
  • update perspective typings (74a02f8)

v6.1.2

Compare Source

Bug Fixes
  • update RawQueryResponse response type properties (#​232) (5eb0272)

v6.1.1

Compare Source

Bug Fixes
  • prevent crash when using url option instead of uri (#​231) (573c1bd)

v6.1.0

Compare Source

Features
Bug Fixes

v6.0.1

Compare Source

Bug Fixes

v6.0.0

Compare Source

⚠ BREAKING CHANGES
  • useCdn is now set to true by default. Our CDN ensures your content has reliably, world-wide delivery by caching queries made from your front-end. If you require fresh data for every query, perhaps for testing purposes, add useCdn: false to your configuration.
  • Client will now automatically retry all GET/HEAD requests as well as queries if the server responds with a 429, 502 or 503 status code - as well as on socket/DNS errors. Previously, the client would immediately throw an error. If you have application-level retry code, you should either disable the retrying in the client by passing {maxRetries: 0}, or remove the custom retry code and potentially alter the retryDelay and maxRetries options to match your wanted behavior.

The migration guide outlines every breaking change and how to migrate your code

Introducing Content Source Maps

Note

Content Source Maps are available for select Sanity enterprise customers. Contact our sales team for more information.

Content Source Maps are an optional layer of contextual metadata sent with queries to enable use cases such as Visual Editing, tracing content lineage, and more. Our implementation of Content Source Maps are based on an open standard posted on GitHub, and you can read the API documentation here. To get started with Content Source Maps, check out the documentation in the README file.

Features
  • add automatic retrying of 429, 502, 503 (#​199)
Bug Fixes
  • make useCdn use true by default (#​191)
  • undeprecate request() (#​205)

v5.4.2

Compare Source

Bug Fixes
  • mutate: reflect support for providing transaction id in typings (#​187) (b7ad302)
  • mutate: serialize clientless patches correctly (#​186) (b635dff)

v5.4.1

Compare Source

Bug Fixes

v5.4.0

Compare Source

Features

v5.3.2

Compare Source

Bug Fixes

v5.3.1

Compare Source

Bug Fixes

v5.3.0

Compare Source

Features
Bug Fixes

v5.2.2

Compare Source

Bug Fixes

v5.2.1

Compare Source

Bug Fixes

v5.2.0

Compare Source

Features

v5.1.0

Compare Source

Features
Bug Fixes
  • make @types/node a dev dependency (88a4cc1)
  • show a migration error when using the default export (#​105) (adb582e)

v5.0.0

Compare Source

⚠ BREAKING CHANGES
  • We have removed the default export and replaced it with a named one:

    -import SanityClient from '@&#8203;sanity/client'
    +import {createClient} from '@&#8203;sanity/client'

The migration guide outlines every breaking change and how to migrate your code

Features

v4.0.1

Compare Source

Bug Fixes
  • deps: upgrade rxjs to v7 (#​80) (594b4e7)
  • use NodeJS.ReadableStream type for upload body type to prevent conflict with DOM ReadableStream (#​33) (8cbfe0c)

v4.0.0

Compare Source

⚠ BREAKING CHANGES
  • Expanding ESM support is a significant change. Although a tremendous effort is made to preserve backward compatibility it can't be guaranteed as there are too many conditions, environments, and runtime versions to cover them all.
Bug Fixes
  • deps: update dependencies (non-major) (#​36) (658b40f)
  • improve ESM output to support Deno, Bun and Edge runtimes (#​29) (5ef19d4)

Configuration

📅 Schedule: Branch creation - "before 3am on the first day of the month" (UTC), 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 has been generated by Mend Renovate using a curated preset maintained by Sanity. View repository job log here

@socket-security
Copy link

socket-security bot commented Jun 1, 2023

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report↗︎

@renovate renovate bot force-pushed the renovate/sanity-client-6.x branch from 8b94ca7 to 7040847 Compare July 25, 2023 11:16
@socket-security
Copy link

socket-security bot commented Jul 25, 2023

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@sanity/client@6.19.1 Transitive: environment, network +11 5.69 MB

View full report↗︎

@renovate renovate bot force-pushed the renovate/sanity-client-6.x branch 3 times, most recently from 6f776c6 to 8005218 Compare August 2, 2023 04:18
@renovate renovate bot force-pushed the renovate/sanity-client-6.x branch 5 times, most recently from 2929079 to ba4e8d6 Compare August 13, 2023 04:27
@renovate renovate bot force-pushed the renovate/sanity-client-6.x branch 3 times, most recently from f1582c6 to ff9371a Compare August 18, 2023 23:20
@renovate renovate bot force-pushed the renovate/sanity-client-6.x branch 2 times, most recently from d9cc495 to 42b2963 Compare September 6, 2023 20:19
@renovate renovate bot force-pushed the renovate/sanity-client-6.x branch from 42b2963 to 651699b Compare September 13, 2023 14:44
@renovate renovate bot force-pushed the renovate/sanity-client-6.x branch 2 times, most recently from 4849510 to 6c1c12f Compare October 15, 2023 15:31
@renovate renovate bot force-pushed the renovate/sanity-client-6.x branch from 6c1c12f to 377052c Compare October 19, 2023 16:50
@renovate renovate bot force-pushed the renovate/sanity-client-6.x branch 2 times, most recently from 27b27ac to eed35e5 Compare November 12, 2023 08:47
@renovate renovate bot force-pushed the renovate/sanity-client-6.x branch 4 times, most recently from 3732248 to 15f50bc Compare November 15, 2023 16:46
@renovate renovate bot force-pushed the renovate/sanity-client-6.x branch from 15f50bc to 8b8959e Compare November 28, 2023 19:19
@renovate renovate bot force-pushed the renovate/sanity-client-6.x branch 3 times, most recently from a6b9561 to c0c987b Compare February 28, 2024 14:42
@renovate renovate bot force-pushed the renovate/sanity-client-6.x branch 3 times, most recently from c835a8c to c3f9ed4 Compare March 12, 2024 13:53
@renovate renovate bot force-pushed the renovate/sanity-client-6.x branch 3 times, most recently from edf5d0c to 0d40bf6 Compare March 20, 2024 09:38
@renovate renovate bot force-pushed the renovate/sanity-client-6.x branch 3 times, most recently from fafb833 to 0893313 Compare April 5, 2024 15:46
@renovate renovate bot force-pushed the renovate/sanity-client-6.x branch 4 times, most recently from 0c3275d to 8cca94e Compare April 17, 2024 17:45
@renovate renovate bot force-pushed the renovate/sanity-client-6.x branch 3 times, most recently from 08d618d to ccf6304 Compare April 22, 2024 15:55
@renovate renovate bot force-pushed the renovate/sanity-client-6.x branch 5 times, most recently from ddad1aa to 4063ba6 Compare May 7, 2024 20:03
@renovate renovate bot force-pushed the renovate/sanity-client-6.x branch 2 times, most recently from f87a4b2 to e817ade Compare May 15, 2024 00:54
@renovate renovate bot force-pushed the renovate/sanity-client-6.x branch 2 times, most recently from 80ece58 to 1ca8c04 Compare May 28, 2024 13:06
@renovate renovate bot force-pushed the renovate/sanity-client-6.x branch from 1ca8c04 to c86c316 Compare May 29, 2024 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants