[Snyk] Upgrade @apollo/client from 3.14.0 to 4.0.7 #429
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Release notes
Package name: @apollo/client
-
4.0.7 - 2025-09-30
- #12950
-
4.0.6 - 2025-09-25
- #12937
-
4.0.5 - 2025-09-12
- #12920
-
4.0.4 - 2025-09-02
-
-
-
import { skipToken, useQuery } from "@ apollo/client/react";
-
-
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 notesPatch Changes
5b4f36aThanks @ jerelmiller! - Don't sendoperationTypein the payload sent byGraphQLWsLink.Patch Changes
3b0d89bThanks @ phryneas! - Fix a problem withfetchMorewhere the loading state wouldn't reset if the result wouldn't result in a data update.Patch Changes
e2fc385Thanks @ phryneas! - Fix an invariance type error in theMockedResponsetype.Patch Changes
#12892
db8a04bThanks @ jerelmiller! - Prevent unhandled rejections from the promise returned by calling themutatefunction from theuseMutationhook.#12899
5352c12Thanks @ phryneas! - Fix an issue wheninvariantis called by external libraries when no dev error message handler is loaded.#12895
71f2517Thanks @ jerelmiller! - SupportskipTokenwithuseQueryto provide a more type-safe way to skip query execution.// Use
skipTokenin place ofskip: truefor 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
skipoption more difficult.#12900
c0d5be7Thanks @ phryneas! - Use named exportequalinstead of default from"@ wry/equality"Important
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: