[Snyk] Upgrade @apollo/client from 3.0.0-beta.44 to 3.9.11 #556
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.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade @apollo/client from 3.0.0-beta.44 to 3.9.11.
ℹ️ 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 fixes:
SNYK-JS-APOLLOCLIENT-1085706
Why? CVSS 5.3
(*) Note that the real score may have changed since the PR was raised.
Release notes
Package name: @apollo/client
Patch Changes
04132af
Thanks @ jerelmiller! - Fix an issue where usingskipToken
or theskip
option withuseSuspenseQuery
in React's strict mode would perform a network request.Patch Changes
#11738
b1a5eb8
Thanks @ jerelmiller! - Fix an issue where rerenderinguseBackgroundQuery
after thequeryRef
had been disposed, either via the auto dispose timeout or by unmountinguseReadQuery
, would cause thequeryRef
to be recreated potentially resulting in another network request.#11738
b1a5eb8
Thanks @ jerelmiller! - Allow queryRefs to be disposed of synchronously when a suspense hook unmounts. This prevents some situations where using a suspense hook with the same query/variables as the disposed queryRef accidentally used the disposed queryRef rather than creating a new instance.#11670
cc5c03b
Thanks @ phryneas! - Bail out ofexecuteSubSelectedArray
calls if the array has 0 elements.Patch Changes
466ef82
Thanks @ PiR1! - Immediately dispose of thequeryRef
ifuseBackgroundQuery
unmounts before the auto dispose timeout kicks in.Patch Changes
#11706
8619bc7
Thanks @ jerelmiller! - Fix issue in all suspense hooks where returning an empty array after callingfetchMore
would rerender the component with an empty list.#11694
835d5f3
Thanks @ phryneas! - ExposesetErrorMessageHandler
from@ apollo/client/dev
entrypoint.#11689
cb8ffe5
Thanks @ jerelmiller! - Fix issue where passing a newfrom
option touseFragment
would first render with the previous value before rerendering with the correct value.#11713
642092c
Thanks @ jerelmiller! - Fix issue where setting a defaultwatchQuery
option in theApolloClient
constructor could breakstartTransition
when used with suspense hooks.Patch Changes
#11659
652a61e
Thanks @ phryneas! - MakeuseRenderGuard
more resilient to changes in React internals.#11594
50b1097
Thanks @ alessbell! - Adds a fix for multipart subscriptions that terminate with payload: nullNote: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs