Skip to content

Conversation

@shafeeqd959
Copy link
Contributor

snyk-top-banner

Snyk has created this PR to upgrade @apollo/client from 3.14.0 to 4.0.7.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 46 versions ahead of your current version.

  • The recommended version was released a month ago.

⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

Release notes
Package name: @apollo/client
  • 4.0.7 - 2025-09-30

    Patch Changes

  • 4.0.6 - 2025-09-25

    Patch Changes

    • #12937 3b0d89b Thanks @ phryneas! - Fix a problem with fetchMore where the loading state wouldn't reset if the result wouldn't result in a data update.
  • 4.0.5 - 2025-09-12

    Patch Changes

  • 4.0.4 - 2025-09-02

    Patch Changes

    • #12892 db8a04b Thanks @ jerelmiller! - Prevent unhandled rejections from the promise returned by calling the mutate function from the useMutation hook.

    • #12899 5352c12 Thanks @ phryneas! - Fix an issue when invariant is called by external libraries when no dev error message handler is loaded.

    • #12895 71f2517 Thanks @ jerelmiller! - Support skipToken with useQuery to provide a more type-safe way to skip query execution.

      import { skipToken, useQuery } from "@ apollo/client/react";

      // Use skipToken in place of skip: true for better type safety
      // for required variables
      const { data } = useQuery(QUERY, id ? { variables: { id } } : skipToken);

      Note: this change is provided as a patch within the 4.0 minor version because the changes to TypeScript validation with required variables in version 4.0 made using the skip option more difficult.

    • #12900 c0d5be7 Thanks @ phryneas! - Use named export equal instead of default from "@ wry/equality"

  • 4.0.3 - 2025-08-29
  • 4.0.2 - 2025-08-27
  • 4.0.1 - 2025-08-25
  • 4.0.0 - 2025-08-21
  • 4.0.0-rc.13 - 2025-08-20
  • 4.0.0-rc.12 - 2025-08-15
  • 4.0.0-rc.11 - 2025-08-14
  • 4.0.0-rc.10 - 2025-08-13
  • 4.0.0-rc.9 - 2025-08-07
  • 4.0.0-rc.8 - 2025-08-05
  • 4.0.0-rc.7 - 2025-08-01
  • 4.0.0-rc.6 - 2025-07-28
  • 4.0.0-rc.5 - 2025-07-18
  • 4.0.0-rc.4 - 2025-07-08
  • 4.0.0-rc.3 - 2025-07-01
  • 4.0.0-rc.2 - 2025-06-27
  • 4.0.0-rc.1 - 2025-06-24
  • 4.0.0-rc.0 - 2025-06-18
  • 4.0.0-alpha.23 - 2025-06-18
  • 4.0.0-alpha.22 - 2025-06-13
  • 4.0.0-alpha.21 - 2025-06-10
  • 4.0.0-alpha.20 - 2025-06-06
  • 4.0.0-alpha.19 - 2025-06-05
  • 4.0.0-alpha.18 - 2025-06-05
  • 4.0.0-alpha.17 - 2025-06-03
  • 4.0.0-alpha.16 - 2025-05-28
  • 4.0.0-alpha.15 - 2025-05-23
  • 4.0.0-alpha.14 - 2025-05-21
  • 4.0.0-alpha.13 - 2025-05-14
  • 4.0.0-alpha.12 - 2025-04-29
  • 4.0.0-alpha.11 - 2025-04-23
  • 4.0.0-alpha.10 - 2025-04-17
  • 4.0.0-alpha.9 - 2025-04-11
  • 4.0.0-alpha.8 - 2025-04-10
  • 4.0.0-alpha.7 - 2025-04-03
  • 4.0.0-alpha.6 - 2025-04-01
  • 4.0.0-alpha.5 - 2025-03-31
  • 4.0.0-alpha.4 - 2025-03-24
  • 4.0.0-alpha.3 - 2025-03-20
  • 4.0.0-alpha.2 - 2025-03-19
  • 4.0.0-alpha.1 - 2025-03-14
  • 4.0.0-alpha.0 - 2025-03-13
  • 3.14.0 - 2025-08-21
from @apollo/client GitHub release notes

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade @apollo/client from 3.14.0 to 4.0.7.

See this package in npm:
@apollo/client

See this project in Snyk:
https://app.snyk.io/org/contentstack-devex/project/867008ba-2013-42f6-a7b0-589cb3379a47?utm_source=github&utm_medium=referral&page=upgrade-pr
@shafeeqd959 shafeeqd959 requested a review from a team as a code owner November 13, 2025 00:03
@github-actions
Copy link

Coverage report for commit: 18bce8f
File: coverage/clover.xml

Cover ┌─────────────────────────┐ Freq.
   0% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  10% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  20% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  30% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  40% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  50% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  60% │ ███░░░░░░░░░░░░░░░░░░░░ │  4.2%
  70% │ █████████░░░░░░░░░░░░░░ │ 16.7%
  80% │ █████████░░░░░░░░░░░░░░ │ 16.7%
  90% │ █████████░░░░░░░░░░░░░░ │ 16.7%
 100% │ ███████████████████████ │ 45.8%
      └─────────────────────────┘
 *Legend:* █ = Current Distribution 
Summary - Lines: 79.58% | Methods: 76.13% | Branches: 56.94%
FilesLinesMethodsBranches
src
   app-cli-base-command.ts80.00%100.00%50.00%
   base-command.ts80.00%80.00%46.88%
src/commands/app
   create.ts83.11%95.00%67.44%
   delete.ts87.50%100.00%73.47%
   deploy.ts62.79%70.00%50.55%
   get.ts100.00%100.00%74.07%
   index.ts66.67%--
   install.ts90.00%100.00%57.80%
   reinstall.ts90.24%100.00%57.02%
   uninstall.ts100.00%100.00%63.41%
   update.ts71.05%50.00%75.76%
src/config
   index.ts100.00%100.00%100.00%
src/factories
   uninstall-app-factory.ts100.00%100.00%100.00%
src/graphql
   queries.ts100.00%100.00%100.00%
src/messages
   index.ts100.00%100.00%50.00%
src/strategies
   uninstall-all.ts100.00%100.00%100.00%
   uninstall-selected.ts91.67%100.00%50.00%
src/types
   app.ts100.00%100.00%100.00%
   index.ts100.00%100.00%100.00%
src/util
   common-utils.ts69.93%61.29%27.35%
   fs.ts95.24%100.00%83.33%
   index.ts100.00%100.00%100.00%
   inquirer.ts77.40%75.00%57.55%
   log.ts71.93%66.67%48.15%

🤖 comment via lucassabreu/comment-coverage-clover

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants