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.8.6 to 3.8.7.
:information_source: 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 **1 version** ahead of your current version.
- The recommended version was released **a month ago**, on 2023-11-02.
Release notes Package name: @apollo/client
#11297c8c76a522 Thanks @ jerelmiller! - Add an explicit return type for the useReadQuery hook called UseReadQueryResult. Previously the return type of this hook was inferred from the return value.
#11337bb1da8349 Thanks @ phryneas! - #11206 used the TypeScript syntax infer X extends Y that was introduced in TS 4.8.
This caused some problems for some users, so we are rolling back to a more backwards-compatible (albeit slightly less performant) type.
#112912be7eafe3 Thanks @ ArioA! - Fix a bug that allows to only call loadErrorMessages without also calling loadDevErrorMessages.
#11274b29f000f3 Thanks @ jerelmiller! - Start the query ref auto dispose timeout after the initial promise has settled. This prevents requests that run longer than the timeout duration from keeping the component suspended indefinitely.
#11289b5894dbf0 Thanks @ phryneas! - MockedProvider: default connectToDevTools to false in created ApolloClient instance.
This will prevent the mocked ApolloClient instance from trying to connect to the DevTools, which would start a setTimeout that might keep running after a test has finished.
c8c76a5 Add an explicit return type for `useReadQuery` (#11297)
89374ca Add delay in docs for loading state testing (#11287)
7d3cac9 Update renovate.json to ignore glob (#11293)
Compare
**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:
🧐 [View latest project report](https://app.snyk.io/org/etherspot/project/0d28273d-6839-46a2-8813-9aad7522e3da?utm_source=github&utm_medium=referral&page=upgrade-pr)
🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/etherspot/project/0d28273d-6839-46a2-8813-9aad7522e3da/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr)
🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/etherspot/project/0d28273d-6839-46a2-8813-9aad7522e3da/settings/integration?pkg=@apollo/client&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades)
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.8.6 to 3.8.7.
:information_source: 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 **1 version** ahead of your current version. - The recommended version was released **a month ago**, on 2023-11-02.
Release notes
Package name: @apollo/client
Patch Changes
#11297
c8c76a522
Thanks @ jerelmiller! - Add an explicit return type for theuseReadQuery
hook calledUseReadQueryResult
. Previously the return type of this hook was inferred from the return value.#11337
bb1da8349
Thanks @ phryneas! - #11206 used the TypeScript syntaxinfer X extends Y
that was introduced in TS 4.8.This caused some problems for some users, so we are rolling back to a more backwards-compatible (albeit slightly less performant) type.
Patch Changes
#11291
2be7eafe3
Thanks @ ArioA! - Fix a bug that allows to only callloadErrorMessages
without also callingloadDevErrorMessages
.#11274
b29f000f3
Thanks @ jerelmiller! - Start the query ref auto dispose timeout after the initial promise has settled. This prevents requests that run longer than the timeout duration from keeping the component suspended indefinitely.#11289
b5894dbf0
Thanks @ phryneas! -MockedProvider
: defaultconnectToDevTools
tofalse
in createdApolloClient
instance.This will prevent the mocked
ApolloClient
instance from trying to connect to the DevTools, which would start asetTimeout
that might keep running after a test has finished.#11206
dd2ce7687
Thanks @ phryneas! -cache.modify
: Less strict types & new dev runtime warnings.Commit messages
Package name: @apollo/client
**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: