cylc / cylc-ui

Web app for monitoring and controlling Cylc workflows
https://cylc.github.io
GNU General Public License v3.0
35 stars 26 forks source link

fix(deps): update dependency @apollo/client to v3.10.5 #1823

Closed renovate[bot] closed 2 weeks ago

renovate[bot] commented 3 weeks ago

Mend Renovate

This PR contains the following updates:

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

Release Notes

apollographql/apollo-client (@​apollo/client) ### [`v3.10.5`](https://togithub.com/apollographql/apollo-client/compare/v3.10.4...a739dfd2847d002405bb6c8b637ead9e54d5d012) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v3.10.4...v3.10.5) ### [`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: QueryReference }) { + function Component({ queryRef }: { queryRef: QueryRef }) { // ... } ``` - [#​11845](https://togithub.com/apollographql/apollo-client/pull/11845) [`4c5c820`](https://togithub.com/apollographql/apollo-client/commit/4c5c820b6172f6a2455bcdd974109513e0e2a39e) Thanks [@​jerelmiller](https://togithub.com/jerelmiller)! - Remove `@nonreactive` directives from queries passed to `MockLink` to ensure they are properly matched. - [#​11837](https://togithub.com/apollographql/apollo-client/pull/11837) [`dff15b1`](https://togithub.com/apollographql/apollo-client/commit/dff15b1b03ebac9cae508c69bf607a29d0f6eccb) Thanks [@​jerelmiller](https://togithub.com/jerelmiller)! - Fix an issue where a polled query created in React strict mode may not stop polling after the component unmounts while using the `cache-and-network` fetch policy.

Configuration

📅 Schedule: Branch creation - "on the 10th day of the month" (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 this update again.



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