JesusFilm / core

JFP DS Engineering Monorepo
https://docs.core.jesusfilm.org/
19 stars 12 forks source link

fix(deps): update apollo graphql packages #4912

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 1 month ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@apollo/client (source) 3.11.10 -> 3.12.6 age adoption passing confidence
@apollo/experimental-nextjs-app-support 0.11.6 -> 0.11.7 age adoption passing confidence
@apollo/server (source) 4.11.2 -> 4.11.3 age adoption passing confidence
@apollo/server-plugin-response-cache (source) 4.1.3 -> 4.1.4 age adoption passing confidence

Release Notes

apollographql/apollo-client (@​apollo/client) ### [`v3.12.6`](https://redirect.github.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#3126) [Compare Source](https://redirect.github.com/apollographql/apollo-client/compare/v3.12.5...v3.12.6) ##### Patch Changes - [#​12267](https://redirect.github.com/apollographql/apollo-client/pull/12267) [`d57429d`](https://redirect.github.com/apollographql/apollo-client/commit/d57429df336412bfdce5fc92b8299360c522d121) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Maintain the `TData` type when used with `Unmasked` when `TData` is not a masked type generated from GraphQL Codegen. - [#​12270](https://redirect.github.com/apollographql/apollo-client/pull/12270) [`3601246`](https://redirect.github.com/apollographql/apollo-client/commit/3601246f6e7b4f8b2937e0d431e6b5a6964f9066) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Fix handling of tagged/branded primitive types when used as scalar values with `Unmasked`. ### [`v3.12.5`](https://redirect.github.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#3125) [Compare Source](https://redirect.github.com/apollographql/apollo-client/compare/v3.12.4...v3.12.5) ##### Patch Changes - [#​12252](https://redirect.github.com/apollographql/apollo-client/pull/12252) [`cb9cd4e`](https://redirect.github.com/apollographql/apollo-client/commit/cb9cd4ea251aab225adf5e4e4f3f69e1bbacee52) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Changes the default behavior of the `MaybeMasked` type to preserve types unless otherwise specified. This change makes it easier to upgrade from older versions of the client where types could have unexpectedly changed in the application due to the default of trying to unwrap types into unmasked types. This change also fixes the compilation performance regression experienced when simply upgrading the client since types are now preserved by default. A new `mode` option has now been introduced to allow for the old behavior. See the next section on migrating if you wish to maintain the old default behavior after upgrading to this version. ##### Migrating from <= v3.12.4 If you've adopted data masking and have opted in to using masked types by setting the `enabled` property to `true`, you can remove this configuration entirely: ```diff -declare module "@​apollo/client" { - interface DataMasking { - mode: "unmask" - } -} ``` If you prefer to specify the behavior explicitly, change the property from `enabled: true`, to `mode: "preserveTypes"`: ```diff declare module "@​apollo/client" { interface DataMasking { - enabled: true + mode: "preserveTypes" } } ``` If you rely on the default behavior in 3.12.4 or below and would like to continue to use unmasked types by default, set the `mode` to `unmask`: ```ts declare module "@​apollo/client" { interface DataMasking { mode: "unmask"; } } ``` ### [`v3.12.4`](https://redirect.github.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#3124) [Compare Source](https://redirect.github.com/apollographql/apollo-client/compare/v3.12.3...v3.12.4) ##### Patch Changes - [#​12236](https://redirect.github.com/apollographql/apollo-client/pull/12236) [`4334d30`](https://redirect.github.com/apollographql/apollo-client/commit/4334d30cc3fbedb4f736eff196c49a9f20a46704) Thanks [@​charpeni](https://redirect.github.com/charpeni)! - Fix an issue with `refetchQueries` where comparing `DocumentNode`s internally by references could lead to an unknown query, even though the `DocumentNode` was indeed an active queryβ€”with a different reference. ### [`v3.12.3`](https://redirect.github.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#3123) [Compare Source](https://redirect.github.com/apollographql/apollo-client/compare/v3.12.2...v3.12.3) ##### Patch Changes - [#​12214](https://redirect.github.com/apollographql/apollo-client/pull/12214) [`8bfee88`](https://redirect.github.com/apollographql/apollo-client/commit/8bfee88102dd071ea5836f7267f30ca082671b2b) Thanks [@​phryneas](https://redirect.github.com/phryneas)! - Data masking: prevent infinite recursion of `ContainsFragmentsRefs` type - [#​12204](https://redirect.github.com/apollographql/apollo-client/pull/12204) [`851deb0`](https://redirect.github.com/apollographql/apollo-client/commit/851deb06f42eb255b4839c2b88430f991943ae0f) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Fix `Unmasked` unwrapping tuple types into an array of their subtypes. - [#​12204](https://redirect.github.com/apollographql/apollo-client/pull/12204) [`851deb0`](https://redirect.github.com/apollographql/apollo-client/commit/851deb06f42eb255b4839c2b88430f991943ae0f) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Ensure `MaybeMasked` does not try and unwrap types that contain index signatures. - [#​12204](https://redirect.github.com/apollographql/apollo-client/pull/12204) [`851deb0`](https://redirect.github.com/apollographql/apollo-client/commit/851deb06f42eb255b4839c2b88430f991943ae0f) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Ensure `MaybeMasked` does not try to unwrap the type as `Unmasked` if the type contains `any`. ### [`v3.12.2`](https://redirect.github.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#3122) [Compare Source](https://redirect.github.com/apollographql/apollo-client/compare/v3.12.1...v3.12.2) ##### Patch Changes - [#​12175](https://redirect.github.com/apollographql/apollo-client/pull/12175) [`84af347`](https://redirect.github.com/apollographql/apollo-client/commit/84af347d53bc31df4a6a90a55e7c98413144376a) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Update peer deps to allow for React 19 stable release. ### [`v3.12.1`](https://redirect.github.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#3121) [Compare Source](https://redirect.github.com/apollographql/apollo-client/compare/v3.12.0...v3.12.1) ##### Patch Changes - [#​12171](https://redirect.github.com/apollographql/apollo-client/pull/12171) [`e1efe74`](https://redirect.github.com/apollographql/apollo-client/commit/e1efe74c61b5f31fdd122ff8f4ce01012d0f5398) Thanks [@​phryneas](https://redirect.github.com/phryneas)! - Fix import extension in masking entry point. ### [`v3.12.0`](https://redirect.github.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#3120) [Compare Source](https://redirect.github.com/apollographql/apollo-client/compare/v3.11.10...v3.12.0) ##### Minor Changes ##### Data masking 🎭 - [#​12042](https://redirect.github.com/apollographql/apollo-client/pull/12042) [`1c0ecbf`](https://redirect.github.com/apollographql/apollo-client/commit/1c0ecbf3c0454056853dd3dcb493dfd5fa1a96b1) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Introduces data masking in Apollo Client. Data masking enforces that only the fields requested by the query or fragment is available to that component. Data masking is best paired with [colocated fragments](https://www.apollographql.com/docs/react/data/fragments#colocating-fragments). To enable data masking in Apollo Client, set the `dataMasking` option to `true`. ```ts new ApolloClient({ dataMasking: true, // ... other options }); ``` For detailed information on data masking, including how to incrementally adopt it in an existing applications, see the [data masking documentation](https://www.apollographql.com/docs/react/data/fragments#data-masking). - [#​12131](https://redirect.github.com/apollographql/apollo-client/pull/12131) [`21c3f08`](https://redirect.github.com/apollographql/apollo-client/commit/21c3f083013445707b7b50ae6390318bc568d0f5) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Allow `null` as a valid `from` value in `useFragment`.

More Patch Changes

- [#​12126](https://redirect.github.com/apollographql/apollo-client/pull/12126) [`d10d702`](https://redirect.github.com/apollographql/apollo-client/commit/d10d702ee9bd4d1d1dee2551821140f2c49d5c0c) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Maintain the existing document if its unchanged by the codemod and move to more naive whitespace formatting - [#​12150](https://redirect.github.com/apollographql/apollo-client/pull/12150) [`9ed1e1e`](https://redirect.github.com/apollographql/apollo-client/commit/9ed1e1ef02b28445614fed4f5c141a289ac32d66) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Fix issue when using `Unmasked` with older versions of TypeScript when used with array fields. - [#​12116](https://redirect.github.com/apollographql/apollo-client/pull/12116) [`8ae6e4e`](https://redirect.github.com/apollographql/apollo-client/commit/8ae6e4e5cec296c3910fdffb0ce51a0f5f06c5d3) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Prevent field accessor warnings when using `@unmask(mode: "migrate")` on objects that are passed into `cache.identify`. - [#​12120](https://redirect.github.com/apollographql/apollo-client/pull/12120) [`6a98e76`](https://redirect.github.com/apollographql/apollo-client/commit/6a98e76af5c800a91a748c498611b55c33e02c68) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Provide a codemod that applies `@unmask` to all named fragments for all operations and fragments. Learn how to use the codemod in the [incremental adoption documentation](https://www.apollographql.com/docs/react/data/fragments#incremental-adoption-in-an-existing-application). - [#​12134](https://redirect.github.com/apollographql/apollo-client/pull/12134) [`cfaf4ef`](https://redirect.github.com/apollographql/apollo-client/commit/cfaf4efc6dea56ae46a5b5199d8ed9414b0f17d8) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Fix issue where data went missing when an unmasked fragment in migrate mode selected fields that the parent did not. - [#​12154](https://redirect.github.com/apollographql/apollo-client/pull/12154) [`d933def`](https://redirect.github.com/apollographql/apollo-client/commit/d933def986d476cd64321059299ab15031297f04) Thanks [@​phryneas](https://redirect.github.com/phryneas)! - Data masking types: handle overlapping nested array types and fragments on interface types. - [#​12139](https://redirect.github.com/apollographql/apollo-client/pull/12139) [`5a53e15`](https://redirect.github.com/apollographql/apollo-client/commit/5a53e15e713e5eb2ebc9216615ea1a845fad2685) Thanks [@​phryneas](https://redirect.github.com/phryneas)! - Fix issue where masked data would sometimes get returned when the field was part of a child fragment from a fragment unmasked by the parent query. - [#​12123](https://redirect.github.com/apollographql/apollo-client/pull/12123) [`8422a30`](https://redirect.github.com/apollographql/apollo-client/commit/8422a305eff861fc8f953731e92c860f555bd99a) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Warn when using data masking with "no-cache" operations. - [#​12139](https://redirect.github.com/apollographql/apollo-client/pull/12139) [`5a53e15`](https://redirect.github.com/apollographql/apollo-client/commit/5a53e15e713e5eb2ebc9216615ea1a845fad2685) Thanks [@​phryneas](https://redirect.github.com/phryneas)! - Fix issue where the warning emitted by `@unmask(mode: "migrate")` would trigger unnecessarily when the fragment was used alongside a masked fragment inside an inline fragment. - [#​12114](https://redirect.github.com/apollographql/apollo-client/pull/12114) [`1d4ce00`](https://redirect.github.com/apollographql/apollo-client/commit/1d4ce0034395147445165022f7d23f42ff638d8a) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Fix error when combining `@unmask` and `@defer` directives on a fragment spread when data masking is enabled. - [#​12130](https://redirect.github.com/apollographql/apollo-client/pull/12130) [`1e7d009`](https://redirect.github.com/apollographql/apollo-client/commit/1e7d009e4a52949dab0065f3219dfe148837531e) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Fix error thrown when applying unmask migrate mode warnings on interface types with selection sets that contain inline fragment conditions. - [#​12152](https://redirect.github.com/apollographql/apollo-client/pull/12152) [`78137ec`](https://redirect.github.com/apollographql/apollo-client/commit/78137eccba90b80dd29bd8e1423b49ebe51ef8df) Thanks [@​phryneas](https://redirect.github.com/phryneas)! - Add a helper that will skip the TS unmasking alorithm when no fragments are present on type level - [#​12126](https://redirect.github.com/apollographql/apollo-client/pull/12126) [`d10d702`](https://redirect.github.com/apollographql/apollo-client/commit/d10d702ee9bd4d1d1dee2551821140f2c49d5c0c) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Ensure documents unchanged by the codemod are left untouched. - [#​12133](https://redirect.github.com/apollographql/apollo-client/pull/12133) [`a6ece37`](https://redirect.github.com/apollographql/apollo-client/commit/a6ece375119ce12c19749471c55b0059843a7217) Thanks [@​jerelmiller](https://redirect.github.com/jerelmiller)! - Ensure `null` is retained in nullable types when unmasking a type with the `Unmasked` helper type. - [#​12139](https://redirect.github.com/apollographql/apollo-client/pull/12139) [`5a53e15`](https://redirect.github.com/apollographql/apollo-client/commit/5a53e15e713e5eb2ebc9216615ea1a845fad2685) Thanks [@​phryneas](https://redirect.github.com/phryneas)! - Fix issue that threw errors when masking partial data with `@unmask(mode: "migrate")`.
apollographql/apollo-client-nextjs (@​apollo/experimental-nextjs-app-support) ### [`v0.11.7`](https://redirect.github.com/apollographql/apollo-client-nextjs/compare/a2f7862f2c950f63ed1f7587f59bef710acac6ee...6273f6c2031b847ca8ccee9d2c4aa044b77a1ba8) [Compare Source](https://redirect.github.com/apollographql/apollo-client-nextjs/compare/a2f7862f2c950f63ed1f7587f59bef710acac6ee...6273f6c2031b847ca8ccee9d2c4aa044b77a1ba8)
apollographql/apollo-server (@​apollo/server) ### [`v4.11.3`](https://redirect.github.com/apollographql/apollo-server/blob/HEAD/packages/server/CHANGELOG.md#4113) [Compare Source](https://redirect.github.com/apollographql/apollo-server/compare/@apollo/server@4.11.2...@apollo/server@4.11.3) ##### Patch Changes - [#​8010](https://redirect.github.com/apollographql/apollo-server/pull/8010) [`f4228e8`](https://redirect.github.com/apollographql/apollo-server/commit/f4228e88509b4cd2f50cf10bc6376d48488e03c1) Thanks [@​glasser](https://redirect.github.com/glasser)! - Compatibility with Next.js Turbopack. Fixes [#​8004](https://redirect.github.com/apollographql/apollo-server/issues/8004).
apollographql/apollo-server (@​apollo/server-plugin-response-cache) ### [`v4.1.4`](https://redirect.github.com/apollographql/apollo-server/blob/HEAD/packages/plugin-response-cache/CHANGELOG.md#414) [Compare Source](https://redirect.github.com/apollographql/apollo-server/compare/@apollo/server-plugin-response-cache@4.1.3...@apollo/server-plugin-response-cache@4.1.4) ##### Patch Changes - [#​8010](https://redirect.github.com/apollographql/apollo-server/pull/8010) [`f4228e8`](https://redirect.github.com/apollographql/apollo-server/commit/f4228e88509b4cd2f50cf10bc6376d48488e03c1) Thanks [@​glasser](https://redirect.github.com/glasser)! - Compatibility with Next.js Turbopack. Fixes [#​8004](https://redirect.github.com/apollographql/apollo-server/issues/8004).

Configuration

πŸ“… Schedule: Branch creation - At any time (no schedule defined), 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.

πŸ‘» Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR was generated by Mend Renovate. View the repository job log.

github-actions[bot] commented 1 month ago

The latest updates on your projects.

Name Status Preview Updated (UTC)
docs βœ… Ready docs preview Sat Jan 18 13:41:15 NZDT 2025
github-actions[bot] commented 1 month ago

The latest updates on your projects.

Name Status Preview Updated (UTC)
arclight βœ… Ready arclight preview Sat Jan 18 13:42:25 NZDT 2025
github-actions[bot] commented 1 month ago

The latest updates on your projects.

Name Status Preview Updated (UTC)
journeys βœ… Ready journeys preview Sat Jan 18 13:43:13 NZDT 2025
github-actions[bot] commented 1 month ago

The latest updates on your projects.

Name Status Preview Updated (UTC)
short-links βœ… Ready short-links preview Sat Jan 18 13:43:26 NZDT 2025
github-actions[bot] commented 1 month ago

The latest updates on your projects.

Name Status Preview Updated (UTC)
journeys-admin βœ… Ready journeys-admin preview Sat Jan 18 13:43:56 NZDT 2025
github-actions[bot] commented 1 month ago

The latest updates on your projects.

Name Status Preview Updated (UTC)
videos-admin βœ… Ready videos-admin preview Sat Jan 18 13:44:16 NZDT 2025
github-actions[bot] commented 1 month ago

The latest updates on your projects.

Name Status Preview Updated (UTC)
watch βœ… Ready watch preview Sat Jan 18 13:44:25 NZDT 2025