From 15f12ae296e1b8f598f373fccdb65388a5d576ac Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 30 Jul 2023 17:56:24 +0100 Subject: [PATCH] Version Packages (#3344) Co-authored-by: github-actions[bot] --- .changeset/polite-kangaroos-rhyme.md | 5 ----- .changeset/shy-maps-raise.md | 6 ------ examples/with-apq/package.json | 2 +- examples/with-defer-stream-directives/package.json | 2 +- examples/with-graphcache-pagination/package.json | 2 +- examples/with-graphcache-updates/package.json | 4 ++-- examples/with-infinite-pagination/package.json | 2 +- examples/with-multipart/package.json | 2 +- examples/with-next/package.json | 2 +- examples/with-pagination/package.json | 2 +- examples/with-react-native/package.json | 2 +- examples/with-react/package.json | 2 +- examples/with-refresh-auth/package.json | 4 ++-- examples/with-retry/package.json | 2 +- examples/with-subscriptions-via-fetch/package.json | 2 +- examples/with-svelte/package.json | 2 +- examples/with-vue3/package.json | 2 +- exchanges/auth/CHANGELOG.md | 7 +++++++ exchanges/auth/package.json | 2 +- packages/core/CHANGELOG.md | 8 ++++++++ packages/core/package.json | 2 +- 21 files changed, 34 insertions(+), 30 deletions(-) delete mode 100644 .changeset/polite-kangaroos-rhyme.md delete mode 100644 .changeset/shy-maps-raise.md diff --git a/.changeset/polite-kangaroos-rhyme.md b/.changeset/polite-kangaroos-rhyme.md deleted file mode 100644 index 336cf70e7c..0000000000 --- a/.changeset/polite-kangaroos-rhyme.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@urql/exchange-auth': patch ---- - -`authExchange()` will now block and pass on errors if the initialization function passed to it fails, and will retry indefinitely. It’ll also output a warning for these cases, as the initialization function (i.e. `authExchange(async (utils) => { /*...*/ })`) is not expected to reject/throw. diff --git a/.changeset/shy-maps-raise.md b/.changeset/shy-maps-raise.md deleted file mode 100644 index f0d5695f72..0000000000 --- a/.changeset/shy-maps-raise.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@urql/core': patch ---- - -Add case for `subscriptionExchange` to handle `GraphQLError[]` received in the `error` observer callback. -**Note:** This doesn't strictly check for the `GraphQLError` shape and only checks for arrays and receiving errors in the `ExecutionResult` on the `next` observer callback is preferred and recommended for transports. diff --git a/examples/with-apq/package.json b/examples/with-apq/package.json index 9423f69d78..0fd83cacd3 100644 --- a/examples/with-apq/package.json +++ b/examples/with-apq/package.json @@ -6,7 +6,7 @@ "start": "vite" }, "dependencies": { - "@urql/core": "^4.1.0", + "@urql/core": "^4.1.1", "@urql/exchange-persisted": "^4.1.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 a25319a1de..c8844ae9f2 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.1.0", + "@urql/core": "^4.1.1", "@urql/exchange-graphcache": "^6.3.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 2711868540..828f4b2c07 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.1.0", + "@urql/core": "^4.1.1", "@urql/exchange-graphcache": "^6.3.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 6b01242e3d..e2f4abc770 100644 --- a/examples/with-graphcache-updates/package.json +++ b/examples/with-graphcache-updates/package.json @@ -6,8 +6,8 @@ "start": "vite" }, "dependencies": { - "@urql/core": "^4.1.0", - "@urql/exchange-auth": "^2.1.5", + "@urql/core": "^4.1.1", + "@urql/exchange-auth": "^2.1.6", "@urql/exchange-graphcache": "^6.3.1", "graphql": "^16.6.0", "react": "^18.2.0", diff --git a/examples/with-infinite-pagination/package.json b/examples/with-infinite-pagination/package.json index d4fab8cf3d..7f9cd2da05 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.1.0", + "@urql/core": "^4.1.1", "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 6b680330e6..349a8d45f4 100644 --- a/examples/with-multipart/package.json +++ b/examples/with-multipart/package.json @@ -6,7 +6,7 @@ "start": "vite" }, "dependencies": { - "@urql/core": "^4.1.0", + "@urql/core": "^4.1.1", "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 e36be56e2d..a0be36cebd 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.1.0", + "@urql/core": "^4.1.1", "@urql/next": "^1.0.0", "graphql": "^16.6.0", "next": "13.4.2", diff --git a/examples/with-pagination/package.json b/examples/with-pagination/package.json index d4fab8cf3d..7f9cd2da05 100644 --- a/examples/with-pagination/package.json +++ b/examples/with-pagination/package.json @@ -6,7 +6,7 @@ "start": "vite" }, "dependencies": { - "@urql/core": "^4.1.0", + "@urql/core": "^4.1.1", "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 c2983e66be..9d5de57931 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.1.0", + "@urql/core": "^4.1.1", "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 565ddc3c66..92450bc659 100644 --- a/examples/with-react/package.json +++ b/examples/with-react/package.json @@ -6,7 +6,7 @@ "start": "vite" }, "dependencies": { - "@urql/core": "^4.1.0", + "@urql/core": "^4.1.1", "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 9ca26705fc..b0d518dd97 100644 --- a/examples/with-refresh-auth/package.json +++ b/examples/with-refresh-auth/package.json @@ -6,8 +6,8 @@ "start": "vite" }, "dependencies": { - "@urql/core": "^4.1.0", - "@urql/exchange-auth": "^2.1.5", + "@urql/core": "^4.1.1", + "@urql/exchange-auth": "^2.1.6", "graphql": "^16.6.0", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/with-retry/package.json b/examples/with-retry/package.json index 3d3789dfd4..d079b69545 100644 --- a/examples/with-retry/package.json +++ b/examples/with-retry/package.json @@ -6,7 +6,7 @@ "start": "vite" }, "dependencies": { - "@urql/core": "^4.1.0", + "@urql/core": "^4.1.1", "@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 dbb3907a28..30cd18aa64 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.1.0", + "@urql/core": "^4.1.1", "@urql/exchange-graphcache": "^6.3.1", "graphql": "^16.6.0", "react": "^18.2.0", diff --git a/examples/with-svelte/package.json b/examples/with-svelte/package.json index 767a10497f..ed946729ad 100644 --- a/examples/with-svelte/package.json +++ b/examples/with-svelte/package.json @@ -8,7 +8,7 @@ "serve": "vite preview" }, "dependencies": { - "@urql/core": "^4.1.0", + "@urql/core": "^4.1.1", "@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 1b999540cf..8c415379a5 100644 --- a/examples/with-vue3/package.json +++ b/examples/with-vue3/package.json @@ -8,7 +8,7 @@ "serve": "vite preview" }, "dependencies": { - "@urql/core": "^4.1.0", + "@urql/core": "^4.1.1", "@urql/vue": "^1.1.2", "graphql": "^16.6.0", "vue": "^3.2.47" diff --git a/exchanges/auth/CHANGELOG.md b/exchanges/auth/CHANGELOG.md index 7e6d2d7596..a7a6b10cf3 100644 --- a/exchanges/auth/CHANGELOG.md +++ b/exchanges/auth/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 2.1.6 + +### Patch Changes + +- `authExchange()` will now block and pass on errors if the initialization function passed to it fails, and will retry indefinitely. It’ll also output a warning for these cases, as the initialization function (i.e. `authExchange(async (utils) => { /*...*/ })`) is not expected to reject/throw + Submitted by [@kitten](https://github.com/kitten) (See [#3343](https://github.com/urql-graphql/urql/pull/3343)) + ## 2.1.5 ### Patch Changes diff --git a/exchanges/auth/package.json b/exchanges/auth/package.json index 74d56c0a40..194595798b 100644 --- a/exchanges/auth/package.json +++ b/exchanges/auth/package.json @@ -1,6 +1,6 @@ { "name": "@urql/exchange-auth", - "version": "2.1.5", + "version": "2.1.6", "description": "An exchange for managing authentication and token refresh in urql", "sideEffects": false, "homepage": "https://formidable.com/open-source/urql/docs/", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 6d572ec532..c7c91e81b2 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,13 @@ # @urql/core +## 4.1.1 + +### Patch Changes + +- Add case for `subscriptionExchange` to handle `GraphQLError[]` received in the `error` observer callback. + **Note:** This doesn't strictly check for the `GraphQLError` shape and only checks for arrays and receiving errors in the `ExecutionResult` on the `next` observer callback is preferred and recommended for transports + Submitted by [@kitten](https://github.com/kitten) (See [#3346](https://github.com/urql-graphql/urql/pull/3346)) + ## 4.1.0 ### Minor Changes diff --git a/packages/core/package.json b/packages/core/package.json index 87310d756e..4d374ce7ef 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@urql/core", - "version": "4.1.0", + "version": "4.1.1", "description": "The shared core for the highly customizable and versatile GraphQL client", "sideEffects": false, "homepage": "https://formidable.com/open-source/urql/docs/",