Mirror: The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.

Version Packages (#2710)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

authored by

urql-ci
github-actions[bot]
and committed by
GitHub
024524cf ecfbf8bf

+25 -40
-5
.changeset/beige-paws-draw.md
··· 1 - --- 2 - '@urql/core': patch 3 - --- 4 - 5 - Fix `ssrExchange` bug which prevented `staleWhileRevalidate` from sending off requests as network-only requests, and caused unrelated `network-only` operations to be dropped.
-5
.changeset/few-worms-deny.md
··· 1 - --- 2 - '@urql/core': patch 3 - --- 4 - 5 - Allow URL limit for GET requests to be bypassed using `preferGetMethod: 'force'` rather than the default `true` or `'within-url-limit'` value.
-5
.changeset/good-kids-sleep.md
··· 1 - --- 2 - '@urql/exchange-graphcache': patch 3 - --- 4 - 5 - Preserve the original `DocumentNode` AST when updating the cache, to prevent results after a network request from differing and breaking referential equality due to added `__typename` fields.
-5
.changeset/lovely-monkeys-wink.md
··· 1 - --- 2 - '@urql/exchange-graphcache': patch 3 - --- 4 - 5 - Fix optimistic mutations containing partial results (`undefined` fields), which previously actually caused a hidden cache miss, which may then affect a subsequent non-optimistic mutation result.
-5
.changeset/smart-pears-sing.md
··· 1 - --- 2 - '@urql/exchange-graphcache': patch 3 - --- 4 - 5 - Prevent cache misses from causing infinite network requests from being issued, when two operations manipulate each other while experiencing cache misses or are partially uncacheable.
-7
.changeset/stupid-rules-mix.md
··· 1 - --- 2 - '@urql/core': patch 3 - '@urql/exchange-graphcache': patch 4 - --- 5 - 6 - Fix operation identities preventing users from deeply cloning operation contexts. Instead, we now use a client-wide counter (rolling over as needed). 7 - While this changes an internal data structure in `@urql/core` only, this change also affects the `offlineExchange` in `@urql/exchange-graphcache` due to it relying on the identity being previously an object rather than an integer.
-5
.changeset/twelve-beds-appear.md
··· 1 - --- 2 - '@urql/exchange-graphcache': patch 3 - --- 4 - 5 - Fix referential equality preservation in Graphcache failing after API results, due to a typo writing the API result rather than the updated cache result.
+13
exchanges/graphcache/CHANGELOG.md
··· 1 1 # @urql/exchange-graphcache 2 2 3 + ## 5.0.2 4 + 5 + ### Patch Changes 6 + 7 + - Preserve the original `DocumentNode` AST when updating the cache, to prevent results after a network request from differing and breaking referential equality due to added `__typename` fields, by [@kitten](https://github.com/kitten) (See [#2736](https://github.com/FormidableLabs/urql/pull/2736)) 8 + - ⚠️ Fix optimistic mutations containing partial results (`undefined` fields), which previously actually caused a hidden cache miss, which may then affect a subsequent non-optimistic mutation result, by [@kitten](https://github.com/kitten) (See [#2740](https://github.com/FormidableLabs/urql/pull/2740)) 9 + - Prevent cache misses from causing infinite network requests from being issued, when two operations manipulate each other while experiencing cache misses or are partially uncacheable, by [@kitten](https://github.com/kitten) (See [#2737](https://github.com/FormidableLabs/urql/pull/2737)) 10 + - ⚠️ Fix operation identities preventing users from deeply cloning operation contexts. Instead, we now use a client-wide counter (rolling over as needed). 11 + While this changes an internal data structure in `@urql/core` only, this change also affects the `offlineExchange` in `@urql/exchange-graphcache` due to it relying on the identity being previously an object rather than an integer, by [@kitten](https://github.com/kitten) (See [#2732](https://github.com/FormidableLabs/urql/pull/2732)) 12 + - ⚠️ Fix referential equality preservation in Graphcache failing after API results, due to a typo writing the API result rather than the updated cache result, by [@kitten](https://github.com/kitten) (See [#2741](https://github.com/FormidableLabs/urql/pull/2741)) 13 + - Updated dependencies (See [#2691](https://github.com/FormidableLabs/urql/pull/2691), [#2692](https://github.com/FormidableLabs/urql/pull/2692), and [#2732](https://github.com/FormidableLabs/urql/pull/2732)) 14 + - @urql/core@3.0.4 15 + 3 16 ## 5.0.1 4 17 5 18 ### Patch Changes
+2 -2
exchanges/graphcache/package.json
··· 1 1 { 2 2 "name": "@urql/exchange-graphcache", 3 - "version": "5.0.1", 3 + "version": "5.0.2", 4 4 "description": "A normalized and configurable cache exchange for urql", 5 5 "sideEffects": false, 6 6 "homepage": "https://formidable.com/open-source/urql/docs/graphcache", ··· 65 65 "preset": "../../scripts/jest/preset" 66 66 }, 67 67 "dependencies": { 68 - "@urql/core": ">=3.0.0", 68 + "@urql/core": ">=3.0.4", 69 69 "wonka": "^6.0.0" 70 70 }, 71 71 "peerDependencies": {
+9
packages/core/CHANGELOG.md
··· 1 1 # @urql/core 2 2 3 + ## 3.0.4 4 + 5 + ### Patch Changes 6 + 7 + - ⚠️ Fix `ssrExchange` bug which prevented `staleWhileRevalidate` from sending off requests as network-only requests, and caused unrelated `network-only` operations to be dropped, by [@kitten](https://github.com/kitten) (See [#2691](https://github.com/FormidableLabs/urql/pull/2691)) 8 + - Allow URL limit for GET requests to be bypassed using `preferGetMethod: 'force'` rather than the default `true` or `'within-url-limit'` value, by [@kitten](https://github.com/kitten) (See [#2692](https://github.com/FormidableLabs/urql/pull/2692)) 9 + - ⚠️ Fix operation identities preventing users from deeply cloning operation contexts. Instead, we now use a client-wide counter (rolling over as needed). 10 + While this changes an internal data structure in `@urql/core` only, this change also affects the `offlineExchange` in `@urql/exchange-graphcache` due to it relying on the identity being previously an object rather than an integer, by [@kitten](https://github.com/kitten) (See [#2732](https://github.com/FormidableLabs/urql/pull/2732)) 11 + 3 12 ## 3.0.3 4 13 5 14 ### Patch Changes
+1 -1
packages/core/package.json
··· 1 1 { 2 2 "name": "@urql/core", 3 - "version": "3.0.3", 3 + "version": "3.0.4", 4 4 "description": "The shared core for the highly customizable and versatile GraphQL client", 5 5 "sideEffects": false, 6 6 "homepage": "https://formidable.com/open-source/urql/docs/",