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
__typename
field is added to results. Instead ofadding it by default and automatically first, the
__typename
field will now be added along withthe usual selection set. The
write
operation now automatically issues a warning if__typename
isn't present where it's expected more often, which helps in debugging. Also the
__typename
fieldmay now not proactively be added to root results, e.g.
"Query"
, by @kitten (See #1185)Patch Changes
graphql/utilities/buildClientSchema.mjs
with a custom-tailored, lighter implementationbuilt into
@urql/exchange-graphcache
. This will appear to increase its size by about0.2kB gzip
but will actually save around
8.5kB gzip
to9.4kB gzip
in any production bundle by using less ofgraphql
's code, by @kitten (See #1189)@urql/[email protected]
Minor Changes
gql
tag function helper to@urql/core
. This behaves similarly tographql-tag
but only warns about locally duplicated fragment names rather than globally. It also primes@urql/core
's key cache with the parsedDocumentNode
, by @kitten (See #1187)Patch Changes
formatDocument
, which fails to add a__typename
field if it has been aliased to a different name, by @kitten (See #1186)formatDocument
by the input document's key, by @kitten (See #1186)@urql/[email protected]
Patch Changes
gql
tag function helper to@urql/core
. This behaves similarly tographql-tag
but only warns about locally duplicated fragment names rather than globally. It also primes@urql/core
's key cache with the parsedDocumentNode
, by @kitten (See #1187)suspense: false
to options whenexecuteQuery
is called explicitly, by @kitten (See #1181)[email protected]
Patch Changes
gql
tag function helper to@urql/core
. This behaves similarly tographql-tag
but only warns about locally duplicated fragment names rather than globally. It also primes@urql/core
's key cache with the parsedDocumentNode
, by @kitten (See #1187)suspense: false
to options whenexecuteQuery
is called explicitly, by @kitten (See #1181)@urql/[email protected]
Patch Changes
gql
tag function helper to@urql/core
. This behaves similarly tographql-tag
but only warns about locally duplicated fragment names rather than globally. It also primes@urql/core
's key cache with the parsedDocumentNode
, by @kitten (See #1187)@urql/[email protected]
Patch Changes
gql
tag function helper to@urql/core
. This behaves similarly tographql-tag
but only warns about locally duplicated fragment names rather than globally. It also primes@urql/core
's key cache with the parsedDocumentNode
, by @kitten (See #1187)