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 urql-ci over 3 years ago
ScalarObject
to account for custom scalar deserialization like Date
for DateTime
s, by @kitten (See #1648)Published by urql-ci over 3 years ago
Published by urql-ci over 3 years ago
Published by urql-ci over 3 years ago
Published by urql-ci over 3 years ago
@urql/[email protected]
that prevented concurrent operations from being dispatched with differing request policies, which for instance prevented the explicit executeQuery
calls on bindings to fail, by @kitten (See #1626)Published by github-actions[bot] over 3 years ago
@urql/introspection
's minifyIntrospectionQuery
allowing the inclusion of moreincludeScalars
, includeEnums
,includeInputs
, and includeDirectives
, by @kitten (See #1578)Published by github-actions[bot] over 3 years ago
cache.link(...)
method to Graphcache. This method may be used in updaters to update links in the cache. It is hence the writing-equivalent of cache.resolve()
, which previously didn't have any equivalent as such, which meant that only cache.updateQuery
or cache.writeFragment
could be used, even to update simple relations, by @JoviDeCroock (See #1551)cacheExchange
and offlineExchange
for future, experimental type-generation support, by @JoviDeCroock (See #1562)ScalarObject
from Graphcache which now is a more opaque type. We've also adjusted the NullArray
types to be potentially nested, since lists in GraphQL can be nested arbitarily, which we were covering but didn't reflect in our types, by @kitten (See #1591)null
even for non-nullable lists, when the entities are missing in the cache. This could happen when a resolver was added returning entities or their keys. This behaviour is now (correctly) only applied to partial results with schema awareness, by @JoviDeCroock (See #1566)Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Client
will now also avoid executing an operation if it's already active, has a previous result available, and is either run with the cache-first
or cache-only
request policies. This is similar to a "short circuiting" behavior, where unnecessary work is avoided by not issuing more operations into the exchange pipeline than expected, by @kitten (See #1600)Client
more forgiving when duplicatecache-and-network
; This was a rare use-case, and it isn't recommended to overfetchClient
implementation of shared sources ensures that when anClient
distributes the last known result for the active operation toPublished by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
useClientHandle()
function has been added. This creates a handle
on which all use*
hooks can be called, like await handle.useQuery(...)
or await handle.useSubscription(...)
which is useful for sequentially chaining hook calls in an async setup()
function or preserve the right instance of a Client
across lifecycle hooks, by @kitten (See #1599)Published by github-actions[bot] over 3 years ago