The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] over 1 year ago
maxDepth
and skipType
into the populateExchange
, these options allow you to specifyPublished by github-actions[bot] over 1 year ago
variables
properties optional when a type from TypedDocumentNode
has no Variables
or all optional Variables
. Previously this would break for wrappers, e.g. in code generators, or when the type didn't quite match what we'd expectPublished by github-actions[bot] over 1 year ago
offlineExchange
that's caused when onOnline
triggers and flushes mutation queue before the mutation queue is used, by @trcoffman (See #2945)(16) Heuristic Fragment Matching
, by @inokawa (See #2923)Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
pageProps: {}
entry to props on app components, by @JoviDeCroock (See #2909)Published by github-actions[bot] almost 2 years ago
teardown
is received. This bug could be triggered when a shared query operation triggers again and causes a cache miss (e.g. due to an error). The re-execution of the operation would then be blocked as Graphcache considered it a "reexecution loop" rather than a legitimate execution triggered by the UI. (See https://github.com/urql-graphql/urql/pull/2737 for more information), by @kitten (See #2876)Published by github-actions[bot] almost 2 years ago
Published by github-actions[bot] almost 2 years ago
@urql/core
's stringifyDocument
that caused some formatted documents to not be reprinted, by @JoviDeCroock (See #2871)Published by github-actions[bot] almost 2 years ago
Published by github-actions[bot] almost 2 years ago
Published by github-actions[bot] almost 2 years ago
Published by github-actions[bot] almost 2 years ago
Published by github-actions[bot] almost 2 years ago
createClient
to @urql/core
, which helps Next not depend on urql
and hence not cause createContext
to be called when the import is treeshaken away, by @SleeplessOne1917 (See #2833)Published by github-actions[bot] almost 2 years ago
Published by github-actions[bot] almost 2 years ago
context
option, which may be set to a context value or a function returning a context, can now return a Promise
and will be correctly resolved and awaited, by @YutaUra (See #2806)Published by github-actions[bot] almost 2 years ago
Variables
generics over from object
default to Variables 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 the object
default is incompatible with AnyVariables
, by @kitten (See #2843)Published by github-actions[bot] almost 2 years ago
mapExchange
, which replaces errorExchange
, allowing onOperation
and onResult
to be called to either react to or replace operations and results. For backwards compatibility, this exchange is also exported as errorExchange
and supports onError
, by @kitten (See #2846)Variables
generics over from object
default to Variables 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 the object
default is incompatible with AnyVariables
, by @kitten (See #2843)stringifyDocument
in place of repeated print
. This will mean that we now prevent calling print
repeatedly for identical operations and are instead only reusing the result once.@urql/core
has printed, by @kitten (See #2847)wonka@^6.1.2
to fix memory leak in fetch
caused in Node.js by a lack of clean up after initiating a request, by @kitten (See #2850)Published by github-actions[bot] almost 2 years ago
Variables
generics over from object
default to Variables 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 the object
default is incompatible with AnyVariables
, by @kitten (See #2843)Published by urql-ci almost 2 years ago
Published by urql-ci almost 2 years ago