Releases: urql-graphql/urql
Releases · urql-graphql/urql
@urql/[email protected]
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 theextract-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]
- @urql/[email protected]
@urql/[email protected]
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]
- 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]
@urql/[email protected]
- Bumps the
@urql/core
dependency minor version to ^1.10.1 for React, Preact and Svelte, by @JoviDeCroock (See #623) - Updated dependencies (See #621)
- @urql/[email protected]
@urql/[email protected]
- Bumps the
@urql/core
dependency minor version to ^1.10.1 for React, Preact and Svelte, by @JoviDeCroock (See #623) - Updated dependencies (See #621)
- @urql/[email protected]
@urql/[email protected]
⚠️ 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]
@urql/[email protected]
- Add a guard to "maskTypenames" so a null value isn't considered an object, by @JoviDeCroock (See #621)
@urql/[email protected]
[email protected]
[email protected]
Patch Changes
- Pass the
Client
down inwithUrqlClient.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)