kamilkisiela / apollo-angular

A fully-featured, production ready caching GraphQL client for Angular and every GraphQL server 🎁
https://apollo-angular.com
MIT License
1.5k stars 309 forks source link

chore(deps): update dependency @apollo/client to v3.8.7 #2020

Closed renovate[bot] closed 10 months ago

renovate[bot] commented 1 year ago

Mend Renovate logo banner

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@apollo/client (source) 3.8.1 -> 3.8.7 age adoption passing confidence

Release Notes

apollographql/apollo-client (@​apollo/client) ### [`v3.8.7`](https://togithub.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#387) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v3.8.6...v3.8.7) ##### Patch Changes - [#​11297](https://togithub.com/apollographql/apollo-client/pull/11297) [`c8c76a522`](https://togithub.com/apollographql/apollo-client/commit/c8c76a522e593de0d06cff73fde2d9e88152bed6) Thanks [@​jerelmiller](https://togithub.com/jerelmiller)! - Add an explicit return type for the `useReadQuery` hook called `UseReadQueryResult`. Previously the return type of this hook was inferred from the return value. - [#​11337](https://togithub.com/apollographql/apollo-client/pull/11337) [`bb1da8349`](https://togithub.com/apollographql/apollo-client/commit/bb1da8349e785c54fb4030f269602c900adf23a0) Thanks [@​phryneas](https://togithub.com/phryneas)! - [#​11206](https://togithub.com/apollographql/apollo-client/issues/11206) used the TypeScript syntax `infer X extends Y` that was introduced in TS 4.8. This caused some problems for some users, so we are rolling back to a more backwars-compatible (albeit slightly less performant) type. ### [`v3.8.6`](https://togithub.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#386) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v3.8.5...v3.8.6) ##### Patch Changes - [#​11291](https://togithub.com/apollographql/apollo-client/pull/11291) [`2be7eafe3`](https://togithub.com/apollographql/apollo-client/commit/2be7eafe3c115d56d993dbda64d320550712df1f) Thanks [@​ArioA](https://togithub.com/ArioA)! - Fix a bug that allows to only call `loadErrorMessages` without also calling `loadDevErrorMessages`. - [#​11274](https://togithub.com/apollographql/apollo-client/pull/11274) [`b29f000f3`](https://togithub.com/apollographql/apollo-client/commit/b29f000f36f281e256809b5454eaeca2ec4450bf) Thanks [@​jerelmiller](https://togithub.com/jerelmiller)! - Start the query ref auto dispose timeout after the initial promise has settled. This prevents requests that run longer than the timeout duration from keeping the component suspended indefinitely. - [#​11289](https://togithub.com/apollographql/apollo-client/pull/11289) [`b5894dbf0`](https://togithub.com/apollographql/apollo-client/commit/b5894dbf0fd5ea5ef1ff20dd896a658ef78c69dc) Thanks [@​phryneas](https://togithub.com/phryneas)! - `MockedProvider`: default `connectToDevTools` to `false` in created `ApolloClient` instance. This will prevent the mocked `ApolloClient` instance from trying to connect to the DevTools, which would start a `setTimeout` that might keep running after a test has finished. - [#​11206](https://togithub.com/apollographql/apollo-client/pull/11206) [`dd2ce7687`](https://togithub.com/apollographql/apollo-client/commit/dd2ce7687ae9afa399e950a523fc7330284c25fe) Thanks [@​phryneas](https://togithub.com/phryneas)! - `cache.modify`: Less strict types & new dev runtime warnings. ### [`v3.8.5`](https://togithub.com/apollographql/apollo-client/compare/fb9457d92b8f61322b9d0e262d166e7737778df8...f6b9953dbaa5d3a8f8716e4f4ad9f41f13e1fe1e) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v3.8.4...v3.8.5) ### [`v3.8.4`](https://togithub.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#384) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v3.8.3...v3.8.4) ##### Patch Changes - [#​11195](https://togithub.com/apollographql/apollo-client/pull/11195) [`9e59b251d`](https://togithub.com/apollographql/apollo-client/commit/9e59b251d4d63afb83d9821889f87c71c4adde0f) Thanks [@​phryneas](https://togithub.com/phryneas)! - For `invariant.log` etc., error arguments are now serialized correctly in the link to the error page. ### [`v3.8.3`](https://togithub.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#383) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v3.8.2...v3.8.3) ##### Patch Changes - [#​11193](https://togithub.com/apollographql/apollo-client/pull/11193) [`fd2a4cf0c`](https://togithub.com/apollographql/apollo-client/commit/fd2a4cf0c3ada968df3f9814d87dedaaa8eddb5e) Thanks [@​phryneas](https://togithub.com/phryneas)! - Call devtools registration after ApolloClient is fully set up. ### [`v3.8.2`](https://togithub.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#382) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v3.8.1...v3.8.2) ##### Patch Changes - [#​10072](https://togithub.com/apollographql/apollo-client/pull/10072) [`51045c336`](https://togithub.com/apollographql/apollo-client/commit/51045c336ff86befbdd598af6e7104ffe0d419d0) Thanks [@​Huulivoide](https://togithub.com/Huulivoide)! - Fixes race conditions in useReactiveVar that may prevent updates to the reactive variable from propagating through the hook. - [#​11162](https://togithub.com/apollographql/apollo-client/pull/11162) [`d9685f53c`](https://togithub.com/apollographql/apollo-client/commit/d9685f53c34483245e6ea21e91b669ef1180ae97) Thanks [@​jerelmiller](https://togithub.com/jerelmiller)! - Ensures GraphQL errors returned in subscription payloads adhere to the `errorPolicy` set in `client.subscribe(...)` calls. - [#​11134](https://togithub.com/apollographql/apollo-client/pull/11134) [`96492e142`](https://togithub.com/apollographql/apollo-client/commit/96492e14279d78e2613c1381d31f88cdf5816f45) Thanks [@​alessbell](https://togithub.com/alessbell)! - Use separate type imports in useSuspenseQuery and useBackgroundQuery to workaround SWC compiler issue. - [#​11117](https://togithub.com/apollographql/apollo-client/pull/11117) [`6b8198109`](https://togithub.com/apollographql/apollo-client/commit/6b8198109bd9fe5eedf352421a0a773ac0acfb18) Thanks [@​phryneas](https://togithub.com/phryneas)! - Adds a new devtools registration mechanism and tweaks the mechanism behind the "devtools not found" mechanic. - [#​11186](https://togithub.com/apollographql/apollo-client/pull/11186) [`f1d429f32`](https://togithub.com/apollographql/apollo-client/commit/f1d429f32ae8e896155b50f1fc7c51dfeb06c3ba) Thanks [@​jerelmiller](https://togithub.com/jerelmiller)! - Fix an issue where race conditions when rapidly switching between variables would sometimes result in the wrong `data` returned from the query. Specifically this occurs when a query is triggered with an initial set of variables (`VariablesA`), then triggers the same query with another set of variables (`VariablesB`) but switches back to the `VariablesA` before the response for `VariablesB` is returned. Previously this would result in the data for `VariablesB` to be displayed while `VariablesA` was active. The data is for `VariablesA` is now properly returned. - [#​11163](https://togithub.com/apollographql/apollo-client/pull/11163) [`a8a9e11e9`](https://togithub.com/apollographql/apollo-client/commit/a8a9e11e917716538206eb7d5de21dbfd09630bd) Thanks [@​bignimbus](https://togithub.com/bignimbus)! - Fix typo in error message: "occured" -> "occurred" - [#​11180](https://togithub.com/apollographql/apollo-client/pull/11180) [`7d9c481e5`](https://togithub.com/apollographql/apollo-client/commit/7d9c481e53f3c9577ec6ed6231c9e3db8c8b374b) Thanks [@​jerelmiller](https://togithub.com/jerelmiller)! - Fixes an issue where refetching from `useBackgroundQuery` via `refetch` with an error after an error was already fetched would get stuck in a loading state.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

changeset-bot[bot] commented 1 year ago

⚠️ No Changeset found

Latest commit: 28da8991332cd57019513373db8a837e5ebddce3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

github-actions[bot] commented 1 year ago
### 💻 Website Preview The latest changes are available as preview in: [https://a47b6178.apollo-angular.pages.dev](https://a47b6178.apollo-angular.pages.dev)
github-actions[bot] commented 10 months ago

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets): Package Version Info
apollo-angular 6.0.0-alpha-20231122051755-28da8991 npm ↗︎ unpkg ↗︎
renovate[bot] commented 10 months ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (^3.8.1). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.