-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Snyk] Upgrade @apollo/client from 3.7.17 to 3.11.9 #1697
base: canary
Are you sure you want to change the base?
Conversation
Snyk has created this PR to upgrade @apollo/client from 3.7.17 to 3.11.9. See this package in npm: @apollo/client See this project in Snyk: https://app.snyk.io/org/sammyfilly/project/d6bf29b8-ebed-45e7-b3aa-f5b548b2b4f3?utm_source=github&utm_medium=referral&page=upgrade-pr
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Deployment failed with the following error:
|
Run & review this pull request in StackBlitz Codeflow. |
Reviewer's Guide by SourceryThis PR upgrades the @apollo/client package from version 3.7.17 to 3.11.9, which includes multiple bug fixes and improvements. The upgrade spans 85 versions and includes various patches for error handling, performance improvements, and bug fixes related to hooks and cache management. No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have skipped reviewing this pull request. Here's why:
- It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!
- We don't review packaging changes - Let us know if you'd like us to change this.
Snyk has created this PR to upgrade @apollo/client from 3.7.17 to 3.11.9.
ℹ️ 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 85 versions ahead of your current version.
The recommended version was released on 22 days ago.
Release notes
Package name: @apollo/client
Patch Changes
a3f95c6
Thanks @ jerelmiller! - Fix an issue where errors returned from afetchMore
call from a Suspense hook would cause a Suspense boundary to be shown indefinitely.Patch Changes
35cf186
Thanks @ phryneas! - Fixed a bug where incorrect object access in some Safari extensions could cause a crash.Patch Changes
e471cef
Thanks @ jerelmiller! - Fixes a regression from where passing an invalid identifier tofrom
inuseFragment
would result in the warningTypeError: Cannot read properties of undefined (reading '__typename')
.Patch Changes
#12049
9c26892
Thanks @ phryneas and @ maciesielka! - Fix a bug whereuseFragment
did not re-render as expected#12044
04462a2
Thanks @ DoctorJohn! - Cache theuseSubscription
hook'srestart
function definition between re-renders.Patch Changes
#12027
eb3e21b
Thanks @ JavaScriptBach! - TypeMutationResult.reset
as an arrow function#12020
82d8cb4
Thanks @ jerelmiller! - Better conform to Rules of React by avoiding write of ref in render foruseFragment
.Patch Changes
#11994
41b17e5
Thanks @ jerelmiller! - Update theModifier
function type to allowcache.modify
to return deeply partial data.#11989
e609156
Thanks @ phryneas! - Fix a potential crash when callingclearStore
while a query was running.Previously, calling
client.clearStore()
while a query was running had one of these results:useQuery
would stay in aloading: true
state.useLazyQuery
would stay in aloading: true
state, 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 theuseLazyQuery
execute
function will return a result in an error state.#11994
41b17e5
Thanks @ jerelmiller! - Prevent accidental distribution oncache.modify
field modifiers when a field is a union type array.Patch Changes
#11984
5db1659
Thanks @ jerelmiller! - Fix an issue where multiple fetches with results that returned errors would sometimes set thedata
property with anerrorPolicy
ofnone
.#11974
c95848e
Thanks @ jerelmiller! - Fix an issue wherefetchMore
would write its result data to the cache when using it with ano-cache
fetch policy.#11974
c95848e
Thanks @ jerelmiller! - Fix an issue where executingfetchMore
with ano-cache
fetch policy could sometimes result in multiple network requests.#11974
c95848e
Thanks @ jerelmiller! -Potentially disruptive change
When calling
fetchMore
with a query that has ano-cache
fetch policy,fetchMore
will now throw if anupdateQuery
function is not provided. This provides a mechanism to merge the results from thefetchMore
call with the query's previous result.Patch Changes
38c0a2c
Thanks @ jerelmiller! - Fix missinggetServerSnapshot
error when usinguseSubscription
on the server.Patch Changes
#11969
061cab6
Thanks @ jerelmiller! - Remove check forwindow.__APOLLO_CLIENT__
when determining whether to connect to Apollo Client Devtools whenconnectToDevtools
ordevtools.enabled
is not specified. This now simply checks to see if the application is in development mode.#11971
ecf77f6
Thanks @ jerelmiller! - Prevent thesetTimeout
for 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:
Summary by Sourcery
Build: