fix(deps): update all non-major dependencies#547
Merged
Conversation
🦋 Changeset detectedLatest commit: 696a370 The changes in this PR will be included in the next version bump. This PR includes changesets to release 6 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Collaborator
🚀 Snapshot Release (
|
| Package | Version | Info |
|---|---|---|
@graphprotocol/client-add-source-name |
2.0.2-alpha-20240502170126-696a3700256ab25fe4077e3c6a8cebde0cb08d07 |
npm ↗︎ unpkg ↗︎ |
@graphprotocol/client-apollo |
2.0.2-alpha-20240502170126-696a3700256ab25fe4077e3c6a8cebde0cb08d07 |
npm ↗︎ unpkg ↗︎ |
@graphprotocol/client-auto-pagination |
2.0.2-alpha-20240502170126-696a3700256ab25fe4077e3c6a8cebde0cb08d07 |
npm ↗︎ unpkg ↗︎ |
@graphprotocol/client-auto-type-merging |
2.0.2-alpha-20240502170126-696a3700256ab25fe4077e3c6a8cebde0cb08d07 |
npm ↗︎ unpkg ↗︎ |
@graphprotocol/client-cli |
3.0.2-alpha-20240502170126-696a3700256ab25fe4077e3c6a8cebde0cb08d07 |
npm ↗︎ unpkg ↗︎ |
@graphprotocol/client-urql |
2.0.2-alpha-20240502170126-696a3700256ab25fe4077e3c6a8cebde0cb08d07 |
npm ↗︎ unpkg ↗︎ |
37a9ca5 to
f680571
Compare
3f734a8 to
e8706d8
Compare
ba4aa42 to
eb26628
Compare
5a3acb0 to
f7328b1
Compare
116d282 to
4e4bafe
Compare
63f00b5 to
0707b59
Compare
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. ⚠ Warning: custom changes will be lost. |
2cf67a7 to
b9e1e47
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 contains the following updates:
3.7.16->3.9.117.22.5->7.24.47.22.5->7.24.17.22.5->7.24.4^0.94.0->^0.98.0^0.84.0->^0.89.0^0.94.0->^0.97.0^0.94.0->^0.97.0^0.94.0->^0.97.0^0.94.0->^0.97.0^0.78.0 || ^0.79.0 || ^0.80.0 || ^0.81.0 || ^0.82.0 || ^0.83.0 || ^0.84.0 || ^0.85.0 || ^0.89.0 || ^0.90.0 || ^0.91.0 || ^0.93.0 || ^0.94.0->^0.78.0 || ^0.79.0 || ^0.80.0 || ^0.81.0 || ^0.82.0 || ^0.83.0 || ^0.84.0 || ^0.85.0 || ^0.89.0 || ^0.90.0 || ^0.91.0 || ^0.93.0 || ^0.94.0 || ^0.97.0^0.94.0->^0.98.05.0.5->5.32.07.20.1->7.20.57.9.2->7.9.629.5.2->29.5.1220.8.9->20.12.718.2.14->18.2.7918.2.6->18.2.254.0.1->4.2.129.5.0->29.7.08.2.0->8.2.28.44.0->8.57.016.7.1->16.8.19.0.10->9.0.1129.5.0->29.7.03.0.1->3.1.03.0.3->3.2.55.0.1->5.0.529.1.1->29.1.210.9.1->10.9.24.0.4->4.0.75.0.10->5.2.10Release Notes
apollographql/apollo-client (@apollo/client)
v3.9.11Compare Source
Patch Changes
04132afThanks @jerelmiller! - Fix an issue where usingskipTokenor theskipoption withuseSuspenseQueryin React's strict mode would perform a network request.v3.9.10Compare Source
Patch Changes
#11738
b1a5eb8Thanks @jerelmiller! - Fix an issue where rerenderinguseBackgroundQueryafter thequeryRefhad been disposed, either via the auto dispose timeout or by unmountinguseReadQuery, would cause thequeryRefto be recreated potentially resulting in another network request.#11738
b1a5eb8Thanks @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
cc5c03bThanks @phryneas! - Bail out ofexecuteSubSelectedArraycalls if the array has 0 elements.v3.9.9Compare Source
Patch Changes
466ef82Thanks @PiR1! - Immediately dispose of thequeryRefifuseBackgroundQueryunmounts before the auto dispose timeout kicks in.v3.9.8Compare Source
Patch Changes
#11706
8619bc7Thanks @jerelmiller! - Fix issue in all suspense hooks where returning an empty array after callingfetchMorewould rerender the component with an empty list.#11694
835d5f3Thanks @phryneas! - ExposesetErrorMessageHandlerfrom@apollo/client/deventrypoint.#11689
cb8ffe5Thanks @jerelmiller! - Fix issue where passing a newfromoption touseFragmentwould first render with the previous value before rerendering with the correct value.#11713
642092cThanks @jerelmiller! - Fix issue where setting a defaultwatchQueryoption in theApolloClientconstructor could breakstartTransitionwhen used with suspense hooks.v3.9.7Compare Source
Patch Changes
#11659
652a61eThanks @phryneas! - MakeuseRenderGuardmore resilient to changes in React internals.#11594
50b1097Thanks @alessbell! - Adds a fix for multipart subscriptions that terminate with payload: nullv3.9.6Compare Source
Patch Changes
#11617
f1d8bc4Thanks @phryneas! - Allow Apollo Client instance to intercept hook functionality#11638
bf93adaThanks @jerelmiller! - Fix issue where callingfetchMorefrom a suspense-enabled hook insidestartTransitioncaused an unnecessary rerender.v3.9.5Compare Source
Patch Changes
#11595
8c20955Thanks @phryneas! - Bumps the dependencyrehacktto 0.0.5#11592
1133469Thanks @Stephen2! - StrengthenMockedResponse.newDatatype#11579
1ba2fd9Thanks @jerelmiller! - Fix issue where partial data is reported touseQuerywhen usingnotifyOnNetworkStatusChangeafter it errors while another overlapping query succeeds.#11579
1ba2fd9Thanks @jerelmiller! - Fix an issue where a partial cache write for an errored query would result in automatically refetching that query.#11562
65ab695Thanks @mspiess! - Mocks with an infinite delay no longer require result or errorv3.9.4Compare Source
Patch Changes
#11403
b0c4f3aThanks @jerelmiller! - Fix issue inuseLazyQuerythat results in a double network call when calling the execute function with no arguments after having called it previously with another set of arguments.#11576
e855d00Thanks @alessbell! - Revert PR #11202 to fix caching bug reported in #11560v3.9.3Compare Source
Patch Changes
#11525
dce923aThanks @vezaynk! - Allows passing in client via options to useFragment#11558
8cba16fThanks @alessbell! - Fixunbound-methodlinter error on ObservableQuery methods exposed on useQuery's QueryResult object.v3.9.2Compare Source
Patch Changes
6ac2b0cThanks @jerelmiller! - Fix import inuseLazyRefcausing import issues in the nextjs package.v3.9.1Compare Source
Patch Changes
#11516
8390feaThanks @phryneas! - Fix an incorrect string substitution in a warning message.#11515
c9bf93bThanks @vladar! - Avoid redundant refetchQueries call for mutation with no-cache policy (fixes #10238)#11545
84a6beaThanks @alessbell! - Remove error thrown byinFlightLinkObservablesintended to be removed before 3.9 release.v3.9.0Compare Source
Minor Changes
Memory optimizations
#11424
62f3b6dThanks @phryneas! - Simplify RetryLink, fix potential memory leakHistorically,
RetryLinkwould keep avaluesarray of all previous values, in case the operation would get an additional subscriber at a later point in time.In practice, this could lead to a memory leak (#11393) and did not serve any further purpose, as the resulting observable would only be subscribed to by Apollo Client itself, and only once - it would be wrapped in a
Concastbefore being exposed to the user, and thatConcastwould handle subscribers on its own.#11435
5cce53eThanks @phryneas! - DeprecatescanonizeResults.Using
canonizeResultscan result in memory leaks so we generally do not recommend using this option anymore. A future version of Apollo Client will contain a similar feature without the risk of memory leaks.#11254
d08970dThanks @benjamn! - DecouplecanonicalStringifyfromObjectCanonfor better time and memory performance.#11356
cc4ac7eThanks @phryneas! - Fix a potential memory leak inFragmentRegistry.transformandFragmentRegistry.findFragmentSpreadsthat would hold on to passed-inDocumentNodesfor too long.#11370
25e2cb4Thanks @phryneas! -parsefunction: improve memory managementWeakCacheinstead ofMapto keep a limited number of parsed resultsparse.resetCache()method#11389
139acd1Thanks @phryneas! -documentTransform: useoptimismandWeakCacheinstead of directly storing data on theTrie#11358
7d939f8Thanks @phryneas! - Fixes a potential memory leak inConcastthat might have been triggered whenConcastwas used outside of Apollo Client.#11344
bd26676Thanks @phryneas! - Add aresetCachemethod toDocumentTransformand hookInMemoryCache.addTypenameTransformup toInMemoryCache.gc#11367
30d17bfThanks @phryneas! -print: useWeakCacheinstead ofWeakMap#11387
4dce867Thanks @phryneas! -QueryManager.transformCache: useWeakCacheinstead ofWeakMap#11369
2a47164Thanks @phryneas! - Persisted Query Link: improve memory managementWeakCacheinstead ofWeakMapto keep a limited number of hash resultspersistedLink.resetHashCache()method#10804
221dd99Thanks @phryneas! - use WeakMap in React Native with Hermes#11355
7d8e184Thanks @phryneas! - InMemoryCache.gc now also triggers FragmentRegistry.resetCaches (if there is a FragmentRegistry)#11409
2e7203bThanks @phryneas! - Adds an experimentalApolloClient.getMemoryInternalshelper#11343
776631dThanks @phryneas! - Addresetmethod toprint, hook up toInMemoryCache.gcSuspense-enabled data fetching on user interaction with
useLoadableQuery#11300
a815873Thanks @jerelmiller! - Introduces a newuseLoadableQueryhook. This hook works similarly touseBackgroundQueryin that it returns aqueryRefthat can be used to suspend a component via theuseReadQueryhook. It provides a more ergonomic way to load the query during a user interaction (for example when wanting to preload some data) that would otherwise be clunky withuseBackgroundQuery.Begin preloading outside of React with
createQueryPreloader58db5c3Thanks @jerelmiller! - Add the ability to start preloading a query outside React to begin fetching as early as possible. CallcreateQueryPreloaderto create apreloadQueryfunction which can be called to start fetching a query. This returns aqueryRefwhich is passed touseReadQueryand suspended until the query is done fetching.Testing utility improvements
#11178
4d64a6fThanks @sebakerckhof! - Support re-using of mocks in the MockedProvider#6701
8d2b4e1Thanks @prowe! - Ability to dynamically match mocksAdds support for a new property
MockedResponse.variableMatcher: a predicate function that accepts avariablesparam. Iftrue, thevariableswill be passed into theResultFunctionto help dynamically build a response.New
useQueryRefHandlershook#11412
58db5c3Thanks @jerelmiller! - Create a newuseQueryRefHandlershook that returnsrefetchandfetchMorefunctions for a givenqueryRef. This is useful to get access to handlers for aqueryRefthat was created bycreateQueryPreloaderor when the handlers for aqueryRefproduced by a different component are inaccessible.Bail out of
optimisticResponseupdates with theIGNOREsentinel object#11410
07fcf6aThanks @sf-twingate! - Allow returningIGNOREsentinel object fromoptimisticResponsefunctions to bail-out from the optimistic update.Consider this example:
The
IGNOREsentinel can be destructured from the second parameter in the callback function signature passed tooptimisticResponse.Network adapters for multipart subscriptions usage with Relay and urql
#11301
46ab032Thanks @alessbell! - Add multipart subscription network adapters for Relay and urqlRelay
Urql
skipPollAttemptcallback function#11397
3f7eecbThanks @aditya-kumawat! - Adds a newskipPollAttemptcallback function that's called whenever a refetch attempt occurs while polling. If the function returnstrue, the refetch is skipped and not reattempted until the next poll interval. This will solve the frequent use-case of disabling polling when the window is inactive.QueryManager.inFlightLinkObservablesnow uses a strongTrieas an internal data structure#11345
1759066Thanks @phryneas!Warning: requires
@apollo/experimental-nextjs-app-supportupdateIf you are using
@apollo/experimental-nextjs-app-support, you will need to update that to at least 0.5.2, as it accesses this internal data structure.More Minor Changes
#11202
7c2bc08Thanks @benjamn! - PreventQueryInfo#markResultmutation ofresult.dataand return cache data consistently whether complete or incomplete.#11442
4b6f2bcThanks @jerelmiller! - Remove the need to callretainfromuseLoadableQuerysinceuseReadQuerywill now retain the query. This means that aqueryRefthat is not consumed byuseReadQuerywithin the givenautoDisposeTimeoutMswill now be auto diposed for you.Thanks to #11412, disposed query refs will be automatically resubscribed to the query when consumed by
useReadQueryafter it has been disposed.#11438
6d46ab9Thanks @jerelmiller! - Remove the need to callretainfromuseBackgroundQuerysinceuseReadQuerywill now retain the query. This means that aqueryRefthat is not consumed byuseReadQuerywithin the givenautoDisposeTimeoutMswill now be auto diposed for you.Thanks to #11412, disposed query refs will be automatically resubscribed to the query when consumed by
useReadQueryafter it has been disposed.#11175
d6d1491Thanks @phryneas! - To work around issues in React Server Components, especially with bundling forthe Next.js "edge" runtime we now use an external package to wrap
reactimportsinstead of importing React directly.
#11495
1190aa5Thanks @jerelmiller! - Increase the default memory limits forexecuteSelectionSetandexecuteSelectionSetArray.Patch Changes
#11275
3862f9bThanks @phryneas! - Add adefaultContextoption and property onApolloClient, e.g. for keeping track of changing auth tokens or dependency injection.This can be used e.g. in authentication scenarios, where a new token might be generated outside of the link chain and should passed into the link chain.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.