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/exchange-execute@2.1.0
Minor Changes
context
option, which may be set to a context value or a function returning a context, can now return aPromise
and will be correctly resolved and awaited, by @YutaUra (See #2806)Patch Changes
@urql/core@3.1.0
Minor Changes
mapExchange
, which replaceserrorExchange
, allowingonOperation
andonResult
to be called to either react to or replace operations and results. For backwards compatibility, this exchange is also exported aserrorExchange
and supportsonError
, by @kitten (See #2846)Patch Changes
Variables
generics over fromobject
default toVariables extends AnyVariables = AnyVariables
. This has been introduced previously in #2607 but some missing ports have been missed due to TypeScript not catching them previously. Depending on your TypeScript version theobject
default is incompatible withAnyVariables
, by @kitten (See #2843)stringifyDocument
in place of repeatedprint
. This will mean that we now prevent callingprint
repeatedly for identical operations and are instead only reusing the result once.This change has a subtle consequence of our internals. Operation keys will change due to this
refactor and we will no longer sanitise strip newlines from queries that
@urql/core
has printed, by @kitten (See #2847)wonka@^6.1.2
to fix memory leak infetch
caused in Node.js by a lack of clean up after initiating a request, by @kitten (See #2850)@urql/exchange-graphcache@5.0.6
Patch Changes
next-urql@4.0.1
Patch Changes
createClient
to@urql/core
, which helps Next not depend onurql
and hence not causecreateContext
to be called when the import is treeshaken away, by @SleeplessOne1917 (See #2833)@urql/svelte@3.0.2
Patch Changes
Variables
generics over fromobject
default toVariables extends AnyVariables = AnyVariables
. This has been introduced previously in #2607 but some missing ports have been missed due to TypeScript not catching them previously. Depending on your TypeScript version theobject
default is incompatible withAnyVariables
, by @kitten (See #2843)@urql/vue@1.0.3
Patch Changes
Variables
generics over fromobject
default toVariables extends AnyVariables = AnyVariables
. This has been introduced previously in #2607 but some missing ports have been missed due to TypeScript not catching them previously. Depending on your TypeScript version theobject
default is incompatible withAnyVariables
, by @kitten (See #2843)