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 #260

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 4, 2023

Mend Renovate

This PR contains the following updates:

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

Release Notes

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

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
  • add node.module export condition (6ec1d7e)

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 '@​sanity/client'
    +import {createClient} from '@​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 Monday" (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

@vercel
Copy link

vercel bot commented Sep 4, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
gatsby-source-sanity ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 4, 2023 2:21am

@socket-security
Copy link

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

Packages Version New capabilities Transitives Size Publisher
@types/node 18.17.0...18.17.14 None +0/-0 3.73 MB types

🚮 Removed packages: eslint@8.45.0

@stipsan stipsan closed this Sep 4, 2023
@renovate
Copy link
Contributor Author

renovate bot commented Sep 4, 2023

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 6.x releases. But if you manually upgrade to 6.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/sanity-client-6.x branch September 4, 2023 08:08
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.

1 participant