diff --git a/.changeset/fluffy-starfishes-unite.md b/.changeset/fluffy-starfishes-unite.md deleted file mode 100644 index 44bdf95df2..0000000000 --- a/.changeset/fluffy-starfishes-unite.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@urql/core': minor ---- - -Remove `addMetadata` transform where we'd strip out metadata for production environments, this particularly affects `OperationResult.context.metadata.cacheOutcome` diff --git a/examples/with-apq/package.json b/examples/with-apq/package.json index 873c218f41..ea061b5782 100644 --- a/examples/with-apq/package.json +++ b/examples/with-apq/package.json @@ -6,7 +6,7 @@ "start": "vite" }, "dependencies": { - "@urql/core": "^5.0.8", + "@urql/core": "^5.1.0", "@urql/exchange-persisted": "^4.3.0", "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 a5e2fce969..2493e9ed35 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": "^5.0.8", + "@urql/core": "^5.1.0", "@urql/exchange-graphcache": "^7.2.1", "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 608d8a8889..0270410571 100644 --- a/examples/with-graphcache-pagination/package.json +++ b/examples/with-graphcache-pagination/package.json @@ -6,7 +6,7 @@ "start": "vite" }, "dependencies": { - "@urql/core": "^5.0.8", + "@urql/core": "^5.1.0", "@urql/exchange-graphcache": "^7.2.1", "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 d19c726bbe..471418a521 100644 --- a/examples/with-graphcache-updates/package.json +++ b/examples/with-graphcache-updates/package.json @@ -6,7 +6,7 @@ "start": "vite" }, "dependencies": { - "@urql/core": "^5.0.8", + "@urql/core": "^5.1.0", "@urql/exchange-auth": "^2.2.0", "@urql/exchange-graphcache": "^7.2.1", "graphql": "^16.6.0", diff --git a/examples/with-infinite-pagination/package.json b/examples/with-infinite-pagination/package.json index 1273c18872..8d3fb37f6c 100644 --- a/examples/with-infinite-pagination/package.json +++ b/examples/with-infinite-pagination/package.json @@ -6,7 +6,7 @@ "start": "vite" }, "dependencies": { - "@urql/core": "^5.0.8", + "@urql/core": "^5.1.0", "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 771dc19835..676cba29fe 100644 --- a/examples/with-multipart/package.json +++ b/examples/with-multipart/package.json @@ -6,7 +6,7 @@ "start": "vite" }, "dependencies": { - "@urql/core": "^5.0.8", + "@urql/core": "^5.1.0", "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 b755c7d73f..4fbf143f4b 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": "^5.0.8", + "@urql/core": "^5.1.0", "@urql/next": "^1.1.3", "graphql": "^16.6.0", "next": "13.4.2", diff --git a/examples/with-pagination/package.json b/examples/with-pagination/package.json index 1273c18872..8d3fb37f6c 100644 --- a/examples/with-pagination/package.json +++ b/examples/with-pagination/package.json @@ -6,7 +6,7 @@ "start": "vite" }, "dependencies": { - "@urql/core": "^5.0.8", + "@urql/core": "^5.1.0", "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 0aa700f3d0..b3ede493b2 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": "^5.0.8", + "@urql/core": "^5.1.0", "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 fdb0895075..225d16ca53 100644 --- a/examples/with-react/package.json +++ b/examples/with-react/package.json @@ -6,7 +6,7 @@ "start": "vite" }, "dependencies": { - "@urql/core": "^5.0.8", + "@urql/core": "^5.1.0", "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 fe630639ed..3e44731657 100644 --- a/examples/with-refresh-auth/package.json +++ b/examples/with-refresh-auth/package.json @@ -6,7 +6,7 @@ "start": "vite" }, "dependencies": { - "@urql/core": "^5.0.8", + "@urql/core": "^5.1.0", "@urql/exchange-auth": "^2.2.0", "graphql": "^16.6.0", "react": "^18.2.0", diff --git a/examples/with-retry/package.json b/examples/with-retry/package.json index cfd7b268a8..3504d7e772 100644 --- a/examples/with-retry/package.json +++ b/examples/with-retry/package.json @@ -6,7 +6,7 @@ "start": "vite" }, "dependencies": { - "@urql/core": "^5.0.8", + "@urql/core": "^5.1.0", "@urql/exchange-retry": "^1.3.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 4df426824a..48f4a46dc6 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": "^5.0.8", + "@urql/core": "^5.1.0", "@urql/exchange-graphcache": "^7.2.1", "graphql": "^16.6.0", "react": "^18.2.0", diff --git a/examples/with-svelte/package.json b/examples/with-svelte/package.json index 8fef14401b..0f700101c8 100644 --- a/examples/with-svelte/package.json +++ b/examples/with-svelte/package.json @@ -8,7 +8,7 @@ "serve": "vite preview" }, "dependencies": { - "@urql/core": "^5.0.8", + "@urql/core": "^5.1.0", "@urql/svelte": "^4.2.2", "graphql": "^16.6.0", "svelte": "^4.0.5" diff --git a/examples/with-vue3/package.json b/examples/with-vue3/package.json index fd11a0224b..a196d29270 100644 --- a/examples/with-vue3/package.json +++ b/examples/with-vue3/package.json @@ -8,7 +8,7 @@ "serve": "vite preview" }, "dependencies": { - "@urql/core": "^5.0.8", + "@urql/core": "^5.1.0", "@urql/vue": "^1.4.2", "graphql": "^16.6.0", "vue": "^3.2.47" diff --git a/exchanges/auth/package.json b/exchanges/auth/package.json index 34e53c315d..f710da53fc 100644 --- a/exchanges/auth/package.json +++ b/exchanges/auth/package.json @@ -52,7 +52,7 @@ "@urql/core": "^5.0.0" }, "dependencies": { - "@urql/core": "^5.0.0", + "@urql/core": "^5.1.0", "wonka": "^6.3.2" }, "devDependencies": { diff --git a/exchanges/context/package.json b/exchanges/context/package.json index a140d759f8..81efc0f814 100644 --- a/exchanges/context/package.json +++ b/exchanges/context/package.json @@ -51,7 +51,7 @@ "@urql/core": "^5.0.0" }, "dependencies": { - "@urql/core": "^5.0.0", + "@urql/core": "^5.1.0", "wonka": "^6.3.2" }, "devDependencies": { diff --git a/exchanges/execute/package.json b/exchanges/execute/package.json index 70ee091df9..8738d4bc0a 100644 --- a/exchanges/execute/package.json +++ b/exchanges/execute/package.json @@ -49,7 +49,7 @@ "prepublishOnly": "run-s clean build" }, "dependencies": { - "@urql/core": "^5.0.0", + "@urql/core": "^5.1.0", "wonka": "^6.3.2" }, "peerDependencies": { diff --git a/exchanges/graphcache/package.json b/exchanges/graphcache/package.json index 57119243cc..7f6e5ab227 100644 --- a/exchanges/graphcache/package.json +++ b/exchanges/graphcache/package.json @@ -67,7 +67,7 @@ }, "dependencies": { "@0no-co/graphql.web": "^1.0.5", - "@urql/core": "^5.0.0", + "@urql/core": "^5.1.0", "wonka": "^6.3.2" }, "devDependencies": { diff --git a/exchanges/persisted/package.json b/exchanges/persisted/package.json index e676398316..4abc6ec189 100644 --- a/exchanges/persisted/package.json +++ b/exchanges/persisted/package.json @@ -50,7 +50,7 @@ "@urql/core": "^5.0.0" }, "dependencies": { - "@urql/core": "^5.0.0", + "@urql/core": "^5.1.0", "wonka": "^6.3.2" }, "devDependencies": { diff --git a/exchanges/populate/package.json b/exchanges/populate/package.json index f64a8000fd..8d3616e304 100644 --- a/exchanges/populate/package.json +++ b/exchanges/populate/package.json @@ -47,7 +47,7 @@ "prepublishOnly": "run-s clean build" }, "dependencies": { - "@urql/core": "^5.0.0", + "@urql/core": "^5.1.0", "wonka": "^6.3.2" }, "peerDependencies": { diff --git a/exchanges/refocus/package.json b/exchanges/refocus/package.json index 9a621171f6..02cd101ab2 100644 --- a/exchanges/refocus/package.json +++ b/exchanges/refocus/package.json @@ -57,7 +57,7 @@ "@urql/core": "^5.0.0" }, "dependencies": { - "@urql/core": "^5.0.0", + "@urql/core": "^5.1.0", "wonka": "^6.3.2" }, "publishConfig": { diff --git a/exchanges/request-policy/package.json b/exchanges/request-policy/package.json index b72b1f1f33..4c80006221 100644 --- a/exchanges/request-policy/package.json +++ b/exchanges/request-policy/package.json @@ -55,7 +55,7 @@ "@urql/core": "^5.0.0" }, "dependencies": { - "@urql/core": "^5.0.0", + "@urql/core": "^5.1.0", "wonka": "^6.3.2" }, "publishConfig": { diff --git a/exchanges/retry/package.json b/exchanges/retry/package.json index 7edae9ec3b..4567079111 100644 --- a/exchanges/retry/package.json +++ b/exchanges/retry/package.json @@ -55,7 +55,7 @@ "@urql/core": "^5.0.0" }, "dependencies": { - "@urql/core": "^5.0.0", + "@urql/core": "^5.1.0", "wonka": "^6.3.2" }, "publishConfig": { diff --git a/exchanges/throw-on-error/package.json b/exchanges/throw-on-error/package.json index 2dfced47ae..262c21a197 100644 --- a/exchanges/throw-on-error/package.json +++ b/exchanges/throw-on-error/package.json @@ -55,7 +55,7 @@ "@urql/core": "^5.0.0" }, "dependencies": { - "@urql/core": "^5.0.0", + "@urql/core": "^5.1.0", "graphql-toe": "0.1.2", "wonka": "^6.3.2" }, diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 026537e8fa..60ec21370a 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,12 @@ # @urql/core +## 5.1.0 + +### Minor Changes + +- Remove `addMetadata` transform where we'd strip out metadata for production environments, this particularly affects `OperationResult.context.metadata.cacheOutcome` + Submitted by [@alpavlove](https://github.com/alpavlove) (See [#3714](https://github.com/urql-graphql/urql/pull/3714)) + ## 5.0.8 ### Patch Changes diff --git a/packages/core/jsr.json b/packages/core/jsr.json index 5fc6f2528a..b4d5a64a68 100644 --- a/packages/core/jsr.json +++ b/packages/core/jsr.json @@ -1,6 +1,6 @@ { "name": "@urql/core", - "version": "5.0.8", + "version": "5.1.0", "exports": { ".": "./src/index.ts", "./internal": "./src/internal/index.ts" diff --git a/packages/core/package.json b/packages/core/package.json index 11c683907d..52470e8ee4 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@urql/core", - "version": "5.0.8", + "version": "5.1.0", "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/preact-urql/package.json b/packages/preact-urql/package.json index 337f22ce39..79416efc89 100644 --- a/packages/preact-urql/package.json +++ b/packages/preact-urql/package.json @@ -59,7 +59,7 @@ "preact": ">= 10.0.0" }, "dependencies": { - "@urql/core": "^5.0.0", + "@urql/core": "^5.1.0", "wonka": "^6.3.2" }, "publishConfig": { diff --git a/packages/react-urql/package.json b/packages/react-urql/package.json index 81699c27c5..acfb515c98 100644 --- a/packages/react-urql/package.json +++ b/packages/react-urql/package.json @@ -60,7 +60,7 @@ "react": ">= 16.8.0" }, "dependencies": { - "@urql/core": "^5.0.0", + "@urql/core": "^5.1.0", "wonka": "^6.3.2" }, "publishConfig": { diff --git a/packages/solid-urql/package.json b/packages/solid-urql/package.json index 1dee2328c9..f7e34f09c2 100644 --- a/packages/solid-urql/package.json +++ b/packages/solid-urql/package.json @@ -60,7 +60,7 @@ "solid-js": "^1.7.7" }, "dependencies": { - "@urql/core": "^5.0.0", + "@urql/core": "^5.1.0", "wonka": "^6.3.2" }, "publishConfig": { diff --git a/packages/svelte-urql/package.json b/packages/svelte-urql/package.json index f0445021ab..ba42ce16b4 100644 --- a/packages/svelte-urql/package.json +++ b/packages/svelte-urql/package.json @@ -53,7 +53,7 @@ "svelte": "^3.0.0 || ^4.0.0 || ^5.0.0" }, "dependencies": { - "@urql/core": "^5.0.0", + "@urql/core": "^5.1.0", "wonka": "^6.3.2" }, "devDependencies": { diff --git a/packages/vue-urql/package.json b/packages/vue-urql/package.json index 6349a7c168..50a86baa3a 100644 --- a/packages/vue-urql/package.json +++ b/packages/vue-urql/package.json @@ -59,7 +59,7 @@ "vue": "^2.7.0 || ^3.0.0" }, "dependencies": { - "@urql/core": "^5.0.0", + "@urql/core": "^5.1.0", "wonka": "^6.3.2" }, "publishConfig": {