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 was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@urql/[email protected]
Minor Changes
@_optional
and@_required
to be placed on fragment definitions and inline fragmentsSubmitted by @JoviDeCroock (See #3502)
Submitted by @JoviDeCroock (See #3501)
Patch Changes
@defer
from being applied in child field selections. Previously, a child field (i.e. a nested field) under a@defer
-ed fragment would also become optional, which was based on a prior version of the DeferStream spec which didn't require deferred fields to be delivered as a groupSubmitted by @kitten (See #3517)
store.resolve()
returning the exact link array that’s used by the cache. This can lead to subtle bugs when a user mutates the result returned bycache.resolve()
, since this directly mutates what’s in the cache at that layerSubmitted by @kitten (See #3516)
@urql/[email protected]
Minor Changes
multipart/mixed
responses (result properties essentially are namespaced on apayload
key)Submitted by @JoviDeCroock (See #3499)
DocumentNode
with no/empty definitions and adocumentId
property is considered a persisted document. When this is detected adocumentId
parameter rather than aquery
string is sent to the GraphQL API, similar to Automatic Persisted Queries (APQs). However, APQs are only supported via@urql/exchange-persisted
, while support fordocumentId
is now built-inSubmitted by @kitten (See #3515)
Patch Changes
url
to be a plain, non-URL pathname (i.e./api/graphql
) to be used withpreferGetMethod
Submitted by @akrantz01 (See #3514)
Headers
class being used infetchOptions
Submitted by @JoviDeCroock (See #3505)
@urql/[email protected]
Minor Changes
reexecute
functionSubmitted by @JoviDeCroock (See #3472)
Patch Changes