Releases: urql-graphql/urql
Releases · urql-graphql/urql
@urql/[email protected]
[email protected]
Patch Changes
- Remove type import from internal urql package file that has been removed, by @parkerziegler (See #557)
- Ensure empty object gets returned in withUrqlClient's getInitialProps. Update next-urql examples to run in the urql monorepo, by @parkerziegler (See #563)
@urql/[email protected]
Initial Alpha Release
@urql/[email protected]
Initial release
- Moved the
populateExchange
from@urql/exchange-graphcache
to its own package.
@urql/[email protected]
Minor Changes
- Add
cache.invalidate
to invalidate an entity directly to remove it from the cache and all subsequent cache results, e.g.cache.invalidate({ __typename: 'Todo', id: 1 })
, by @JoviDeCroock (See #566)
Patch Changes
⚠️ Fixcache-only
operations being forwarded and triggering fetch requests, by @JoviDeCroock (See #551)- Apply Query results in-order and commutatively even when results arrive out-of-order, by @kitten (See #565)
- Updated dependencies (See #551, #542, and #544)
- @urql/[email protected]
@urql/[email protected]
Patch Changes
⚠️ Fixcache-only
operations being forwarded and triggering fetch requests, by @JoviDeCroock (See #551)- Adds a one-tick delay to the subscriptionExchange to prevent unnecessary early tear downs, by @JoviDeCroock (See #542)
- Add enableAllOperations option to subscriptionExchange to let it handle queries and mutations as well, by @kitten (See #544)
[email protected]
Patch Changes
⚠️ Fix more concurrent-mode and strict-mode edge cases and bugs by switching to useSubscription. (See #514)⚠️ Fix client-side suspense support (as minimally as possible) by altering
the useBehaviourSubject behaviour. (See #512)- Updated dependencies (See #533, #519, #515, #512, and #518)
- @urql/[email protected]
@urql/[email protected]
@urql/[email protected]
@urql/[email protected]
Patch Changes
- Update the
updater
function type ofcache.updateQuery
to have a return type ofDataFields
so that__typename
does not need to be defined, by @JoviDeCroock (See #538) ⚠️ Fix updates not being triggered when optimistic updates diverge from the actual result. (See #160)- Refactor away SchemaPredicates helper to reduce bundlesize. (See #161)
- Ensure that pagination helpers don't confuse pages that have less params with a
query that has more params. (See #156) - Updated dependencies (See #533, #519, #515, #512, and #518)
- @urql/[email protected]