From de8196eb72498e4e45438697ec17198e5b88bc44 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 21 Jan 2025 19:28:53 -0700 Subject: [PATCH] Version Packages (#12289) Co-authored-by: github-actions[bot] --- .changeset/giant-peas-lie.md | 13 ------------- .changeset/mighty-shoes-clap.md | 5 ----- CHANGELOG.md | 16 ++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 5 files changed, 19 insertions(+), 21 deletions(-) delete mode 100644 .changeset/giant-peas-lie.md delete mode 100644 .changeset/mighty-shoes-clap.md diff --git a/.changeset/giant-peas-lie.md b/.changeset/giant-peas-lie.md deleted file mode 100644 index 27e4096c99c..00000000000 --- a/.changeset/giant-peas-lie.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@apollo/client": patch ---- - -Make fatal [tranport-level errors](https://www.apollographql.com/docs/graphos/routing/operations/subscriptions/multipart-protocol#message-and-error-format) from multipart subscriptions available to the error link with the `protocolErrors` property. - -```js -const errorLink = onError(({ protocolErrors }) => { - if (protocolErrors) { - console.log(protocolErrors); - } -}); -``` diff --git a/.changeset/mighty-shoes-clap.md b/.changeset/mighty-shoes-clap.md deleted file mode 100644 index da087271edb..00000000000 --- a/.changeset/mighty-shoes-clap.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": patch ---- - -Fix the array type for the `errors` field on the `ApolloPayloadResult` type. This type was always in the shape of the GraphQL error format, per the [multipart subscriptions protocol](https://www.apollographql.com/docs/graphos/routing/operations/subscriptions/multipart-protocol#message-and-error-format) and never a plain string or a JavaScript error object. diff --git a/CHANGELOG.md b/CHANGELOG.md index 971e53bdf72..33b1eb2f84c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # @apollo/client +## 3.12.7 + +### Patch Changes + +- [#12281](https://github.com/apollographql/apollo-client/pull/12281) [`d638ec3`](https://github.com/apollographql/apollo-client/commit/d638ec317b7d21c2246251ef1b9d773588277b39) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Make fatal [tranport-level errors](https://www.apollographql.com/docs/graphos/routing/operations/subscriptions/multipart-protocol#message-and-error-format) from multipart subscriptions available to the error link with the `protocolErrors` property. + + ```js + const errorLink = onError(({ protocolErrors }) => { + if (protocolErrors) { + console.log(protocolErrors); + } + }); + ``` + +- [#12281](https://github.com/apollographql/apollo-client/pull/12281) [`d638ec3`](https://github.com/apollographql/apollo-client/commit/d638ec317b7d21c2246251ef1b9d773588277b39) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Fix the array type for the `errors` field on the `ApolloPayloadResult` type. This type was always in the shape of the GraphQL error format, per the [multipart subscriptions protocol](https://www.apollographql.com/docs/graphos/routing/operations/subscriptions/multipart-protocol#message-and-error-format) and never a plain string or a JavaScript error object. + ## 3.12.6 ### Patch Changes diff --git a/package-lock.json b/package-lock.json index bceaa0a8f36..6edb833d9ff 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@apollo/client", - "version": "3.12.6", + "version": "3.12.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@apollo/client", - "version": "3.12.6", + "version": "3.12.7", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index c76c26acf98..6bcc3690bf6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/client", - "version": "3.12.6", + "version": "3.12.7", "description": "A fully-featured caching GraphQL client.", "private": true, "keywords": [