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.13.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 124 versions ahead of your current version.

  • The recommended version was released 25 days ago.

Release notes
Package name: @apollo/client
  • 3.13.7 - 2025-04-10

    Patch Changes

    • #12540 0098932 Thanks @ phryneas! - Refactor: Move notification scheduling logic from QueryInfo to ObservableQuery

    • #12540 0098932 Thanks @ phryneas! - Refactored cache emit logic for ObservableQuery. This should be an invisible change.

  • 3.13.6 - 2025-04-04

    Patch Changes

    • #12285 cdc55ff Thanks @ phryneas! - keep ObservableQuery created by useQuery non-active before it is first subscribed
  • 3.13.5 - 2025-03-20

    Patch Changes

    • #12461 12c8d06 Thanks @ jerelmiller! - Fix an issue where a cache-first query would return the result for previous variables when a cache update is issued after simultaneously changing variables and skipping the query.
  • 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.13.7.

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
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.

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!

Summary of Changes

This pull request upgrades the @apollo/client package from version 3.7.7 to 3.13.7. This is an automated upgrade PR generated by Snyk to keep dependencies up-to-date and address potential vulnerabilities. The changes primarily involve updating the package-lock.json and package.json files to reflect the new version and its associated dependencies. Several sub-dependencies like @wry/caches, @wry/equality, @wry/trie, and optimism are also updated as part of this process. Some older dependencies like response-iterator and string_decoder were removed, while new dependencies like rehackt and lru_map were added.

Highlights

  • Dependency Upgrade: The core change is upgrading @apollo/client from 3.7.7 to 3.13.7, bringing in numerous bug fixes, performance improvements, and new features from the Apollo Client ecosystem.
  • Sub-dependency Updates: Several sub-dependencies, including @wry/* packages and optimism, have been updated to versions compatible with the new @apollo/client version.
  • Dependency Changes: The update introduces new dependencies like rehackt and lru_map, while removing older ones like response-iterator and string_decoder, reflecting changes in the internal workings of @apollo/client.

Changelog

Click here to see the changelog
  • package-lock.json
    • Updated version of @apollo/client from 3.7.7 to 3.13.7.
    • Updated integrity hash for @apollo/client.
    • Updated versions of @wry/context, @wry/equality, and @wry/trie.
    • Updated version of optimism.
    • Removed response-iterator dependency.
    • Added @wry/caches and rehackt dependencies.
    • Marked @esbuild/* dependencies as dev: true.
    • Added lru_map dependency.
    • Removed duplicate string_decoder dependency.
  • package.json
    • Updated version of @apollo/client from 3.7.7 to 3.13.7.
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 in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

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 is currently in preview and 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 to provide feedback.

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.


A library's upgrade,
A new version takes the stage,
Bugs squashed, features gleam,
A smoother, faster stream,
Code evolves, page by page.

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

The pull request updates the @apollo/client dependency from version 3.7.7 to 3.13.7. This is a significant upgrade, encompassing 124 versions and incorporating numerous bug fixes, performance improvements, and new features. The PR includes updates to package-lock.json and package.json to reflect the new version and its dependencies. No specific style guide was provided, so the review focuses on correctness, efficiency, maintainability, and security aspects of the upgrade itself.

Merge Readiness

The pull request updates a core dependency. While the changes appear straightforward, it's crucial to ensure that the application's existing GraphQL queries, mutations, and cache configurations are fully compatible with the new Apollo Client version. Thorough testing, including integration and end-to-end tests, is highly recommended to verify the upgrade's correctness and prevent unexpected issues. I am unable to approve this pull request, and recommend that others review and approve this code before merging.

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