diff --git a/.changeset/gorgeous-experts-live.md b/.changeset/gorgeous-experts-live.md deleted file mode 100644 index 2d2f5bdc09..0000000000 --- a/.changeset/gorgeous-experts-live.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@urql/exchange-graphcache": patch ---- - -Apply [`bivarianceHack`](https://stackoverflow.com/questions/52667959/what-is-the-purpose-of-bivariancehack-in-typescript-types) in the `graphcache` types to better support code-generated configs. diff --git a/.changeset/grumpy-dogs-allow.md b/.changeset/grumpy-dogs-allow.md deleted file mode 100644 index 7bf99bdf18..0000000000 --- a/.changeset/grumpy-dogs-allow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'urql': patch ---- - -Fix issue with `useQuery`'s `executeQuery` state updates, where some calls wouldn't trigger a source change and start a request when the hook was paused. diff --git a/.changeset/khaki-guests-hope.md b/.changeset/khaki-guests-hope.md deleted file mode 100644 index daff5ae864..0000000000 --- a/.changeset/khaki-guests-hope.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@urql/vue': patch ---- - -Use client.executeMutation rather than client.mutation in useMutation diff --git a/.changeset/loud-ghosts-sparkle.md b/.changeset/loud-ghosts-sparkle.md deleted file mode 100644 index 476787c21e..0000000000 --- a/.changeset/loud-ghosts-sparkle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@urql/svelte': patch ---- - -Improve `OperationStore` and `subscription` types to allow for result types of `data` that differ from the original `Data` type, which may be picked up from `TypedDocumentNode`. diff --git a/.changeset/popular-sheep-itch.md b/.changeset/popular-sheep-itch.md deleted file mode 100644 index 9f50a4c64c..0000000000 --- a/.changeset/popular-sheep-itch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@urql/svelte': patch ---- - -Use client.executeMutation rather than client.mutation diff --git a/.changeset/smooth-hounds-battle.md b/.changeset/smooth-hounds-battle.md deleted file mode 100644 index 87622f7256..0000000000 --- a/.changeset/smooth-hounds-battle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@urql/core': patch ---- - -Prevent stale results from being emitted by promisified query sources, e.g. `client.query(...).toPromise()` yielding a partial result with `stale: true` set. Instead, `.toPromise()` will now filter out stale results. diff --git a/exchanges/graphcache/CHANGELOG.md b/exchanges/graphcache/CHANGELOG.md index 16cb950a34..a59153b4e7 100644 --- a/exchanges/graphcache/CHANGELOG.md +++ b/exchanges/graphcache/CHANGELOG.md @@ -1,5 +1,13 @@ # @urql/exchange-graphcache +## 4.1.4 + +### Patch Changes + +- Apply [`bivarianceHack`](https://stackoverflow.com/questions/52667959/what-is-the-purpose-of-bivariancehack-in-typescript-types) in the `graphcache` types to better support code-generated configs, by [@JoviDeCroock](https://github.com/JoviDeCroock) (See [#1687](https://github.com/FormidableLabs/urql/pull/1687)) +- Updated dependencies (See [#1709](https://github.com/FormidableLabs/urql/pull/1709)) + - @urql/core@2.1.4 + ## 4.1.3 ### Patch Changes diff --git a/exchanges/graphcache/package.json b/exchanges/graphcache/package.json index dc6c2723d8..f757ae8822 100644 --- a/exchanges/graphcache/package.json +++ b/exchanges/graphcache/package.json @@ -1,6 +1,6 @@ { "name": "@urql/exchange-graphcache", - "version": "4.1.3", + "version": "4.1.4", "description": "A normalized and configurable cache exchange for urql", "sideEffects": false, "homepage": "https://formidable.com/open-source/urql/docs/graphcache", @@ -65,7 +65,7 @@ "preset": "../../scripts/jest/preset" }, "dependencies": { - "@urql/core": ">=2.1.3", + "@urql/core": ">=2.1.4", "wonka": "^4.0.14" }, "peerDependencies": { diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index b95512522a..546814cba7 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,11 @@ # @urql/core +## 2.1.4 + +### Patch Changes + +- Prevent stale results from being emitted by promisified query sources, e.g. `client.query(...).toPromise()` yielding a partial result with `stale: true` set. Instead, `.toPromise()` will now filter out stale results, by [@kitten](https://github.com/kitten) (See [#1709](https://github.com/FormidableLabs/urql/pull/1709)) + ## 2.1.3 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index ed6c88662b..61bb82e437 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@urql/core", - "version": "2.1.3", + "version": "2.1.4", "description": "The shared core for the highly customizable and versatile GraphQL client", "sideEffects": false, "homepage": "https://formidable.com/open-source/urql/docs/", diff --git a/packages/react-urql/CHANGELOG.md b/packages/react-urql/CHANGELOG.md index 58bef6ab52..d2ee403faa 100644 --- a/packages/react-urql/CHANGELOG.md +++ b/packages/react-urql/CHANGELOG.md @@ -1,5 +1,13 @@ # urql +## 2.0.4 + +### Patch Changes + +- ⚠️ Fix issue with `useQuery`'s `executeQuery` state updates, where some calls wouldn't trigger a source change and start a request when the hook was paused, by [@kitten](https://github.com/kitten) (See [#1722](https://github.com/FormidableLabs/urql/pull/1722)) +- Updated dependencies (See [#1709](https://github.com/FormidableLabs/urql/pull/1709)) + - @urql/core@2.1.4 + ## 2.0.3 ### Patch Changes diff --git a/packages/react-urql/package.json b/packages/react-urql/package.json index b4405a7185..2c94cccf1b 100644 --- a/packages/react-urql/package.json +++ b/packages/react-urql/package.json @@ -1,6 +1,6 @@ { "name": "urql", - "version": "2.0.3", + "version": "2.0.4", "description": "A highly customizable and versatile GraphQL client for React", "sideEffects": false, "homepage": "https://formidable.com/open-source/urql/docs/", @@ -59,7 +59,7 @@ "react": ">= 16.8.0" }, "dependencies": { - "@urql/core": "^2.1.0", + "@urql/core": "^2.1.4", "wonka": "^4.0.14" } } diff --git a/packages/svelte-urql/CHANGELOG.md b/packages/svelte-urql/CHANGELOG.md index f169309e27..0f07fe665d 100644 --- a/packages/svelte-urql/CHANGELOG.md +++ b/packages/svelte-urql/CHANGELOG.md @@ -1,5 +1,14 @@ # @urql/svelte +## 1.2.3 + +### Patch Changes + +- Improve `OperationStore` and `subscription` types to allow for result types of `data` that differ from the original `Data` type, which may be picked up from `TypedDocumentNode`, by [@kitten](https://github.com/kitten) (See [#1731](https://github.com/FormidableLabs/urql/pull/1731)) +- Use client.executeMutation rather than client.mutation, by [@JoviDeCroock](https://github.com/JoviDeCroock) (See [#1732](https://github.com/FormidableLabs/urql/pull/1732)) +- Updated dependencies (See [#1709](https://github.com/FormidableLabs/urql/pull/1709)) + - @urql/core@2.1.4 + ## 1.2.2 ### Patch Changes diff --git a/packages/svelte-urql/package.json b/packages/svelte-urql/package.json index 0cc03a6bbc..fe1e136578 100644 --- a/packages/svelte-urql/package.json +++ b/packages/svelte-urql/package.json @@ -1,6 +1,6 @@ { "name": "@urql/svelte", - "version": "1.2.2", + "version": "1.2.3", "description": "A highly customizable and versatile GraphQL client for Svelte", "sideEffects": false, "homepage": "https://formidable.com/open-source/urql/docs/", @@ -55,7 +55,7 @@ "svelte": "^3.0.0" }, "dependencies": { - "@urql/core": "^2.1.0", + "@urql/core": "^2.1.4", "wonka": "^4.0.14" }, "devDependencies": { diff --git a/packages/vue-urql/CHANGELOG.md b/packages/vue-urql/CHANGELOG.md index c6624e7e24..028cb474e8 100644 --- a/packages/vue-urql/CHANGELOG.md +++ b/packages/vue-urql/CHANGELOG.md @@ -1,5 +1,13 @@ # @urql/vue +## 0.4.1 + +### Patch Changes + +- Use client.executeMutation rather than client.mutation in useMutation, by [@JoviDeCroock](https://github.com/JoviDeCroock) (See [#1680](https://github.com/FormidableLabs/urql/pull/1680)) +- Updated dependencies (See [#1709](https://github.com/FormidableLabs/urql/pull/1709)) + - @urql/core@2.1.4 + ## 0.4.0 ### Minor Changes diff --git a/packages/vue-urql/package.json b/packages/vue-urql/package.json index bfbbabd7c7..cffbedb907 100644 --- a/packages/vue-urql/package.json +++ b/packages/vue-urql/package.json @@ -1,6 +1,6 @@ { "name": "@urql/vue", - "version": "0.4.0", + "version": "0.4.1", "description": "A highly customizable and versatile GraphQL client for vue", "sideEffects": false, "homepage": "https://formidable.com/open-source/urql/docs/", @@ -59,7 +59,7 @@ "vue": "^3.0.0" }, "dependencies": { - "@urql/core": "^2.1.0", + "@urql/core": "^2.1.4", "wonka": "^4.0.14" }, "publishConfig": {