@apollo/client
Advanced tools
Changelog
3.10.0-rc.0
#11605 e2dd4c9
Thanks @alessbell! - Adds createMockFetch
utility for integration testing that includes the link chain
#11605 e2dd4c9
Thanks @alessbell! - Adds proxiedSchema and createMockSchema testing utilities
#11743 78891f9
Thanks @jerelmiller! - Remove alpha designation for queryRef.toPromise()
to stabilize the API.
#11743 78891f9
Thanks @jerelmiller! - Remove alpha designation for createQueryPreloader
to stabilize the API.
Changelog
3.9.10
#11738 b1a5eb8
Thanks @jerelmiller! - Fix an issue where rerendering useBackgroundQuery
after the queryRef
had been disposed, either via the auto dispose timeout or by unmounting useReadQuery
, would cause the queryRef
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 of executeSubSelectedArray
calls if the array has 0 elements.