From f9367ae449c958ed1156db64c952d8556fbbce46 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 5 Jul 2023 19:34:24 +0000 Subject: [PATCH] Version Packages (beta) --- .changeset/pre.json | 5 ++++- CHANGELOG.md | 16 ++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 23 insertions(+), 4 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index ea594496fc0..cbd18741992 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -7,11 +7,13 @@ "changesets": [ "afraid-zebras-punch", "cold-tips-accept", + "cool-dogs-applaud", "curvy-dragons-talk", "curvy-monkeys-kneel", "cyan-insects-love", "cyan-sloths-grin", "dry-crabs-thank", + "dry-tools-chew", "dull-snakes-turn", "early-pens-retire", "famous-ladybugs-reflect", @@ -22,7 +24,6 @@ "heavy-ties-sneeze", "hungry-chairs-live", "hungry-eagles-kick", - "khaki-months-rhyme", "lazy-teachers-sell", "light-ravens-wait", "little-schools-roll", @@ -51,9 +52,11 @@ "small-tomatoes-explode", "smooth-clouds-sort", "smooth-forks-shop", + "sour-weeks-suffer", "spotty-news-stare", "strange-drinks-report", "tasty-wasps-relate", + "ten-cherries-clap", "twelve-files-promise", "warm-pandas-cry", "wild-mice-nail" diff --git a/CHANGELOG.md b/CHANGELOG.md index 9768f0513f6..bc2157f07de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # @apollo/client +## 3.8.0-beta.6 + +### Patch Changes + +- [#11027](https://github.com/apollographql/apollo-client/pull/11027) [`e47cfd04e`](https://github.com/apollographql/apollo-client/commit/e47cfd04ec50cb4c19828f4d655eb0f989cdcf7d) Thanks [@phryneas](https://github.com/phryneas)! - Prevents the DevTool installation warning to be turned into a documentation link. + +- [#11013](https://github.com/apollographql/apollo-client/pull/11013) [`5ed2cfdaf`](https://github.com/apollographql/apollo-client/commit/5ed2cfdaf9030550d4c82200a5a690b112ad3335) Thanks [@alessbell](https://github.com/alessbell)! - Make private fields `inFlightLinkObservables` and `fetchCancelFns` protected in QueryManager in order to make types available in [`@apollo/experimental-nextjs-app-support`](https://www.npmjs.com/package/@apollo/experimental-nextjs-app-support) package when extending the `ApolloClient` class. + +- [#11032](https://github.com/apollographql/apollo-client/pull/11032) [`6a4da900a`](https://github.com/apollographql/apollo-client/commit/6a4da900a1bc5da3524caabd64bb30945e66f675) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Throw errors in `useSuspenseQuery` for errors returned in incremental chunks when `errorPolicy` is `none`. This provides a more consistent behavior of the `errorPolicy` in the hook. + + ### Potentially breaking change + + Previously, if you issued a query with `@defer` and relied on `errorPolicy: 'none'` to set the `error` property returned from `useSuspenseQuery` when the error was returned in an incremental chunk, this error is now thrown. Switch the `errorPolicy` to `all` to avoid throwing the error and instead return it in the `error` property. + +- [#11025](https://github.com/apollographql/apollo-client/pull/11025) [`6092b6edf`](https://github.com/apollographql/apollo-client/commit/6092b6edf67ef311954c18c778ed0bdca1b77258) Thanks [@jerelmiller](https://github.com/jerelmiller)! - `useSuspenseQuery` and `useBackgroundQuery` will now properly apply changes to its options between renders. + ## 3.8.0-beta.5 ### Patch Changes diff --git a/package-lock.json b/package-lock.json index b9af94b377a..e422a19f141 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@apollo/client", - "version": "3.8.0-beta.5", + "version": "3.8.0-beta.6", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@apollo/client", - "version": "3.8.0-beta.5", + "version": "3.8.0-beta.6", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 6def258e9a5..db3a1c9c699 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/client", - "version": "3.8.0-beta.5", + "version": "3.8.0-beta.6", "description": "A fully-featured caching GraphQL client.", "private": true, "keywords": [