From 894ae488dcb13b927c2a0a25cee527a230c61f14 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 31 Mar 2023 14:51:31 -0400 Subject: [PATCH] Version Packages (#10630) Co-authored-by: github-actions[bot] --- .changeset/chatty-elephants-itch.md | 5 ----- .changeset/heavy-carpets-chew.md | 5 ----- .changeset/nervous-tomatoes-act.md | 5 ----- .changeset/nine-lemons-swim.md | 9 --------- .changeset/small-elephants-poke.md | 5 ----- .changeset/swift-mails-search.md.md | 5 ----- .changeset/young-toes-sparkle.md | 5 ----- CHANGELOG.md | 23 +++++++++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 10 files changed, 26 insertions(+), 42 deletions(-) delete mode 100644 .changeset/chatty-elephants-itch.md delete mode 100644 .changeset/heavy-carpets-chew.md delete mode 100644 .changeset/nervous-tomatoes-act.md delete mode 100644 .changeset/nine-lemons-swim.md delete mode 100644 .changeset/small-elephants-poke.md delete mode 100644 .changeset/swift-mails-search.md.md delete mode 100644 .changeset/young-toes-sparkle.md diff --git a/.changeset/chatty-elephants-itch.md b/.changeset/chatty-elephants-itch.md deleted file mode 100644 index c5e2a146492..00000000000 --- a/.changeset/chatty-elephants-itch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": patch ---- - -Improve WebSocket error handling for generic `Event` received on error. For more information see [https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/error_event](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/error_event). diff --git a/.changeset/heavy-carpets-chew.md b/.changeset/heavy-carpets-chew.md deleted file mode 100644 index 2013852f95b..00000000000 --- a/.changeset/heavy-carpets-chew.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": patch ---- - -Simplify error message generation and make 'undefined' an impossible message string. diff --git a/.changeset/nervous-tomatoes-act.md b/.changeset/nervous-tomatoes-act.md deleted file mode 100644 index b6cb1d3a710..00000000000 --- a/.changeset/nervous-tomatoes-act.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": patch ---- - -Adds support for multipart subscriptions in `HttpLink`. diff --git a/.changeset/nine-lemons-swim.md b/.changeset/nine-lemons-swim.md deleted file mode 100644 index c7e386bf0f2..00000000000 --- a/.changeset/nine-lemons-swim.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@apollo/client': patch ---- - -Changes the behavior of `useLazyQuery` introduced in [#10427](https://github.com/apollographql/apollo-client/pull/10427) where unmounting a component before a query was resolved would reject the promise with an abort error. Instead, the promise will now resolve naturally with the result from the request. - -Other notable fixes: -- Kicking off multiple requests in parallel with the execution function will now ensure each returned promise is resolved with the data from its request. Previously, each promise was resolved with data from the last execution. -- Re-rendering `useLazyQuery` with a different query document will now ensure the execution function uses the updated query document. Previously, only the query document rendered the first time would be used for the request. diff --git a/.changeset/small-elephants-poke.md b/.changeset/small-elephants-poke.md deleted file mode 100644 index f3c391ef89e..00000000000 --- a/.changeset/small-elephants-poke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": patch ---- - -Upgrades TypeScript to v5. This change is fully backward-compatible and transparent to users. diff --git a/.changeset/swift-mails-search.md.md b/.changeset/swift-mails-search.md.md deleted file mode 100644 index 0488199f92b..00000000000 --- a/.changeset/swift-mails-search.md.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": patch ---- - -Fix a bug where an incoming cache update could prevent future updates from the active link. diff --git a/.changeset/young-toes-sparkle.md b/.changeset/young-toes-sparkle.md deleted file mode 100644 index c9ba9d95493..00000000000 --- a/.changeset/young-toes-sparkle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": patch ---- - -`useQuery`: delay unsubscribe to fix race conditions diff --git a/CHANGELOG.md b/CHANGELOG.md index bfb7302ed1c..7d3a4f83ea5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,28 @@ # @apollo/client +## 3.7.11 + +### Patch Changes + +- [#10586](https://github.com/apollographql/apollo-client/pull/10586) [`4175af594`](https://github.com/apollographql/apollo-client/commit/4175af59419dbb698c32c074f44229f3a5b3b83d) Thanks [@alessbell](https://github.com/alessbell)! - Improve WebSocket error handling for generic `Event` received on error. For more information see [https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/error_event](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/error_event). + +- [#10411](https://github.com/apollographql/apollo-client/pull/10411) [`152baac34`](https://github.com/apollographql/apollo-client/commit/152baac343b8b68c7a2d4691d5dc60d9e43e62bb) Thanks [@lovasoa](https://github.com/lovasoa)! - Simplify error message generation and make 'undefined' an impossible message string. + +- [#10592](https://github.com/apollographql/apollo-client/pull/10592) [`cdb98ae08`](https://github.com/apollographql/apollo-client/commit/cdb98ae082ae4c7da6cd6a0fd5ad8457810fceda) Thanks [@alessbell](https://github.com/alessbell)! - Adds support for multipart subscriptions in `HttpLink`. + +- [#10698](https://github.com/apollographql/apollo-client/pull/10698) [`38508a251`](https://github.com/apollographql/apollo-client/commit/38508a251423057fd8a0df50230f50e0a5dde5fd) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Changes the behavior of `useLazyQuery` introduced in [#10427](https://github.com/apollographql/apollo-client/pull/10427) where unmounting a component before a query was resolved would reject the promise with an abort error. Instead, the promise will now resolve naturally with the result from the request. + + Other notable fixes: + + - Kicking off multiple requests in parallel with the execution function will now ensure each returned promise is resolved with the data from its request. Previously, each promise was resolved with data from the last execution. + - Re-rendering `useLazyQuery` with a different query document will now ensure the execution function uses the updated query document. Previously, only the query document rendered the first time would be used for the request. + +- [#10660](https://github.com/apollographql/apollo-client/pull/10660) [`364bee98f`](https://github.com/apollographql/apollo-client/commit/364bee98fe193a7915664c1a5b206fd52793f85a) Thanks [@alessbell](https://github.com/alessbell)! - Upgrades TypeScript to v5. This change is fully backward-compatible and transparent to users. + +- [#10597](https://github.com/apollographql/apollo-client/pull/10597) [`8fb9d190d`](https://github.com/apollographql/apollo-client/commit/8fb9d190dbf48147412517643e3e425a7d48c49c) Thanks [@phryneas](https://github.com/phryneas)! - Fix a bug where an incoming cache update could prevent future updates from the active link. + +- [#10629](https://github.com/apollographql/apollo-client/pull/10629) [`02605bb3c`](https://github.com/apollographql/apollo-client/commit/02605bb3c9e148bf87a6e52b4a9ecc7d523ef9f6) Thanks [@phryneas](https://github.com/phryneas)! - `useQuery`: delay unsubscribe to fix race conditions + ## 3.7.10 ### Patch Changes diff --git a/package-lock.json b/package-lock.json index ab2af12b0bb..57f9b0ae0de 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@apollo/client", - "version": "3.7.10", + "version": "3.7.11", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@apollo/client", - "version": "3.7.10", + "version": "3.7.11", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index f88c8258a54..59ab753cca2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/client", - "version": "3.7.10", + "version": "3.7.11", "description": "A fully-featured caching GraphQL client.", "private": true, "keywords": [