Closed renovate[bot] closed 1 month ago
![]() |
![]() |
![]() |
![]() |
![]() |
⚠️ You've recorded test results over your free plan limit. Upgrade your plan to view test results. |
Details:
Update dependency @apollo/client to v3.10.4 | |||
Project: NotGovUK | Commit: 410caf9ee0 |
||
Status: Passed | Duration: 12:06 💡 | ||
Started: May 27, 2024 12:56 AM | Ended: May 27, 2024 1:08 AM |
This PR contains the following updates:
3.10.3
->3.10.4
^3.10.3
->^3.10.4
Release Notes
apollographql/apollo-client (@apollo/client)
### [`v3.10.4`](https://togithub.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#3104) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v3.10.3...v3.10.4) ##### Patch Changes - [#11838](https://togithub.com/apollographql/apollo-client/pull/11838) [`8475346`](https://togithub.com/apollographql/apollo-client/commit/84753462af50d89c8693713990cccf432ff8267d) Thanks [@alex-kinokon](https://togithub.com/alex-kinokon)! - Don’t prompt for DevTools installation for browser extension page - [#11839](https://togithub.com/apollographql/apollo-client/pull/11839) [`6481fe1`](https://togithub.com/apollographql/apollo-client/commit/6481fe1196cedee987781dcb45ebdc0cafb3998c) Thanks [@jerelmiller](https://togithub.com/jerelmiller)! - Fix a regression in [3.9.5](https://togithub.com/apollographql/apollo-client/releases/tag/v3.9.5) where a merge function that returned an incomplete result would not allow the client to refetch in order to fulfill the query. - [#11844](https://togithub.com/apollographql/apollo-client/pull/11844) [`86984f2`](https://togithub.com/apollographql/apollo-client/commit/86984f24bd9076a6034acd59bbcb28a2ea1add93) Thanks [@jerelmiller](https://togithub.com/jerelmiller)! - Honor the `@nonreactive` directive when using `cache.watchFragment` or the `useFragment` hook to avoid rerendering when using these directives. - [#11824](https://togithub.com/apollographql/apollo-client/pull/11824) [`47ad806`](https://togithub.com/apollographql/apollo-client/commit/47ad806c7b0c55f1e05dbf276ca87a354ac389e5) Thanks [@phryneas](https://togithub.com/phryneas)! - Create branded `QueryRef` type without exposed properties. This change deprecates `QueryReference` in favor of a `QueryRef` type that doesn't expose any properties. This change also updates `preloadQuery` to return a new `PreloadedQueryRef` type, which exposes the `toPromise` function as it does today. This means that query refs produced by `useBackgroundQuery` and `useLoadableQuery` now return `QueryRef` types that do not have access to a `toPromise` function, which was never meant to be used in combination with these hooks. While we tend to avoid any types of breaking changes in patch releases as this, this change was necessary to support an upcoming version of the React Server Component integration, which needed to omit the `toPromise` function that would otherwise have broken at runtime. Note that this is a TypeScript-only change. At runtime, `toPromise` is still present on all queryRefs currently created by this package - but we strongly want to discourage you from accessing it in all cases except for the `PreloadedQueryRef` use case. Migration is as simple as replacing all references to `QueryReference` with `QueryRef`, so it should be possible to do this with a search & replace in most code bases: ```diff -import { QueryReference } from '@apollo/client' +import { QueryRef } from '@apollo/client' - function Component({ queryRef }: { queryRef: QueryReferenceConfiguration
📅 Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.