Skip to content

Conversation

@nejidevelops
Copy link
Owner

snyk-top-banner

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

ℹ️ 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 131 versions ahead of your current version.

  • The recommended version was released a month ago.

Release notes
Package name: @apollo/client
  • 3.14.0 - 2025-08-21

    Minor Changes

    • #12752 8b779b4 Thanks @ jerelmiller! - Add deprecations and warnings to remaining APIs changed in Apollo Client 4.0.

    • #12746 0bcd2f4 Thanks @ jerelmiller! - Add warnings and deprecations for options and methods for all React APIs.

    • #12751 567cad8 Thanks @ jerelmiller! - Add @ deprecated tags to all properties returned from any query API (e.g. client.query, observableQuery.refetch, etc.), client.mutate, and client.subscribe that are no longer available in Apollo Client 4.0.

    • #12746 0bcd2f4 Thanks @ jerelmiller! - Add preloadQuery.toPromise(queryRef) as a replacement for queryRef.toPromise(). queryRef.toPromise() has been removed in Apollo Client 4.0 in favor of preloadQuery.toPromise and is now considered deprecated.

    • #12736 ea89440 Thanks @ jerelmiller! - Add deprecations and deprecation warnings for ApolloClient options and methods.

    • #12763 5de6a3d Thanks @ jerelmiller! - Version bump only to release latest as rc.

    • #12459 1c5a031 Thanks @ jerelmiller! - Reset addTypenameTransform and fragments caches when calling cache.gc() only when resetResultCache is true.

    • #12743 92ad409 Thanks @ jerelmiller! - Add deprecations and warnings for addTypename in InMemoryCache and MockedProvider.

    • #12743 92ad409 Thanks @ jerelmiller! - Add deprecations and warnings for canonizeResults.

    • #12751 567cad8 Thanks @ jerelmiller! - Warn when using a standby fetch policy with client.query.

    Patch Changes

    • #12750 ecf3de1 Thanks @ phryneas! - Prevent field policies from overwriting/merging into supertype field policies.
  • 3.14.0-rc.0 - 2025-07-07
  • 3.14.0-alpha.1 - 2025-07-01
  • 3.14.0-alpha.0 - 2025-06-27
  • 3.13.9 - 2025-07-29
  • 3.13.9-rc.0 - 2025-06-18
  • 3.13.8 - 2025-04-17
  • 3.13.7 - 2025-04-10
  • 3.13.6 - 2025-04-04
  • 3.13.5 - 2025-03-20
  • 3.13.4 - 2025-03-10
  • 3.13.3 - 2025-03-07
  • 3.13.2 - 2025-03-06
  • 3.13.1 - 2025-02-14
  • 3.13.0 - 2025-02-13
  • 3.13.0-rc.0 - 2025-02-07
  • 3.12.11 - 2025-02-07
  • 3.12.10 - 2025-02-06
  • 3.12.9 - 2025-02-03
  • 3.12.8 - 2025-01-27
  • 3.12.7 - 2025-01-22
  • 3.12.6 - 2025-01-14
  • 3.12.5 - 2025-01-09
  • 3.12.4 - 2024-12-19
  • 3.12.3 - 2024-12-12
  • 3.12.2 - 2024-12-05
  • 3.12.1 - 2024-12-05
  • 3.12.0 - 2024-12-04
  • 3.12.0-rc.4 - 2024-11-27
  • 3.12.0-rc.3 - 2024-11-20
  • 3.12.0-rc.2 - 2024-11-19
  • 3.12.0-rc.1 - 2024-11-15
  • 3.12.0-rc.0 - 2024-11-13
  • 3.12.0-alpha.0 - 2024-10-01
  • 3.11.11-rc.0 - 2024-11-13
  • 3.11.10 - 2024-11-11
  • 3.11.9 - 2024-11-07
  • 3.11.8 - 2024-09-05
  • 3.11.7 - 2024-09-04
  • 3.11.6 - 2024-09-03
  • 3.11.5 - 2024-08-28
  • 3.11.4 - 2024-08-07
  • 3.11.3 - 2024-08-05
  • 3.11.2 - 2024-07-31
  • 3.11.1 - 2024-07-23
  • 3.11.0 - 2024-07-22
  • 3.11.0-rc.2 - 2024-07-15
  • 3.11.0-rc.1 - 2024-07-10
  • 3.11.0-rc.0 - 2024-07-09
  • 3.10.8 - 2024-06-27
  • 3.10.7 - 2024-06-26
  • 3.10.6 - 2024-06-21
  • 3.10.5 - 2024-06-12
  • 3.10.4 - 2024-05-15
  • 3.10.3 - 2024-05-07
  • 3.10.2 - 2024-05-03
  • 3.10.1 - 2024-04-24
  • 3.10.0 - 2024-04-24
  • 3.10.0-rc.1 - 2024-04-15
  • 3.10.0-rc.0 - 2024-04-02
  • 3.10.0-alpha.1 - 2024-03-18
  • 3.9.11 - 2024-04-10
  • 3.9.10 - 2024-04-01
  • 3.9.9 - 2024-03-22
  • 3.9.8 - 2024-03-20
  • 3.9.7 - 2024-03-13
  • 3.9.6 - 2024-03-06
  • 3.9.5 - 2024-02-15
  • 3.9.4 - 2024-02-07
  • 3.9.3 - 2024-02-06
  • 3.9.2 - 2024-02-01
  • 3.9.1 - 2024-01-31
  • 3.9.0 - 2024-01-30
  • 3.9.0-rc.1 - 2024-01-18
  • 3.9.0-rc.0 - 2024-01-17
  • 3.9.0-beta.1 - 2023-12-21
  • 3.9.0-beta.0 - 2023-12-18
  • 3.9.0-alpha.5 - 2023-12-05
  • 3.9.0-alpha.4 - 2023-11-08
  • 3.9.0-alpha.3 - 2023-11-02
  • 3.9.0-alpha.2 - 2023-10-11
  • 3.9.0-alpha.1 - 2023-09-21
  • 3.9.0-alpha.0 - 2023-09-19
  • 3.8.10 - 2024-01-18
  • 3.8.9 - 2024-01-09
  • 3.8.8 - 2023-11-29
  • 3.8.7 - 2023-11-02
  • 3.8.6 - 2023-10-16
  • 3.8.5 - 2023-10-05
  • 3.8.4 - 2023-09-19
  • 3.8.3 - 2023-09-05
  • 3.8.2 - 2023-09-01
  • 3.8.1 - 2023-08-10
  • 3.8.0 - 2023-08-07
  • 3.8.0-rc.2 - 2023-08-01
  • 3.8.0-rc.1 - 2023-07-17
  • 3.8.0-rc.0 - 2023-07-13
  • 3.8.0-beta.7 - 2023-07-10
  • 3.8.0-beta.6 - 2023-07-05
  • 3.8.0-beta.5 - 2023-06-28
  • 3.8.0-beta.4 - 2023-06-20
  • 3.8.0-beta.3 - 2023-06-15
  • 3.8.0-beta.2 - 2023-06-07
  • 3.8.0-beta.1 - 2023-05-31
  • 3.8.0-beta.0 - 2023-05-26
  • 3.8.0-alpha.15 - 2023-05-17
  • 3.8.0-alpha.14 - 2023-05-16
  • 3.8.0-alpha.13 - 2023-05-03
  • 3.8.0-alpha.12 - 2023-04-13
  • 3.8.0-alpha.11 - 2023-03-28
  • 3.8.0-alpha.10 - 2023-03-17
  • 3.8.0-alpha.9 - 2023-03-15
  • 3.8.0-alpha.8 - 2023-03-02
  • 3.8.0-alpha.7 - 2023-02-15
  • 3.8.0-alpha.6 - 2023-02-07
  • 3.8.0-alpha.5 - 2023-01-19
  • 3.8.0-alpha.4 - 2023-01-13
  • 3.8.0-alpha.3 - 2023-01-03
  • 3.8.0-alpha.2 - 2022-12-21
  • 3.8.0-alpha.1 - 2022-12-21
  • 3.8.0-alpha.0 - 2022-12-09
  • 3.7.17 - 2023-07-05
  • 3.7.16 - 2023-06-20
  • 3.7.15 - 2023-05-26
  • 3.7.14 - 2023-05-03
  • 3.7.13 - 2023-04-27
  • 3.7.12 - 2023-04-12
  • 3.7.11 - 2023-03-31
  • 3.7.10 - 2023-03-02
  • 3.7.9 - 2023-02-17
  • 3.7.8 - 2023-02-15
  • 3.7.7 - 2023-02-03
from @apollo/client GitHub release notes

Important

  • 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.7.7 to 3.14.0.

See this package in npm:
@apollo/client

See this project in Snyk:
https://app.snyk.io/org/mohammadnewton/project/400f860f-8727-4b6f-a304-90984fad4877?utm_source=github&utm_medium=referral&page=upgrade-pr
@gemini-code-assist
Copy link

Summary of Changes

Hello @nejidevelops, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request updates the @apollo/client dependency to its latest stable version, 3.14.0. This significant upgrade brings the project up-to-date with the latest features, performance improvements, and bug fixes from the Apollo Client ecosystem. Crucially, it also includes forward-looking changes by adding deprecation warnings for APIs that will be removed in Apollo Client 4.0, facilitating a smoother transition for future major upgrades.

Highlights

  • Dependency Upgrade: The @apollo/client package has been upgraded from version 3.7.7 to 3.14.0, incorporating 131 versions worth of updates and improvements.
  • Apollo Client 4.0 Preparation: The new version introduces numerous deprecations and warnings for APIs that are slated for removal or change in the upcoming Apollo Client 4.0, aiding in future migration efforts.
  • Field Policy Fix: A patch change prevents field policies from unintentionally overwriting or merging into supertype field policies, ensuring more predictable cache behavior.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request, automatically generated by Snyk, upgrades @apollo/client from version 3.7.7 to 3.14.0. This is a substantial update, covering 131 versions.

Based on the release notes, version 3.14.0 appears to be a non-breaking change that primarily introduces deprecation warnings for APIs that will be altered or removed in the upcoming Apollo Client v4. This is beneficial as it helps in preparing the application for future upgrades.

Given the large number of intermediate versions, there is a potential risk of encountering subtle behavioral changes or regressions. It is highly recommended to perform thorough regression testing across all parts of the application that interact with Apollo Client to ensure continued stability and correctness.

The modifications to package.json and package-lock.json are correct and consistent with this dependency upgrade.

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