diff --git a/.changeset/three-pandas-invent.md b/.changeset/three-pandas-invent.md deleted file mode 100644 index f627978bfc..0000000000 --- a/.changeset/three-pandas-invent.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@urql/core': patch ---- - -Fix the default `cacheExchange` crashing on `cache-only` request policies with cache misses due to `undefined` results. diff --git a/examples/with-apq/package.json b/examples/with-apq/package.json index 07b40fcc2a..73fc2879a3 100644 --- a/examples/with-apq/package.json +++ b/examples/with-apq/package.json @@ -6,7 +6,7 @@ "start": "vite" }, "dependencies": { - "@urql/core": "^4.2.1", + "@urql/core": "^4.2.2", "@urql/exchange-persisted": "^4.1.1", "graphql": "^16.6.0", "react": "^18.2.0", diff --git a/examples/with-defer-stream-directives/package.json b/examples/with-defer-stream-directives/package.json index 4617dbff04..c44ccd988e 100644 --- a/examples/with-defer-stream-directives/package.json +++ b/examples/with-defer-stream-directives/package.json @@ -17,7 +17,7 @@ }, "dependencies": { "@graphql-yoga/plugin-defer-stream": "^1.7.1", - "@urql/core": "^4.2.1", + "@urql/core": "^4.2.2", "@urql/exchange-graphcache": "^6.4.0", "graphql": "17.0.0-alpha.2", "react": "^18.2.0", diff --git a/examples/with-graphcache-pagination/package.json b/examples/with-graphcache-pagination/package.json index 78ff15d84c..65385e9adb 100644 --- a/examples/with-graphcache-pagination/package.json +++ b/examples/with-graphcache-pagination/package.json @@ -6,7 +6,7 @@ "start": "vite" }, "dependencies": { - "@urql/core": "^4.2.1", + "@urql/core": "^4.2.2", "@urql/exchange-graphcache": "^6.4.0", "graphql": "^16.6.0", "react": "^18.2.0", diff --git a/examples/with-graphcache-updates/package.json b/examples/with-graphcache-updates/package.json index dc398d6708..9bda2982d0 100644 --- a/examples/with-graphcache-updates/package.json +++ b/examples/with-graphcache-updates/package.json @@ -6,7 +6,7 @@ "start": "vite" }, "dependencies": { - "@urql/core": "^4.2.1", + "@urql/core": "^4.2.2", "@urql/exchange-auth": "^2.1.6", "@urql/exchange-graphcache": "^6.4.0", "graphql": "^16.6.0", diff --git a/examples/with-infinite-pagination/package.json b/examples/with-infinite-pagination/package.json index b6ad60fcd8..d5b80f0d59 100644 --- a/examples/with-infinite-pagination/package.json +++ b/examples/with-infinite-pagination/package.json @@ -6,7 +6,7 @@ "start": "vite" }, "dependencies": { - "@urql/core": "^4.2.1", + "@urql/core": "^4.2.2", "graphql": "^16.6.0", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/with-multipart/package.json b/examples/with-multipart/package.json index 8641f763dd..c0834c8e5a 100644 --- a/examples/with-multipart/package.json +++ b/examples/with-multipart/package.json @@ -6,7 +6,7 @@ "start": "vite" }, "dependencies": { - "@urql/core": "^4.2.1", + "@urql/core": "^4.2.2", "graphql": "^16.6.0", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/with-next/package.json b/examples/with-next/package.json index a73fe5e6c0..b426f005ed 100644 --- a/examples/with-next/package.json +++ b/examples/with-next/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "private": true, "dependencies": { - "@urql/core": "^4.2.1", + "@urql/core": "^4.2.2", "@urql/next": "^1.1.0", "graphql": "^16.6.0", "next": "13.4.2", diff --git a/examples/with-pagination/package.json b/examples/with-pagination/package.json index b6ad60fcd8..d5b80f0d59 100644 --- a/examples/with-pagination/package.json +++ b/examples/with-pagination/package.json @@ -6,7 +6,7 @@ "start": "vite" }, "dependencies": { - "@urql/core": "^4.2.1", + "@urql/core": "^4.2.2", "graphql": "^16.6.0", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/with-react-native/package.json b/examples/with-react-native/package.json index fd5501c566..812f44d6f3 100644 --- a/examples/with-react-native/package.json +++ b/examples/with-react-native/package.json @@ -8,7 +8,7 @@ "start": "react-native start" }, "dependencies": { - "@urql/core": "^4.2.1", + "@urql/core": "^4.2.2", "graphql": "^16.6.0", "react": "18.2.0", "react-native": "0.71.4", diff --git a/examples/with-react/package.json b/examples/with-react/package.json index 3a14deaf17..82350c7730 100644 --- a/examples/with-react/package.json +++ b/examples/with-react/package.json @@ -6,7 +6,7 @@ "start": "vite" }, "dependencies": { - "@urql/core": "^4.2.1", + "@urql/core": "^4.2.2", "graphql": "^16.6.0", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/with-refresh-auth/package.json b/examples/with-refresh-auth/package.json index 102fa48a93..65f9ded777 100644 --- a/examples/with-refresh-auth/package.json +++ b/examples/with-refresh-auth/package.json @@ -6,7 +6,7 @@ "start": "vite" }, "dependencies": { - "@urql/core": "^4.2.1", + "@urql/core": "^4.2.2", "@urql/exchange-auth": "^2.1.6", "graphql": "^16.6.0", "react": "^18.2.0", diff --git a/examples/with-retry/package.json b/examples/with-retry/package.json index 36ab39594c..4565fa2fb4 100644 --- a/examples/with-retry/package.json +++ b/examples/with-retry/package.json @@ -6,7 +6,7 @@ "start": "vite" }, "dependencies": { - "@urql/core": "^4.2.1", + "@urql/core": "^4.2.2", "@urql/exchange-retry": "^1.2.0", "graphql": "^16.6.0", "react": "^18.2.0", diff --git a/examples/with-subscriptions-via-fetch/package.json b/examples/with-subscriptions-via-fetch/package.json index 3449e90224..162de3b269 100644 --- a/examples/with-subscriptions-via-fetch/package.json +++ b/examples/with-subscriptions-via-fetch/package.json @@ -8,7 +8,7 @@ "start": "run-p client server" }, "dependencies": { - "@urql/core": "^4.2.1", + "@urql/core": "^4.2.2", "@urql/exchange-graphcache": "^6.4.0", "graphql": "^16.6.0", "react": "^18.2.0", diff --git a/examples/with-svelte/package.json b/examples/with-svelte/package.json index 450cffcd9f..9aee13756b 100644 --- a/examples/with-svelte/package.json +++ b/examples/with-svelte/package.json @@ -8,7 +8,7 @@ "serve": "vite preview" }, "dependencies": { - "@urql/core": "^4.2.1", + "@urql/core": "^4.2.2", "@urql/svelte": "^4.0.4", "graphql": "^16.6.0", "svelte": "^4.0.5" diff --git a/examples/with-vue3/package.json b/examples/with-vue3/package.json index dfe0392b6a..0f4ffffc2f 100644 --- a/examples/with-vue3/package.json +++ b/examples/with-vue3/package.json @@ -8,7 +8,7 @@ "serve": "vite preview" }, "dependencies": { - "@urql/core": "^4.2.1", + "@urql/core": "^4.2.2", "@urql/vue": "^1.1.2", "graphql": "^16.6.0", "vue": "^3.2.47" diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 975a38fb07..e9baa3879e 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,12 @@ # @urql/core +## 4.2.2 + +### Patch Changes + +- ⚠️ Fix the default `cacheExchange` crashing on `cache-only` request policies with cache misses due to `undefined` results + Submitted by [@JoviDeCroock](https://github.com/JoviDeCroock) (See [#3459](https://github.com/urql-graphql/urql/pull/3459)) + ## 4.2.1 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index f174871a85..8f31d7b3a0 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@urql/core", - "version": "4.2.1", + "version": "4.2.2", "description": "The shared core for the highly customizable and versatile GraphQL client", "sideEffects": false, "homepage": "https://formidable.com/open-source/urql/docs/",