cli
cli copied to clipboard
fix(deps): update dependency @sanity/client to v6
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
@sanity/client (source) | ^0.147.3 -> ^6.0.0 |
Release Notes
sanity-io/client (@sanity/client)
v6.18.2
Bug Fixes
v6.18.1
Bug Fixes
v6.18.0
Features
v6.17.3
Bug Fixes
v6.17.2
Bug Fixes
v6.17.1
Bug Fixes
- deps: update dependency @vercel/stega to v0.1.2 (#784) (7297ead)
- deps: update dependency get-it to v8.4.28 (#786) (47985fc)
- prevent listener leak on unsubscribe before eventsource module load (#783) (f38b64e)
v6.17.0
Features
v6.16.0
Features
Bug Fixes
- deps: update dependency @vercel/stega to v0.1.1 (#771) (aea84ce)
v6.15.20
Bug Fixes
- deps: update dependency @sanity/eventsource to ^5.0.2 (#754) (754183f)
v6.15.19
Bug Fixes
v6.15.18
Bug Fixes
v6.15.17
Bug Fixes
- deps: update dependency get-it to ^8.4.26 (96ea964)
v6.15.16
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
Bug Fixes
v6.15.14
Bug Fixes
v6.15.13
Bug Fixes
- improve bun support (ac37787)
v6.15.12
Bug Fixes
v6.15.11
Bug Fixes
v6.15.10
Bug Fixes
v6.15.9
Bug Fixes
v6.15.8
Bug Fixes
- deps: update dependency get-it to ^8.4.16 (#668) (cea5c1c)
- deps: update dependency get-it to ^8.4.17 (#677) (694298f)
v6.15.7
Bug Fixes
v6.15.6
Bug Fixes
v6.15.5
Bug Fixes
- deps: update dependency get-it to ^8.4.13 (8c0bb8d)
v6.15.4
Bug Fixes
v6.15.3
Bug Fixes
v6.15.2
Bug Fixes
v6.15.1
Bug Fixes
- support turbopack (76d5e24)
v6.15.0
Features
v6.14.4
Bug Fixes
v6.14.3
Bug Fixes
v6.14.2
Bug Fixes
- deps: update dependency get-it to ^8.4.8 (#576) (c88fdf8)
- deps: update dependency get-it to ^8.4.9 (#586) (63b652c)
v6.14.1
Bug Fixes
v6.14.0
Features
v6.13.3
Bug Fixes
- reintroduce support for
returnQuery
option, default tofalse
(dba1696)
v6.13.2
Bug Fixes
v6.13.1
Bug Fixes
v6.13.0
Features
v6.12.4
Bug Fixes
- adjust stega logging prefix (76a8b5e)
v6.12.3
Bug Fixes
-
typings: add
ListenParams
forclient.listen
(dff1bcc) -
typings: add
MutationSelectionQueryParams
type (5bf3eee) - typings: improve the QueryParams typing and generics (#514) (9c606a4)
v6.12.2
Bug Fixes
v6.12.1
Bug Fixes
- stega: resolve issue where strings that ends in numbers are mistaken for datetimes (6b64cc4)
v6.12.0
Features
Bug Fixes
v6.11.3
Bug Fixes
v6.11.2
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
Bug Fixes
v6.11.0
Features
v6.10.0
Features
- allow setting
useCdn: boolean
onclient.fetch
(#454) (936ec9e) -
stega: allow setting
stega
options onclient.fetch
(#427) (144fc2d)
Bug Fixes
v6.9.3
Bug Fixes
-
stega: add
mode=presentation
to edit intent links (8f062e1)
v6.9.2
Bug Fixes
v6.9.1
Bug Fixes
v6.9.0
Features
v6.8.6
Bug Fixes
-
stega: merge stega options in
.config()
and.withConfig()
(ef2d282) -
stega: remove the
vercelStegaCombineSkip
option (07b343c)
v6.8.5
Bug Fixes
- add missing
resultSourceMap
typings (cddd331)
v6.8.4
Bug Fixes
-
csm: don't apply
tool
tobaseUrl
(a836c7c)
v6.8.3
Bug Fixes
-
csm: allow passing a string
path
(c6c27b8)
v6.8.2
Bug Fixes
- csm: remove optional intent resolve parameters (00b5ffa)
- csm: remove unused intent resolve parameters (#397) (00b5ffa)
v6.8.1
Bug Fixes
v6.8.0
Features
- experimental: add CSM and stega utils (3e7ecdd)
v6.7.1
Bug Fixes
v6.7.0
Features
v6.6.0
Features
v6.5.0
Features
v6.4.12
Bug Fixes
v6.4.11
Bug Fixes
- adjust incorrect listener
visibility
option type (#317) (92ac2a6) - remove deprecated annotation for the request method (#320) (8d8f0e2)
v6.4.10
Bug Fixes
v6.4.9
Bug Fixes
v6.4.8
Bug Fixes
v6.4.7
Bug Fixes
v6.4.6
Bug Fixes
-
client.fetch: allow setting
perspective
andresultSourceMap
on fetch (18eedfd)
v6.4.5
Bug Fixes
v6.4.4
Bug Fixes
v6.4.3
Bug Fixes
- add
react-server
export condition (3a81261)
v6.4.2
Bug Fixes
v6.4.1
Bug Fixes
v6.4.0
Features
v6.3.0
Features
v6.2.0
Features
v6.1.7
Bug Fixes
v6.1.6
Bug Fixes
v6.1.5
Bug Fixes
v6.1.4
Bug Fixes
- check if
@sanity/preview-kit/client
is incorrectly setup (2507638) - deps: update dependency get-it to v8.1.4 (#250) (09f89ea)
- deps: update non-major (#251) (07935ec)
v6.1.3
Bug Fixes
v6.1.2
Bug Fixes
v6.1.1
Bug Fixes
v6.1.0
Features
Bug Fixes
v6.0.1
Bug Fixes
- add release notes (53533f5)
v6.0.0
⚠ BREAKING CHANGES
-
useCdn
is now set totrue
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, adduseCdn: 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 theretryDelay
andmaxRetries
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
v5.4.2
Bug Fixes
- mutate: reflect support for providing transaction id in typings (#187) (b7ad302)
- mutate: serialize clientless patches correctly (#186) (b635dff)
v5.4.1
Bug Fixes
v5.4.0
Features
v5.3.2
Bug Fixes
v5.3.1
Bug Fixes
- deps: update dependency @sanity/eventsource to v5 (#169) (1cda138)
v5.3.0
Features
Bug Fixes
- correct document ID validation (#149) (b5799c9)
- deps: update devdependencies (non-major) (#137) (13c9fe4)
v5.2.2
Bug Fixes
v5.2.1
Bug Fixes
- add support for using the default export (#117) (1b1fb16)
- use
Any
for explicit any (#115) (d588cf6)
v5.2.0
Features
v5.1.0
Features
Bug Fixes
- make
@types/node
a dev dependency (88a4cc1) - show a migration error when using the default export (#105) (adb582e)
v5.0.0
⚠ 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
Bug Fixes
- deps: upgrade rxjs to v7 (#80) (594b4e7)
- use
NodeJS.ReadableStream
type for upload body type to prevent conflict with DOMReadableStream
(#33) (8cbfe0c)
v4.0.0
⚠ 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)
v3.4.1
- fix(typings):
fetch()
does not need to return record
v3.4.0
- feat: allow setting
allowReconfigure
tofalse
to prevent reconfiguration of existing client instance
v3.3.7
- fix(typings): make typings compatible with TypeScript 4.8
- fix(typings): add missing
params
toMutationSelection
v3.3.6
- fix(typings): missing class extend for
ObservableTransaction
v3.3.5
- fix: regression introduced in #24. Partially exporting ESM breaks environments that bundle for the browser, such as Next.js. Remove
pkg.exports
until what we ship there is 100% compatible with the ecosystem.
v3.3.4
- fix: removed
@sanity/generate-help-url
dependency which threwTypeError: generateHelpUrl is not a function
errors in some cases
v3.3.3
- fix(typings): observable client emits observables on transaction/patch commit
v3.3.2
- fix(typings): add missing
operation
property on mutation result
v3.3.1
- docs: fix typo in readme (#10)
- chore: upgrade eventsource dependency
v3.3.0
- feat: add
dryRun
,autoGenerateArrayKeys
mutation options
v3.2.2
- fix: use named import for
@sanity/generate-help-url
module
v3.2.1
- chore(deps): upgrade dependencies
v3.2.0
- fix(typings): add missing
timeout
config option - feat: support passing custom headers to http methods (#5)
v3.1.0
- feat: add new polyfill for event source (#2)
v3.0.6
- feat: make
request()
return value generic - feat: add
skipCrossDatasetReferenceValidation
flag to mutations
v3.0.5
v3.0.4
- fix(typings): add missing
clone()
method on requester
v3.0.3
- feat(http): request compressed responses
v3.0.2
- fix(typings): add missing
maxRedirects
option
v3.0.1
- fix(typings): use rxjs for observable type
v3.0.0
- BREAKING: Passing a
token
anduseCdn: true
will now use the API CDN for queries, where it previously used the uncached, "live" API - BREAKING: Client now only supports Node.js v12 and higher
- BREAKING: Remove deprecated
merge
patch operator - BREAKING: Remove deprecated
document
property onassets.upload
response - BREAKING: Make sure
client.observable.fetch()
returns a cold observable
v2.23.2
v2.23.1
v2.23.0
v2.22.3
v2.21.10
v2.21.7
[Compare Source](https://togithub.com/sanity-io/client/compare/17d11cff269fa547e352f7f0be3e04c31cffe4f8...682dc95b41e56841ab63d7f95643aa2534069f
Configuration
📅 Schedule: Branch creation - "before 4am 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. View repository job log here.