From 9920f96643920b0deca186ff7bcb8382f07cd730 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 31 Jan 2022 12:57:55 +0000 Subject: [PATCH] Version Packages --- .changeset/funny-pugs-tan.md | 5 ----- .changeset/shaggy-frogs-attack.md | 5 ----- packages/core/CHANGELOG.md | 6 ++++++ packages/core/package.json | 2 +- packages/react-urql/CHANGELOG.md | 8 ++++++++ packages/react-urql/package.json | 4 ++-- 6 files changed, 17 insertions(+), 13 deletions(-) delete mode 100644 .changeset/funny-pugs-tan.md delete mode 100644 .changeset/shaggy-frogs-attack.md diff --git a/.changeset/funny-pugs-tan.md b/.changeset/funny-pugs-tan.md deleted file mode 100644 index 1dc312dc6b..0000000000 --- a/.changeset/funny-pugs-tan.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'urql': patch ---- - -Update `useQuery` implementation to avoid an aborted render on initial mount. We abort a render-on-update once when the state needs to be updated according to the `OperationResult` source we need to listen to and execute. However, we can avoid this on the initial mount as we've done in a prior version. This fix **does not** change any of the current behaviour, but simply avoids the confusing state transition on mount. diff --git a/.changeset/shaggy-frogs-attack.md b/.changeset/shaggy-frogs-attack.md deleted file mode 100644 index 59d59bd5d5..0000000000 --- a/.changeset/shaggy-frogs-attack.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@urql/core': patch ---- - -Fix mutation operation being used as compared identity and instead add a stand-in comparison. diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index c892fa1fae..9e523f87bd 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,11 @@ # @urql/core +## 2.4.1 + +### Patch Changes + +- ⚠️ Fix mutation operation being used as compared identity and instead add a stand-in comparison, by [@kitten](https://github.com/kitten) (See [#2228](https://github.com/FormidableLabs/urql/pull/2228)) + ## 2.4.0 ### Minor Changes diff --git a/packages/core/package.json b/packages/core/package.json index b36701731b..ba7ab51c83 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@urql/core", - "version": "2.4.0", + "version": "2.4.1", "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 593a278a06..63bbea1775 100644 --- a/packages/react-urql/CHANGELOG.md +++ b/packages/react-urql/CHANGELOG.md @@ -1,5 +1,13 @@ # urql +## 2.1.2 + +### Patch Changes + +- Update `useQuery` implementation to avoid an aborted render on initial mount. We abort a render-on-update once when the state needs to be updated according to the `OperationResult` source we need to listen to and execute. However, we can avoid this on the initial mount as we've done in a prior version. This fix **does not** change any of the current behaviour, but simply avoids the confusing state transition on mount, by [@kitten](https://github.com/kitten) (See [#2227](https://github.com/FormidableLabs/urql/pull/2227)) +- Updated dependencies (See [#2228](https://github.com/FormidableLabs/urql/pull/2228)) + - @urql/core@2.4.1 + ## 2.1.1 ### Patch Changes diff --git a/packages/react-urql/package.json b/packages/react-urql/package.json index ff8e50354b..ea3feb96e2 100644 --- a/packages/react-urql/package.json +++ b/packages/react-urql/package.json @@ -1,6 +1,6 @@ { "name": "urql", - "version": "2.1.1", + "version": "2.1.2", "description": "A highly customizable and versatile GraphQL client for React", "sideEffects": false, "homepage": "https://formidable.com/open-source/urql/docs/", @@ -60,7 +60,7 @@ "react": ">= 16.8.0" }, "dependencies": { - "@urql/core": "^2.4.0", + "@urql/core": "^2.4.1", "use-sync-external-store": "1.0.0-rc.0 || ^1.0.0", "wonka": "^4.0.14" }