Skip to content

Releases: urql-graphql/urql

@urql/[email protected]

18 Mar 21:59
6c9869e
Compare
Choose a tag to compare

Patch Changes

  • ⚠️ Fix critical ordering bug in commutative queries and mutations. Subscriptions and queries would ad-hoc be receiving an empty optimistic layer accidentally. This leads to subscription results potentially being cleared, queries from being erased on a second write, and layers from sticking around on every second write or indefinitely. This affects versions > 2.2.2 so please upgrade!, by @kitten (See #638)
  • ⚠️ Fix multipart conversion, in the extract-files dependency (used by multipart-fetch) there is an explicit check for the constructor property of an object. This made the files unretrievable, by @JoviDeCroock (See #639)
  • ⚠️ Fix Node.js Module support for v13 (experimental-modules) and v14. If your bundler doesn't support
    .mjs files and fails to resolve the new version, please double check your configuration for
    Webpack, or similar tools, by @JoviDeCroock (See #637)
  • Updated dependencies (See #637)

@urql/[email protected]

18 Mar 21:59
6c9869e
Compare
Choose a tag to compare

Patch Changes

  • ⚠️ Fix Node.js Module support for v13 (experimental-modules) and v14. If your bundler doesn't support
    .mjs files and fails to resolve the new version, please double check your configuration for
    Webpack, or similar tools, by @JoviDeCroock (See #637)

[email protected]

17 Mar 18:40
12f40a2
Compare
Choose a tag to compare
  • Bumps the @urql/core dependency minor version to ^1.10.1 for React, Preact and Svelte, by @JoviDeCroock (See #623)
  • Avoid React v16.13.0's "Warning: Cannot update a component" by preventing cross-hook updates during render or initial mount, by @kitten (See #630)
  • Updated dependencies (See #621)

@urql/[email protected]

17 Mar 18:40
12f40a2
Compare
Choose a tag to compare

@urql/[email protected]

17 Mar 18:39
12f40a2
Compare
Choose a tag to compare

@urql/[email protected]

17 Mar 18:39
12f40a2
Compare
Choose a tag to compare
  • ⚠️ Fix cache.inspectFields causing an undefined error for uninitialised or cleared commutative layers, by @kitten (See #626)
  • Improve Store constructor to accept an options object instead of separate arguments, identical to the cacheExchange options. (This is a patch, not a minor, since we consider Store part of the private API), by @kitten (See #622)
  • Allow a single field to be invalidated using cache.invalidate using two additional arguments, similar to store.resolve; This is a very small addition, so it's marked as a patch, by @kitten (See #627)
  • Prevent variables from being filtered and queries from being altered before they're forwarded, which prevented additional untyped variables from being used inside updater functions, by @kitten (See #629)
  • Expose generated result data on writeOptimistic and passthrough data on write operations, by @kitten (See #613)
  • Updated dependencies (See #621)

@urql/[email protected]

17 Mar 18:39
12f40a2
Compare
Choose a tag to compare
  • Add a guard to "maskTypenames" so a null value isn't considered an object, by @JoviDeCroock (See #621)

@urql/[email protected]

13 Mar 16:17
4c1a9c2
Compare
Choose a tag to compare

Patch Changes

  • Refactor parts of Graphcache for a minor performance boost and bundlesize reductions, by @kitten (See #611)

[email protected]

13 Mar 16:18
64d4664
Compare
Choose a tag to compare

Patch Changes

  • ⚠️ Fix Rollup bundle output being written to .es.js instead of .esm.js, by @kitten (See #609)

[email protected]

12 Mar 18:46
5fed46d
Compare
Choose a tag to compare

Patch Changes

  • Pass the Client down in withUrqlClient.getInitialProps to prevent it from being created twice, by @JoviDeCroock (See #589)
  • Add missing GraphQLError serialization for extensions and path field to ssrExchange, by @kitten (See #607)
  • Enable users to configure the suspense option and clean up suspense warning message, by @ryan-gilb (See #603)