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
Operation
input argument to theretryIf
predicate, so that retrying can be actively avoided for specific types of operations, e.g. mutations or subscriptions, in certain user-defined cases, by @kitten (See #1117)Patch Changes
@urql/[email protected]
Minor Changes
suspenseExchange
and uncached results are loaded consistently. As part of this work, theClient
itself does now never throw Suspense promises anymore, which is functionality that either way has no place outside of the React/Preact bindings, by @kitten (See #1123)Patch Changes
Record
overobject
type for subscription operation variables. Theobject
type is currently hard to use (see this issue), by @enisdenjo (See #1119)TypedDocumentNode
to infer the type of theOperationResult
andOperation
for all methods, functions, and hooks that either directly or indirectly accept aDocumentNode
. Seegraphql-typed-document-node
and the corresponding blog post for more information., by @kitten (See #1113)useSource
hooks which powersuseQuery
anduseSubscription
to improve various edge case behaviour. This will not change the behaviour of these hooks dramatically but avoid unnecessary state updates when any updates are obviously equivalent and the hook will furthermore improve continuation from mount to effects, which will fix cases where the state between the mounting and effect phase may slightly change, by @kitten (See #1104)@urql/[email protected]
Minor Changes
suspenseExchange
and uncached results are loaded consistently. As part of this work, theClient
itself does now never throw Suspense promises anymore, which is functionality that either way has no place outside of the React/Preact bindings, by @kitten (See #1123)Patch Changes
TypedDocumentNode
to infer the type of theOperationResult
andOperation
for all methods, functions, and hooks that either directly or indirectly accept aDocumentNode
. Seegraphql-typed-document-node
and the corresponding blog post for more information., by @kitten (See #1113)useSource
hooks which powersuseQuery
anduseSubscription
to improve various edge case behaviour. This will not change the behaviour of these hooks dramatically but avoid unnecessary state updates when any updates are obviously equivalent and the hook will furthermore improve continuation from mount to effects, which will fix cases where the state between the mounting and effect phase may slightly change, by @kitten (See #1104)[email protected]
Minor Changes
suspenseExchange
and uncached results are loaded consistently. As part of this work, theClient
itself does now never throw Suspense promises anymore, which is functionality that either way has no place outside of the React/Preact bindings, by @kitten (See #1123)Patch Changes
TypedDocumentNode
to infer the type of theOperationResult
andOperation
for all methods, functions, and hooks that either directly or indirectly accept aDocumentNode
. Seegraphql-typed-document-node
and the corresponding blog post for more information., by @kitten (See #1113)useSource
hooks which powersuseQuery
anduseSubscription
to improve various edge case behaviour. This will not change the behaviour of these hooks dramatically but avoid unnecessary state updates when any updates are obviously equivalent and the hook will furthermore improve continuation from mount to effects, which will fix cases where the state between the mounting and effect phase may slightly change, by @kitten (See #1104)@urql/[email protected]
Patch Changes
TypedDocumentNode
to infer the type of theOperationResult
andOperation
for all methods, functions, and hooks that either directly or indirectly accept aDocumentNode
. Seegraphql-typed-document-node
and the corresponding blog post for more information., by @kitten (See #1113)@urql/[email protected]
Patch Changes
@urql/devtools
to@urql/storybook-addon
. Previously it was not included (See #1092), but now the exchange works out of the box with Storybook, by @r281GQ (See #1112)@urql/[email protected]
Patch Changes
TypedDocumentNode
to infer the type of theOperationResult
andOperation
for all methods, functions, and hooks that either directly or indirectly accept aDocumentNode
. Seegraphql-typed-document-node
and the corresponding blog post for more information., by @kitten (See #1113)