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 - https://github.com/urql-graphql/urql/releases/tag/[email protected]

Published by github-actions[bot] almost 4 years ago

Patch Changes

  • ⚠️ Fix in edge-case in client-side React Suspense, where after suspending due to an update a new state value is given to useSource in a render update. This was previously then causing us to subscribe to an outdated source in useEffect since the updated source would be ignored by the time we reach useEffect in useSource, by @kitten (See #1157)
urql - https://github.com/urql-graphql/urql/releases/tag/@urql/[email protected]

Published by github-actions[bot] almost 4 years ago

Initial release

urql - https://github.com/urql-graphql/urql/releases/tag/@urql/[email protected]

Published by github-actions[bot] almost 4 years ago

Patch Changes

urql - https://github.com/urql-graphql/urql/releases/tag/@urql/[email protected]

Published by github-actions[bot] almost 4 years ago

Patch Changes

  • ⚠️ Fix regression in client-side Suspense behaviour. This has been fixed in [email protected] and @urql/[email protected] but regressed in the patches afterwards that were aimed at fixing server-side Suspense, by @kitten (See #1142)
urql - https://github.com/urql-graphql/urql/releases/tag/[email protected]

Published by github-actions[bot] almost 4 years ago

Patch Changes

  • ⚠️ Fix regression in client-side Suspense behaviour. This has been fixed in [email protected] and @urql/[email protected] but regressed in the patches afterwards that were aimed at fixing server-side Suspense, by @kitten (See #1142)
urql - https://github.com/urql-graphql/urql/releases/tag/@urql/[email protected]

Published by github-actions[bot] almost 4 years ago

Patch Changes

urql - https://github.com/urql-graphql/urql/releases/tag/@urql/[email protected]

Published by github-actions[bot] almost 4 years ago

Patch Changes

  • Export getOperationName from @urql/core and use it in @urql/exchange-execute, fixing several imports, by @JoviDeCroock (See #1135)
urql - https://github.com/urql-graphql/urql/releases/tag/@urql/[email protected]

Published by github-actions[bot] almost 4 years ago

Patch Changes

urql - https://github.com/urql-graphql/urql/releases/tag/[email protected]

Published by github-actions[bot] almost 4 years ago

Patch Changes

urql - https://github.com/urql-graphql/urql/releases/tag/@urql/[email protected]

Published by github-actions[bot] almost 4 years ago

Minor Changes

  • Add a second Operation input argument to the retryIf predicate, so that retrying can be actively avoided for specific types of operations, e.g. mutations or subscriptions, in certain user-defined cases, by @kitten (See #1117)

Patch Changes

urql - https://github.com/urql-graphql/urql/releases/tag/@urql/[email protected]

Published by github-actions[bot] almost 4 years ago

Minor Changes

  • Improve the Suspense implementation, which fixes edge-cases when Suspense is used with subscriptions, partially disabled, or used on the client-side. It has now been ensured that client-side suspense functions without the deprecated suspenseExchange and uncached results are loaded consistently. As part of this work, the Client itself does now never throw Suspense promises anymore, which is functionality that either way has no place outside of the React/Preact bindings, by @kitten (See #1123)

Patch Changes

  • Add support for TypedDocumentNode to infer the type of the OperationResult and Operation for all methods, functions, and hooks that either directly or indirectly accept a DocumentNode. See graphql-typed-document-node and the corresponding blog post for more information., by @kitten (See #1113)
  • Refactor useSource hooks which powers useQuery and useSubscription to improve various edge case behaviour. This will not change the behaviour of these hooks dramatically but avoid unnecessary state updates when any updates are obviously equivalent and the hook will furthermore improve continuation from mount to effects, which will fix cases where the state between the mounting and effect phase may slightly change, by @kitten (See #1104)
  • Updated dependencies (See #1119, #1113, #1104, and #1123)
urql - https://github.com/urql-graphql/urql/releases/tag/@urql/[email protected]

Published by github-actions[bot] almost 4 years ago

Patch Changes

    • Add @urql/devtools to @urql/storybook-addon. Previously it was not included (See #1092), but now the exchange works out of the box with Storybook, by @r281GQ (See #1112)
urql - https://github.com/urql-graphql/urql/releases/tag/[email protected]

Published by github-actions[bot] almost 4 years ago

Minor Changes

  • Improve the Suspense implementation, which fixes edge-cases when Suspense is used with subscriptions, partially disabled, or used on the client-side. It has now been ensured that client-side suspense functions without the deprecated suspenseExchange and uncached results are loaded consistently. As part of this work, the Client itself does now never throw Suspense promises anymore, which is functionality that either way has no place outside of the React/Preact bindings, by @kitten (See #1123)

Patch Changes

  • Add support for TypedDocumentNode to infer the type of the OperationResult and Operation for all methods, functions, and hooks that either directly or indirectly accept a DocumentNode. See graphql-typed-document-node and the corresponding blog post for more information., by @kitten (See #1113)
  • Refactor useSource hooks which powers useQuery and useSubscription to improve various edge case behaviour. This will not change the behaviour of these hooks dramatically but avoid unnecessary state updates when any updates are obviously equivalent and the hook will furthermore improve continuation from mount to effects, which will fix cases where the state between the mounting and effect phase may slightly change, by @kitten (See #1104)
  • Updated dependencies (See #1119, #1113, #1104, and #1123)
urql - https://github.com/urql-graphql/urql/releases/tag/@urql/[email protected]

Published by github-actions[bot] almost 4 years ago

Minor Changes

  • Improve the Suspense implementation, which fixes edge-cases when Suspense is used with subscriptions, partially disabled, or used on the client-side. It has now been ensured that client-side suspense functions without the deprecated suspenseExchange and uncached results are loaded consistently. As part of this work, the Client itself does now never throw Suspense promises anymore, which is functionality that either way has no place outside of the React/Preact bindings, by @kitten (See #1123)

Patch Changes

  • Use Record over object type for subscription operation variables. The object type is currently hard to use (see this issue), by @enisdenjo (See #1119)
  • Add support for TypedDocumentNode to infer the type of the OperationResult and Operation for all methods, functions, and hooks that either directly or indirectly accept a DocumentNode. See graphql-typed-document-node and the corresponding blog post for more information., by @kitten (See #1113)
  • Refactor useSource hooks which powers useQuery and useSubscription to improve various edge case behaviour. This will not change the behaviour of these hooks dramatically but avoid unnecessary state updates when any updates are obviously equivalent and the hook will furthermore improve continuation from mount to effects, which will fix cases where the state between the mounting and effect phase may slightly change, by @kitten (See #1104)
urql - https://github.com/urql-graphql/urql/releases/tag/@urql/[email protected]

Published by github-actions[bot] almost 4 years ago

Patch Changes

urql - https://github.com/urql-graphql/urql/releases/tag/@urql/[email protected]

Published by github-actions[bot] almost 4 years ago

Patch Changes

urql -

Published by kitten almost 4 years ago

Patch Changes

  • ⚠️ Fix a stray operationName deprecation warning in @urql/exchange-graphcache's exchange logic, which adds the meta.cacheOutcome field to the operation's context, by @kitten (See #1103)
urql -

Published by kitten almost 4 years ago

Patch Changes

  • ⚠️ Fix the production build overwriting the development build. Specifically in the previous release we mistakenly replaced all development bundles with production bundles. This doesn't have any direct influence on how these packages work, but prevented development warnings from being logged or full errors from being thrown, by @kitten (See #1097)
  • Updated dependencies
urql -

Published by kitten almost 4 years ago

Patch Changes

  • ⚠️ Fix the production build overwriting the development build. Specifically in the previous release we mistakenly replaced all development bundles with production bundles. This doesn't have any direct influence on how these packages work, but prevented development warnings from being logged or full errors from being thrown, by @kitten (See #1097)
urql -

Published by kitten almost 4 years ago

Patch Changes

  • ⚠️ Fix the production build overwriting the development build. Specifically in the previous release we mistakenly replaced all development bundles with production bundles. This doesn't have any direct influence on how these packages work, but prevented development warnings from being logged or full errors from being thrown, by @kitten (See #1097)
  • Updated dependencies (See #1097)