[Snyk] Upgrade @apollo/client from 3.11.1 to 3.11.8 #47
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.11.1 to 3.11.8.
ℹ️ 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 7 versions ahead of your current version.
The recommended version was released on a month ago.
Release notes
Package name: @apollo/client
-
3.11.8 - 2024-09-05
- #12054
-
3.11.7 - 2024-09-04
- #12052
-
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
- #11980
-
3.11.1 - 2024-07-23
-
-
from @apollo/client GitHub release notesPatch Changes
35cf186Thanks @ phryneas! - Fixed a bug where incorrect object access in some Safari extensions could cause a crash.Patch Changes
e471cefThanks @ jerelmiller! - Fixes a regression from where passing an invalid identifier tofrominuseFragmentwould result in the warningTypeError: Cannot read properties of undefined (reading '__typename').Patch Changes
#12049
9c26892Thanks @ phryneas and @ maciesielka! - Fix a bug whereuseFragmentdid not re-render as expected#12044
04462a2Thanks @ DoctorJohn! - Cache theuseSubscriptionhook'srestartfunction definition between re-renders.Patch Changes
#12027
eb3e21bThanks @ JavaScriptBach! - TypeMutationResult.resetas an arrow function#12020
82d8cb4Thanks @ jerelmiller! - Better conform to Rules of React by avoiding write of ref in render foruseFragment.Patch Changes
#11994
41b17e5Thanks @ jerelmiller! - Update theModifierfunction type to allowcache.modifyto return deeply partial data.#11989
e609156Thanks @ phryneas! - Fix a potential crash when callingclearStorewhile a query was running.Previously, calling
client.clearStore()while a query was running had one of these results:useQuerywould stay in aloading: truestate.useLazyQuerywould stay in aloading: truestate, but also crash with a"Cannot read property 'data' of undefined"error.Now, in both cases, the hook will enter an error state with a
networkError, and the promise returned by theuseLazyQueryexecutefunction will return a result in an error state.#11994
41b17e5Thanks @ jerelmiller! - Prevent accidental distribution oncache.modifyfield modifiers when a field is a union type array.Patch Changes
#11984
5db1659Thanks @ jerelmiller! - Fix an issue where multiple fetches with results that returned errors would sometimes set thedataproperty with anerrorPolicyofnone.#11974
c95848eThanks @ jerelmiller! - Fix an issue wherefetchMorewould write its result data to the cache when using it with ano-cachefetch policy.#11974
c95848eThanks @ jerelmiller! - Fix an issue where executingfetchMorewith ano-cachefetch policy could sometimes result in multiple network requests.#11974
c95848eThanks @ jerelmiller! -Potentially disruptive change
When calling
fetchMorewith a query that has ano-cachefetch policy,fetchMorewill now throw if anupdateQueryfunction is not provided. This provides a mechanism to merge the results from thefetchMorecall with the query's previous result.Patch Changes
38c0a2cThanks @ jerelmiller! - Fix missinggetServerSnapshoterror when usinguseSubscriptionon the server.Patch Changes
#11969
061cab6Thanks @ jerelmiller! - Remove check forwindow.__APOLLO_CLIENT__when determining whether to connect to Apollo Client Devtools whenconnectToDevtoolsordevtools.enabledis not specified. This now simply checks to see if the application is in development mode.#11971
ecf77f6Thanks @ jerelmiller! - Prevent thesetTimeoutfor suggesting devtools from running in non-browser environments.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: