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] Latest Release

Published by github-actions[bot] 6 months ago

Patch Changes

  • When invoking the automatic creation updater ignore the entity we are currently on in the mutation
    Submitted by @JoviDeCroock (See #3560)
urql - @urql/[email protected]

Published by github-actions[bot] 7 months ago

Patch Changes

urql - @urql/[email protected]

Published by github-actions[bot] 7 months ago

Patch Changes

urql - [email protected]

Published by github-actions[bot] 7 months ago

Patch Changes

urql - @urql/[email protected]

Published by github-actions[bot] 7 months ago

Patch Changes

urql - @urql/[email protected]

Published by github-actions[bot] 7 months ago

Major Changes

Patch Changes

  • Upgrade @0no-co/graphql.web to 1.0.5
    Submitted by @kitten (See #3553)
urql - @urql/[email protected]

Published by github-actions[bot] 7 months ago

Major Changes

  • Add a default updater for mutation fields who are lacking an updater and where the returned entity is not present in the cache
    Submitted by @JoviDeCroock (See #3518)
  • Remove deprecated resolveFieldByKey, use cache.resolve instead
    Submitted by @JoviDeCroock (See #3520)

Minor Changes

  • Track abstract types being written so that we have a more reliable way of matching abstract fragments
    Submitted by @JoviDeCroock (See #3548)

Patch Changes

urql - @urql/[email protected]

Published by github-actions[bot] 7 months ago

Minor Changes

  • Add option to enable persisted-operations for subscriptions
    Submitted by @JoviDeCroock (See #3549)
urql - @urql/[email protected]

Published by github-actions[bot] 7 months ago

Patch Changes

  • ⚠️ Fix invalidate not applying when using a string to invalidate an entity
    Submitted by @JoviDeCroock (See #3544)
urql - @urql/[email protected]

Published by github-actions[bot] 7 months ago

Minor Changes

  • Change the request-policy exchange not to rely on OperationMeta set by the cache exchanges
    Submitted by @JoviDeCroock (See #3521)
urql - @urql/[email protected]

Published by github-actions[bot] 8 months ago

Minor Changes

  • Support Apollo Federation's format for subscription results in multipart/mixed responses (result properties essentially are namespaced on a payload key)
    Submitted by @JoviDeCroock (See #3499)
  • Add support for sending persisted documents. Any DocumentNode with no/empty definitions and a documentId property is considered a persisted document. When this is detected a documentId parameter rather than a query string is sent to the GraphQL API, similar to Automatic Persisted Queries (APQs). However, APQs are only supported via @urql/exchange-persisted, while support for documentId is now built-in
    Submitted by @kitten (See #3515)

Patch Changes

  • Allow url to be a plain, non-URL pathname (i.e. /api/graphql) to be used with preferGetMethod
    Submitted by @akrantz01 (See #3514)
  • Correctly support the Headers class being used in fetchOptions
    Submitted by @JoviDeCroock (See #3505)
urql - @urql/[email protected]

Published by github-actions[bot] 8 months ago

Minor Changes

Patch Changes

urql - @urql/[email protected]

Published by github-actions[bot] 8 months ago

Minor Changes

  • Allow @_optional and @_required to be placed on fragment definitions and inline fragments
    Submitted by @JoviDeCroock (See #3502)
  • Track list of entity keys for a given type name. This enables enumerating and invalidating all entities of a given type within the normalized cache
    Submitted by @JoviDeCroock (See #3501)

Patch Changes

  • Prevent @defer from being applied in child field selections. Previously, a child field (i.e. a nested field) under a @defer-ed fragment would also become optional, which was based on a prior version of the DeferStream spec which didn't require deferred fields to be delivered as a group
    Submitted by @kitten (See #3517)
  • ⚠️ Fix store.resolve() returning the exact link array that’s used by the cache. This can lead to subtle bugs when a user mutates the result returned by cache.resolve(), since this directly mutates what’s in the cache at that layer
    Submitted by @kitten (See #3516)
  • Updated dependencies (See #3514, #3505, #3499, and #3515)
urql - @urql/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • Set stale: true on cache results, even if a reexecution has been blocked by the loop protection, if the operation is already pending and in-flight
    Submitted by @kitten (See #3493)
  • ⚠️ Fix @defer state leaking into following operations
    Submitted by @kitten (See #3497)
urql - @urql/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • ⚠️ Fix CVE-2024-24556, addressing an XSS vulnerability, where @urql/next failed to escape HTML characters in JSON payloads injected into RSC hydration bodies. When an attacker is able to manipulate strings in the JSON response in RSC payloads, this could cause HTML to be evaluated via a typical XSS vulnerability (See GHSA-qhjf-hm5j-335w for details.)
    Submitted by @JoviDeCroock (See 4b7011b7)
urql - @urql/[email protected]

Published by github-actions[bot] 9 months ago

Minor Changes

  • Bump peer-dependency of @react-native-community/netinfo to allow v11
    Submitted by @albinhubsch (See #3485)
urql - @urql/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • ⚠️ Fix Any type being included, even when it isn’t needed
    Submitted by @kitten (See #3481)
urql - @urql/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • Add back our cache-outcome on the document-cache, this was behind a development flag however in our normalized cache we always add it already
    Submitted by @JoviDeCroock (See #3464)
urql - @urql/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes


Fixed the delay amount not increasing as retry count increases
Submitted by @DoisKoh (See #3478)

urql - @urql/[email protected]

Published by github-actions[bot] 10 months ago

Patch Changes

  • ⚠️ Fix the default cacheExchange crashing on cache-only request policies with cache misses due to undefined results
    Submitted by @JoviDeCroock (See #3459)