urql

The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.

MIT License

Downloads
11.4M
Stars
8.5K
Committers
249

Bot releases are visible (Hide)

urql - @urql/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • Publish with npm provenance
    Submitted by @kitten (See #3180)
urql - @urql/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • Publish with npm provenance
    Submitted by @kitten (See #3180)
urql - @urql/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • Publish with npm provenance
    Submitted by @kitten (See #3180)
urql - @urql/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • Publish with npm provenance
    Submitted by @kitten (See #3180)
urql - @urql/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • Publish with npm provenance
    Submitted by @kitten (See #3180)
urql - @urql/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • Publish with npm provenance
    Submitted by @kitten (See #3180)
urql - @urql/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • Handle multipart/mixed variations starting with boundary rather than CRLF and a boundary
    Submitted by @kitten (See #3172)
  • ⚠️ Fix regression which would disallow network-only operations after cache-and-network completed
    Submitted by @kitten (See #3174)
urql - @urql/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • ⚠️ Fix operations created by utilities.mutate() erroneously being retried and sent again like a regular operation
    Submitted by @JoviDeCroock (See #3164)
urql - @urql/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • Prevent reusal of incoming API data in Graphcache’s produced (“owned”) data. This prevents us from copying the __typename and other superfluous fields
    Submitted by @kitten (See #3165)
  • ⚠️ Fix regression which caused @defer directives from becoming “sticky” and causing every subsequent cache read to be treated as if the field was deferred
    Submitted by @kitten (See #3167)
  • Apply hasNext: true and fallthrough logic to cached queries that contain deferred, uncached fields. Deferred query results will now be fetched against the API correctly, even if prior requests have been incomplete
    Submitted by @kitten (See #3163)
  • ⚠️ Fix offlineExchange duplicating offline mutations in failed queue
    Submitted by @kitten (See #3158)
urql - @urql/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • Replace File and Blob objects with null in variables if multipart request will be started
    Submitted by @kitten (See #3169)
  • Strictly deduplicate cache-and-network and network-only operations, while a non-stale response is being waited for
    Submitted by @kitten (See #3157)
  • ⚠️ Fix boundary stopping multipart/mixed streams when it randomly occurs in response payloads
    Submitted by @kitten (See #3155)
  • Improve dispatching of arbitrary operations using reexecuteOperation
    Submitted by @kitten (See #3159)
urql - @urql/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • ⚠️ Fix hasNext being defaulted to false when a new subscription event is received on the subscriptionExchange that doesn't have hasNext set
    Submitted by @kitten (See #3137)
urql - @urql/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • Handle fetch rejections in makeFetchSource and properly hand them over to CombinedErrors
    Submitted by @kitten (See #3131)
urql - @urql/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • ⚠️ Fix incremental delivery payloads not merging data correctly, or not handling patches on root
    results
    Submitted by @kitten (See #3124)
urql - @urql/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • ⚠️ Fix format of map form data field on multipart upload requests. This was erroneously set to a string rather than a string tuple
    Submitted by @kitten (See #3118)
urql - @urql/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • Remove inclusion and usage of optional chaining operator
    Submitted by @kitten (See #3116)
urql - @urql/[email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

urql - [email protected]

Published by github-actions[bot] over 1 year ago

Major Changes

  • Remove the default Client from Context. Previously, urql kept a legacy default client in its context, with default exchanges and calling an API at /graphql. This has now been removed and you will have to create your own Client if you were relying on this behaviour
    Submitted by @JoviDeCroock (See #3033)

Minor Changes

  • Allow mutations to update their results in bindings when hasNext: true is set, which indicates deferred or streamed results
    Submitted by @kitten (See #3103)

Patch Changes

urql - @urql/[email protected]

Published by github-actions[bot] over 1 year ago

Major Changes

  • Update OperationResult.hasNext and OperationResult.stale to be required fields. If you have a custom exchange creating results, you'll have to add these fields or use the makeResult, mergeResultPatch, or makeErrorResult helpers
    Submitted by @kitten (See #3061)
  • Move handler, which combines subscription events, from mutationStore to subscriptionStore. It’s accidentally been defined and implemented on the wrong store and was meant to be on subscriptionStore
    Submitted by @kitten (See #3078)

Minor Changes

  • Allow mutations to update their results in bindings when hasNext: true is set, which indicates deferred or streamed results
    Submitted by @kitten (See #3103)

Patch Changes

urql - @urql/[email protected]

Published by github-actions[bot] over 1 year ago

Minor Changes

  • Update exchanges to drop redundant share calls, since @urql/core’s composeExchanges utility now automatically does so for us
    Submitted by @kitten (See #3082)

Patch Changes

urql - @urql/[email protected]

Published by github-actions[bot] over 1 year ago

Major Changes

  • Remove persistedFetchExchange and instead implement persistedExchange. This exchange must be placed in front of a terminating exchange (such as the default fetchExchange or a subscriptionExchange that supports persisted queries), and only modifies incoming operations to contain extensions.persistedQuery, which is sent on via the API. If the API expects Automatic Persisted Queries, requests are retried by this exchange internally
    Submitted by @kitten (See #3057)
  • Rename @urql/exchange-persisted-fetch to @urql/exchange-persisted
    Submitted by @kitten (See #3057)

Minor Changes

  • Update exchanges to drop redundant share calls, since @urql/core’s composeExchanges utility now automatically does so for us
    Submitted by @kitten (See #3082)

Patch Changes