Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Apollo GraphQL packages #248

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 12, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
@apollo/client (source) ^3.12.2 -> ^3.12.8 age adoption passing confidence peerDependencies patch
@apollo/client (source) ^3.12.2 -> ^3.12.8 age adoption passing confidence devDependencies patch
@apollo/client (source) ^3.12.2 -> ^3.12.8 age adoption passing confidence dependencies patch
apollo-server-core (source) ^3.13.0 -> ^4.0.0 dependencies replacement
apollo-server-express (source) ^3.13.0 -> ^4.0.0 dependencies replacement

This is a special PR that replaces apollo-server-core with the community suggested minimal stable replacement version.

This is a special PR that replaces apollo-server-express with the community suggested minimal stable replacement version.


Release Notes

apollographql/apollo-client (@​apollo/client)

v3.12.8

Compare Source

Patch Changes

v3.12.7

Compare Source

Patch Changes

v3.12.6

Compare Source

Patch Changes

v3.12.5

Compare Source

Patch Changes
  • #​12252 cb9cd4e Thanks @​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:

-declare module "@&#8203;apollo/client" {
-  interface DataMasking {
-    mode: "unmask"
-  }
-}

If you prefer to specify the behavior explicitly, change the property from enabled: true, to mode: "preserveTypes":

declare module "@&#8203;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:

declare module "@&#8203;apollo/client" {
  interface DataMasking {
    mode: "unmask";
  }
}

v3.12.4

Compare Source

Patch Changes
  • #​12236 4334d30 Thanks @​charpeni! - Fix an issue with refetchQueries where comparing DocumentNodes 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

Compare Source

Patch Changes

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.


  • If you want to rebase/retry this PR, check this box

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

Copy link
Contributor Author

renovate bot commented Dec 12, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pnpm-lock.yaml
Scope: all 8 workspace projects
Progress: resolved 1, reused 0, downloaded 0, added 0
demo/admin                               |  WARN  deprecated @gitbeaker/[email protected]
Progress: resolved 26, reused 0, downloaded 24, added 0
demo/admin                               |  WARN  deprecated [email protected]
demo/admin                               |  WARN  deprecated [email protected]
Progress: resolved 37, reused 0, downloaded 35, added 0
Progress: resolved 42, reused 0, downloaded 40, added 0
Progress: resolved 47, reused 0, downloaded 45, added 0
Progress: resolved 51, reused 0, downloaded 49, added 0
Progress: resolved 52, reused 0, downloaded 50, added 0
Progress: resolved 60, reused 0, downloaded 58, added 0
Progress: resolved 60, reused 0, downloaded 59, added 0
Progress: resolved 84, reused 0, downloaded 82, added 0
Progress: resolved 93, reused 0, downloaded 91, added 0
Progress: resolved 103, reused 0, downloaded 101, added 0
Progress: resolved 121, reused 0, downloaded 119, added 0
Progress: resolved 135, reused 0, downloaded 133, added 0
Progress: resolved 143, reused 0, downloaded 141, added 0
Progress: resolved 143, reused 0, downloaded 142, added 0
Progress: resolved 165, reused 0, downloaded 164, added 0
Progress: resolved 166, reused 0, downloaded 166, added 0
Progress: resolved 166, reused 0, downloaded 167, added 0
Progress: resolved 189, reused 0, downloaded 175, added 0
Progress: resolved 219, reused 0, downloaded 204, added 0
Progress: resolved 271, reused 0, downloaded 257, added 0
Progress: resolved 371, reused 0, downloaded 357, added 0
Progress: resolved 431, reused 0, downloaded 417, added 0
Progress: resolved 447, reused 0, downloaded 433, added 0
Progress: resolved 483, reused 0, downloaded 472, added 0
Progress: resolved 503, reused 0, downloaded 492, added 0
Progress: resolved 514, reused 0, downloaded 503, added 0
Progress: resolved 546, reused 0, downloaded 535, added 0
Progress: resolved 587, reused 0, downloaded 576, added 0
Progress: resolved 640, reused 0, downloaded 629, added 0
Progress: resolved 674, reused 0, downloaded 663, added 0
Progress: resolved 738, reused 0, downloaded 727, added 0
Progress: resolved 774, reused 0, downloaded 763, added 0
Progress: resolved 826, reused 0, downloaded 824, added 0
Progress: resolved 886, reused 0, downloaded 885, added 0
Progress: resolved 967, reused 0, downloaded 966, added 0
Progress: resolved 1070, reused 0, downloaded 1069, added 0
Progress: resolved 1156, reused 0, downloaded 1155, added 0
Progress: resolved 1265, reused 0, downloaded 1257, added 0
Progress: resolved 1294, reused 0, downloaded 1283, added 0
Progress: resolved 1310, reused 0, downloaded 1295, added 0
Progress: resolved 1351, reused 0, downloaded 1320, added 0
Progress: resolved 1355, reused 0, downloaded 1331, added 0
Progress: resolved 1359, reused 0, downloaded 1344, added 0
Progress: resolved 1359, reused 0, downloaded 1345, added 0
Progress: resolved 1384, reused 0, downloaded 1370, added 0
Progress: resolved 1434, reused 0, downloaded 1420, added 0
Progress: resolved 1539, reused 0, downloaded 1526, added 0
Progress: resolved 1594, reused 0, downloaded 1579, added 0
Progress: resolved 1684, reused 0, downloaded 1671, added 0
Progress: resolved 1750, reused 0, downloaded 1737, added 0
Progress: resolved 1819, reused 0, downloaded 1807, added 0
Progress: resolved 1869, reused 0, downloaded 1857, added 0
Progress: resolved 1919, reused 0, downloaded 1907, added 0
Progress: resolved 1992, reused 0, downloaded 1980, added 0
Progress: resolved 2080, reused 0, downloaded 2070, added 0
Progress: resolved 2165, reused 0, downloaded 2153, added 0
Progress: resolved 2236, reused 0, downloaded 2227, added 0
Progress: resolved 2254, reused 0, downloaded 2244, added 0
Progress: resolved 2254, reused 0, downloaded 2245, added 0
Progress: resolved 2306, reused 0, downloaded 2298, added 0
Progress: resolved 2363, reused 0, downloaded 2355, added 0
Progress: resolved 2412, reused 0, downloaded 2404, added 0
 WARN  25 deprecated subdependencies found: @babel/[email protected], @babel/[email protected], @babel/[email protected], @babel/[email protected], @babel/[email protected], @babel/[email protected], @babel/[email protected], @humanwhocodes/[email protected], @humanwhocodes/[email protected], @types/[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Progress: resolved 2460, reused 0, downloaded 2452, added 0
Progress: resolved 2460, reused 0, downloaded 2452, added 0, done
 ERR_PNPM_PEER_DEP_ISSUES  Unmet peer dependencies

demo/api
└─┬ @apollo/server 4.11.3
  └── ✕ unmet peer graphql@^16.6.0: found 15.9.0

hint: If you don't want pnpm to fail on peer dependency issues, add "strict-peer-dependencies=false" to an .npmrc file at the root of your project.


@auto-assign auto-assign bot requested a review from raphaelblum December 12, 2024 15:18
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from fdb3a36 to 33fbe53 Compare December 12, 2024 19:27
@renovate renovate bot changed the title Replace Apollo GraphQL packages with @apollo/server ^4.0.0 Update Apollo GraphQL packages Dec 12, 2024
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 33fbe53 to c88a2ba Compare December 19, 2024 20:09
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch 2 times, most recently from 661df03 to 5b8b131 Compare January 15, 2025 03:46
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch 2 times, most recently from ebafdb1 to f2e1921 Compare January 23, 2025 09:53
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from f2e1921 to 8499e2d Compare January 27, 2025 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants