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 hidden (Show)

urql -

Published by kitten over 4 years ago

Patch Changes

  • Add a "./package.json" entry to the package.json's "exports" field for Node 14. This seems to be required by packages like rollup-plugin-svelte to function properly, by @JoviDeCroock (See #771)
  • Updated dependencies (See #771)
urql -

Published by kitten over 4 years ago

  • Add a "./package.json" entry to the package.json's "exports" field for Node 14. This seems to be required by packages like rollup-plugin-svelte to function properly, by @JoviDeCroock (See #771)
  • Updated dependencies (See #771)
urql -

Published by kitten over 4 years ago

Patch Changes

  • Add a "./package.json" entry to the package.json's "exports" field for Node 14. This seems to be required by packages like rollup-plugin-svelte to function properly, by @JoviDeCroock (See #771)
  • ⚠️ Fix traversal issue, where when a prior selection set has set a nested result field to null, a subsequent traversal of this field attempts to access prevData on null, by @kitten (See #772)
  • Updated dependencies (See #771 and #771)
urql -

Published by kitten over 4 years ago

Patch Changes

  • Add a "./package.json" entry to the package.json's "exports" field for Node 14. This seems to be required by packages like rollup-plugin-svelte to function properly, by @JoviDeCroock (See #771)
urql -

Published by kitten over 4 years ago

Patch Changes

  • ⚠️ Fix persistedFetchExchange not sending the SHA256 hash extension after a cache miss (PersistedQueryNotFound error), by @kitten (See #766)
urql -

Published by kitten over 4 years ago

This release heavily improves on the intuitiveness of how Optimistic Updates work. It ensures that
optimistic updates aren't accidentally discarded, by temporarily blocking some refetches when
necessary. It also prevents optimistic mutation updates from becoming permanent, which could
previously happen if an updater read optimistic data and rewrote it again. This isn't possible
anymore as mutation results are applied as a batch.

Minor Changes

  • Implement refetch blocking for queries that are affected by optimistic update. When a query would normally be refetched, either because it was partial or a cache-and-network operation, we now wait if it touched optimistic data for that optimistic mutation to complete. This prevents optimistic update data from unexpectedly disappearing, by @kitten (See #750)
  • Implement optimistic mutation result flushing. Mutation results for mutation that have had optimistic updates will now wait for all optimistic mutations to complete at the same time before being applied to the cache. This sometimes does delay cache updates to until after multiple mutations have completed, but it does prevent optimistic data from being accidentally committed permanently, which is more intuitive, by @kitten (See #750)

Patch Changes

  • Adjust mutation results priority to always override query results as they arrive, similarly to subscriptions. This will prevent race conditions when mutations are slow to execute at the cost of some consistency, by @kitten (See #745)
  • Improve warning and error console output in development by cleaning up the GraphQL trace stack, by @JoviDeCroock (See #751)
urql -

Published by kitten over 4 years ago

Patch Changes

  • Update mutate helper to return a Promise directly rather than a lazy Promise-like object, by @JoviDeCroock (See #758)
urql -

Published by kitten over 4 years ago

This is the initial release of @urql/exchange-persisted-fetch which adds Persisted Queries
support, and is an exchange that can be used alongside the default fetchExchange or
@urql/exchange-multipart-fetch.

It's still experimental, just like @urql/exchange-multipart-fetch, so please test it with care and
report any bugs you find.

urql -

Published by kitten over 4 years ago

Patch Changes

  • Hoist variables in unminified build output for Metro Bundler builds which otherwise fails for process.env.NODE_ENV if-clauses, by @kitten (See #737)
  • Add a babel-plugin that removes empty imports from the final build output, by @JoviDeCroock (See #735)
urql -

Published by kitten over 4 years ago

Patch Changes

Sorry for the many updates; Please only upgrade to >=1.11.4 and don't use the deprecated 1.11.3
and 1.11.2 release.

  • ⚠️ Fix nested package path for @urql/core/internal and @urql/exchange-graphcache/extras, by @kitten (See #734)
urql -

Published by kitten over 4 years ago

Patch Changes

Sorry for the many updates; Please only upgrade to >=1.11.4 and don't use the deprecated 1.11.3
and 1.11.2 release.

  • ⚠️ Fix nested package path for @urql/core/internal and @urql/exchange-graphcache/extras, by @kitten (See #734)
urql -

Published by kitten over 4 years ago

Patch Changes

  • ⚠️ Fix missing @urql/core/internal entrypoint in the npm-release, which was previously not included, by @JoviDeCroock (See #731)
urql -

Published by kitten over 4 years ago

Patch Changes

  • ⚠️ Fix data persistence for embedded fields, by @kitten (See #727)
urql -

Published by kitten over 4 years ago

Patch Changes

  • Bump @urql/core to ensure exchanges have dispatchDebug, this could formerly result in a crash, by @JoviDeCroock (See #726)
urql -

Published by kitten over 4 years ago

Patch Changes

  • Bump @urql/core to ensure exchanges have dispatchDebug, this could formerly result in a crash, by @JoviDeCroock (See #726)
urql -

Published by kitten over 4 years ago

Patch Changes

  • Bump @urql/core to ensure exchanges have dispatchDebug, this could formerly result in a crash, by @JoviDeCroock (See #726)
urql -

Published by kitten over 4 years ago

Patch Changes

urql -

Published by kitten over 4 years ago

Patch Changes

urql -

Published by kitten over 4 years ago

Patch Changes

urql -

Published by kitten over 4 years ago

Minor Changes

  • Add debugging events to exchanges that add more detailed information on what is happening
    internally, which will be displayed by devtools like the urql Chrome / Firefox extension, by @andyrichardson (See #608)
  • Add @urql/core/internal entrypoint for internally shared utilities and start sharing fetchExchange-related code, by @kitten (See #722)