Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build(deps): Bump @apollo/client from 3.9.10 to 3.10.1 (#1430)
Bumps [@apollo/client](https://github.com/apollographql/apollo-client) from 3.9.10 to 3.10.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/apollographql/apollo-client/releases"><code>@apollo/client</code>'s releases</a>.</em></p> <blockquote> <h2>v3.10.1</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11792">#11792</a> <a href="https://github.com/apollographql/apollo-client/commit/5876c35530a21473207954d1f0c2b7dd00c0b9ea"><code>5876c35</code></a> Thanks <a href="https://github.com/phryneas"><code>@phryneas</code></a>! - AutoCleanedCache: only schedule batched cache cleanup if the cache is full (fixes <a href="https://redirect.github.com/apollographql/apollo-client/issues/11790">#11790</a>)</p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11799">#11799</a> <a href="https://github.com/apollographql/apollo-client/commit/1aca7ed5a3accf2303ccdf9b3dece7278f03ad62"><code>1aca7ed</code></a> Thanks <a href="https://github.com/phryneas"><code>@phryneas</code></a>! - <code>RenderPromises</code>: use <code>canonicalStringify</code> to serialize <code>variables</code> to ensure query deduplication is properly applied even when <code>variables</code> are specified in a different order.</p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11803">#11803</a> <a href="https://github.com/apollographql/apollo-client/commit/bf9dd17b288f33901e9421bcc0eacb3894c087af"><code>bf9dd17</code></a> Thanks <a href="https://github.com/phryneas"><code>@phryneas</code></a>! - Update the <code>rehackt</code> dependency to <code>^0.1.0</code></p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11756">#11756</a> <a href="https://github.com/apollographql/apollo-client/commit/60592e95399c3695d1d49a4c39ad29f00d4059fd"><code>60592e9</code></a> Thanks <a href="https://github.com/henryqdineen"><code>@henryqdineen</code></a>! - Fix operation.setContext() type</p> </li> </ul> <h2>v3.10.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11605">#11605</a> <a href="https://github.com/apollographql/apollo-client/commit/e2dd4c95290cea604b548cc446826d89aafe8e11"><code>e2dd4c9</code></a> Thanks <a href="https://github.com/alessbell"><code>@alessbell</code></a>! - Adds <code>createMockFetch</code> utility for integration testing that includes the link chain</p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11760">#11760</a> <a href="https://github.com/apollographql/apollo-client/commit/acd1982a59ed66fc44fa9e70b08a31c69dac35a6"><code>acd1982</code></a> Thanks <a href="https://github.com/alessbell"><code>@alessbell</code></a>! - <code>createTestSchema</code> now uses graphql-tools <code>mergeResolvers</code> to merge resolvers instead of a shallow merge.</p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11764">#11764</a> <a href="https://github.com/apollographql/apollo-client/commit/f046aa9fc24ac197a797045d280811a3bbe05806"><code>f046aa9</code></a> Thanks <a href="https://github.com/alessbell"><code>@alessbell</code></a>! - Rename <code>createProxiedSchema</code> to <code>createTestSchema</code> and <code>createMockFetch</code> to <code>createSchemaFetch</code>.</p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11777">#11777</a> <a href="https://github.com/apollographql/apollo-client/commit/5dfc79fa6d974362f38361f7dffbe984a9546377"><code>5dfc79f</code></a> Thanks <a href="https://github.com/alessbell"><code>@alessbell</code></a>! - Call <code>createMockSchema</code> inside <code>createTestSchema</code>.</p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11774">#11774</a> <a href="https://github.com/apollographql/apollo-client/commit/2583488677912cb4500e5fb9e3f91b5c113c4cdb"><code>2583488</code></a> Thanks <a href="https://github.com/alessbell"><code>@alessbell</code></a>! - Add ability to set min and max delay in <code>createSchemaFetch</code></p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11605">#11605</a> <a href="https://github.com/apollographql/apollo-client/commit/e2dd4c95290cea604b548cc446826d89aafe8e11"><code>e2dd4c9</code></a> Thanks <a href="https://github.com/alessbell"><code>@alessbell</code></a>! - Adds proxiedSchema and createMockSchema testing utilities</p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11465">#11465</a> <a href="https://github.com/apollographql/apollo-client/commit/7623da7720855b0c19e13ff9124679f426a39725"><code>7623da7</code></a> Thanks <a href="https://github.com/alessbell"><code>@alessbell</code></a>! - Add <code>watchFragment</code> method to the cache and expose it on ApolloClient, refactor <code>useFragment</code> using <code>watchFragment</code>.</p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11743">#11743</a> <a href="https://github.com/apollographql/apollo-client/commit/78891f9ec81c0b7a7e010f5550a91965fa33a958"><code>78891f9</code></a> Thanks <a href="https://github.com/jerelmiller"><code>@jerelmiller</code></a>! - Remove alpha designation for <code>queryRef.toPromise()</code> to stabilize the API.</p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11743">#11743</a> <a href="https://github.com/apollographql/apollo-client/commit/78891f9ec81c0b7a7e010f5550a91965fa33a958"><code>78891f9</code></a> Thanks <a href="https://github.com/jerelmiller"><code>@jerelmiller</code></a>! - Remove alpha designation for <code>createQueryPreloader</code> to stabilize the API.</p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11783">#11783</a> <a href="https://github.com/apollographql/apollo-client/commit/440563ab2c47efcb9c7d08f52531ade33d753037"><code>440563a</code></a> Thanks <a href="https://github.com/alessbell"><code>@alessbell</code></a>! - Moves new testing utilities to their own entrypoint, <code>testing/experimental</code></p> </li> </ul> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11757">#11757</a> <a href="https://github.com/apollographql/apollo-client/commit/982529530893f66a1d236f0fff53862e513fc9a8"><code>9825295</code></a> Thanks <a href="https://github.com/phryneas"><code>@phryneas</code></a>! - Adjust <code>useReadQuery</code> wrapper logic to work with transported objects.</p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11771">#11771</a> <a href="https://github.com/apollographql/apollo-client/commit/e72cbba07e5caa6d75b44ca8c766846e855a6c93"><code>e72cbba</code></a> Thanks <a href="https://github.com/phryneas"><code>@phryneas</code></a>! - Wrap <code>useQueryRefHandlers</code> in <code>wrapHook</code>.</p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11754">#11754</a> <a href="https://github.com/apollographql/apollo-client/commit/80d2ba579fe6d2a2d102d1fe79d7d503f31cd931"><code>80d2ba5</code></a> Thanks <a href="https://github.com/alessbell"><code>@alessbell</code></a>! - Export <code>WatchFragmentOptions</code> and <code>WatchFragmentResult</code> from main entrypoint and fix bug where <code>this</code> wasn't bound to the <code>watchFragment</code> method on <code>ApolloClient</code>.</p> </li> </ul> <h2>v3.10.0-rc.1</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11760">#11760</a> <a href="https://github.com/apollographql/apollo-client/commit/acd1982a59ed66fc44fa9e70b08a31c69dac35a6"><code>acd1982</code></a> Thanks <a href="https://github.com/alessbell"><code>@alessbell</code></a>! - <code>createTestSchema</code> now uses graphql-tools <code>mergeResolvers</code> to merge resolvers instead of a shallow merge.</p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11764">#11764</a> <a href="https://github.com/apollographql/apollo-client/commit/f046aa9fc24ac197a797045d280811a3bbe05806"><code>f046aa9</code></a> Thanks <a href="https://github.com/alessbell"><code>@alessbell</code></a>! - Rename <code>createProxiedSchema</code> to <code>createTestSchema</code> and <code>createMockFetch</code> to <code>createSchemaFetch</code>.</p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11777">#11777</a> <a href="https://github.com/apollographql/apollo-client/commit/5dfc79fa6d974362f38361f7dffbe984a9546377"><code>5dfc79f</code></a> Thanks <a href="https://github.com/alessbell"><code>@alessbell</code></a>! - Call <code>createMockSchema</code> inside <code>createTestSchema</code>.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/apollographql/apollo-client/blob/main/CHANGELOG.md"><code>@apollo/client</code>'s changelog</a>.</em></p> <blockquote> <h2>3.10.1</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11792">#11792</a> <a href="https://github.com/apollographql/apollo-client/commit/5876c35530a21473207954d1f0c2b7dd00c0b9ea"><code>5876c35</code></a> Thanks <a href="https://github.com/phryneas"><code>@phryneas</code></a>! - AutoCleanedCache: only schedule batched cache cleanup if the cache is full (fixes <a href="https://redirect.github.com/apollographql/apollo-client/issues/11790">#11790</a>)</p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11799">#11799</a> <a href="https://github.com/apollographql/apollo-client/commit/1aca7ed5a3accf2303ccdf9b3dece7278f03ad62"><code>1aca7ed</code></a> Thanks <a href="https://github.com/phryneas"><code>@phryneas</code></a>! - <code>RenderPromises</code>: use <code>canonicalStringify</code> to serialize <code>variables</code> to ensure query deduplication is properly applied even when <code>variables</code> are specified in a different order.</p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11803">#11803</a> <a href="https://github.com/apollographql/apollo-client/commit/bf9dd17b288f33901e9421bcc0eacb3894c087af"><code>bf9dd17</code></a> Thanks <a href="https://github.com/phryneas"><code>@phryneas</code></a>! - Update the <code>rehackt</code> dependency to <code>^0.1.0</code></p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11756">#11756</a> <a href="https://github.com/apollographql/apollo-client/commit/60592e95399c3695d1d49a4c39ad29f00d4059fd"><code>60592e9</code></a> Thanks <a href="https://github.com/henryqdineen"><code>@henryqdineen</code></a>! - Fix operation.setContext() type</p> </li> </ul> <h2>3.10.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11605">#11605</a> <a href="https://github.com/apollographql/apollo-client/commit/e2dd4c95290cea604b548cc446826d89aafe8e11"><code>e2dd4c9</code></a> Thanks <a href="https://github.com/alessbell"><code>@alessbell</code></a>! - Adds <code>createMockFetch</code> utility for integration testing that includes the link chain</p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11760">#11760</a> <a href="https://github.com/apollographql/apollo-client/commit/acd1982a59ed66fc44fa9e70b08a31c69dac35a6"><code>acd1982</code></a> Thanks <a href="https://github.com/alessbell"><code>@alessbell</code></a>! - <code>createTestSchema</code> now uses graphql-tools <code>mergeResolvers</code> to merge resolvers instead of a shallow merge.</p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11764">#11764</a> <a href="https://github.com/apollographql/apollo-client/commit/f046aa9fc24ac197a797045d280811a3bbe05806"><code>f046aa9</code></a> Thanks <a href="https://github.com/alessbell"><code>@alessbell</code></a>! - Rename <code>createProxiedSchema</code> to <code>createTestSchema</code> and <code>createMockFetch</code> to <code>createSchemaFetch</code>.</p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11777">#11777</a> <a href="https://github.com/apollographql/apollo-client/commit/5dfc79fa6d974362f38361f7dffbe984a9546377"><code>5dfc79f</code></a> Thanks <a href="https://github.com/alessbell"><code>@alessbell</code></a>! - Call <code>createMockSchema</code> inside <code>createTestSchema</code>.</p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11774">#11774</a> <a href="https://github.com/apollographql/apollo-client/commit/2583488677912cb4500e5fb9e3f91b5c113c4cdb"><code>2583488</code></a> Thanks <a href="https://github.com/alessbell"><code>@alessbell</code></a>! - Add ability to set min and max delay in <code>createSchemaFetch</code></p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11605">#11605</a> <a href="https://github.com/apollographql/apollo-client/commit/e2dd4c95290cea604b548cc446826d89aafe8e11"><code>e2dd4c9</code></a> Thanks <a href="https://github.com/alessbell"><code>@alessbell</code></a>! - Adds proxiedSchema and createMockSchema testing utilities</p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11465">#11465</a> <a href="https://github.com/apollographql/apollo-client/commit/7623da7720855b0c19e13ff9124679f426a39725"><code>7623da7</code></a> Thanks <a href="https://github.com/alessbell"><code>@alessbell</code></a>! - Add <code>watchFragment</code> method to the cache and expose it on ApolloClient, refactor <code>useFragment</code> using <code>watchFragment</code>.</p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11743">#11743</a> <a href="https://github.com/apollographql/apollo-client/commit/78891f9ec81c0b7a7e010f5550a91965fa33a958"><code>78891f9</code></a> Thanks <a href="https://github.com/jerelmiller"><code>@jerelmiller</code></a>! - Remove alpha designation for <code>queryRef.toPromise()</code> to stabilize the API.</p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11743">#11743</a> <a href="https://github.com/apollographql/apollo-client/commit/78891f9ec81c0b7a7e010f5550a91965fa33a958"><code>78891f9</code></a> Thanks <a href="https://github.com/jerelmiller"><code>@jerelmiller</code></a>! - Remove alpha designation for <code>createQueryPreloader</code> to stabilize the API.</p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11783">#11783</a> <a href="https://github.com/apollographql/apollo-client/commit/440563ab2c47efcb9c7d08f52531ade33d753037"><code>440563a</code></a> Thanks <a href="https://github.com/alessbell"><code>@alessbell</code></a>! - Moves new testing utilities to their own entrypoint, <code>testing/experimental</code></p> </li> </ul> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11757">#11757</a> <a href="https://github.com/apollographql/apollo-client/commit/982529530893f66a1d236f0fff53862e513fc9a8"><code>9825295</code></a> Thanks <a href="https://github.com/phryneas"><code>@phryneas</code></a>! - Adjust <code>useReadQuery</code> wrapper logic to work with transported objects.</p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11771">#11771</a> <a href="https://github.com/apollographql/apollo-client/commit/e72cbba07e5caa6d75b44ca8c766846e855a6c93"><code>e72cbba</code></a> Thanks <a href="https://github.com/phryneas"><code>@phryneas</code></a>! - Wrap <code>useQueryRefHandlers</code> in <code>wrapHook</code>.</p> </li> <li> <p><a href="https://redirect.github.com/apollographql/apollo-client/pull/11754">#11754</a> <a href="https://github.com/apollographql/apollo-client/commit/80d2ba579fe6d2a2d102d1fe79d7d503f31cd931"><code>80d2ba5</code></a> Thanks <a href="https://github.com/alessbell"><code>@alessbell</code></a>! - Export <code>WatchFragmentOptions</code> and <code>WatchFragmentResult</code> from main entrypoint and fix bug where <code>this</code> wasn't bound to the <code>watchFragment</code> method on <code>ApolloClient</code>.</p> </li> </ul> <h2>3.10.0-rc.1</h2> <h3>Minor Changes</h3> <ul> <li><a href="https://redirect.github.com/apollographql/apollo-client/pull/11760">#11760</a> <a href="https://github.com/apollographql/apollo-client/commit/acd1982a59ed66fc44fa9e70b08a31c69dac35a6"><code>acd1982</code></a> Thanks <a href="https://github.com/alessbell"><code>@alessbell</code></a>! - <code>createTestSchema</code> now uses graphql-tools <code>mergeResolvers</code> to merge resolvers instead of a shallow merge.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/apollographql/apollo-client/commit/7f53db91e28fbde02cbe2c20dc91e4b40f9d6888"><code>7f53db9</code></a> Version Packages (<a href="https://redirect.github.com/apollographql/apollo-client/issues/11810">#11810</a>)</li> <li><a href="https://github.com/apollographql/apollo-client/commit/1aca7ed5a3accf2303ccdf9b3dece7278f03ad62"><code>1aca7ed</code></a> <code>RenderPromises</code>: use <code>canonicalStringify</code> to serialize data, use <code>Trie</code> (<a href="https://redirect.github.com/apollographql/apollo-client/issues/11">#11</a>...</li> <li><a href="https://github.com/apollographql/apollo-client/commit/60592e95399c3695d1d49a4c39ad29f00d4059fd"><code>60592e9</code></a> Fix operation.setContext() type (<a href="https://redirect.github.com/apollographql/apollo-client/issues/11756">#11756</a>)</li> <li><a href="https://github.com/apollographql/apollo-client/commit/5876c35530a21473207954d1f0c2b7dd00c0b9ea"><code>5876c35</code></a> AutoCleanedCache: only schedule batched cache cleanup if the cache is full (#...</li> <li><a href="https://github.com/apollographql/apollo-client/commit/bf9dd17b288f33901e9421bcc0eacb3894c087af"><code>bf9dd17</code></a> Update the <code>rehackt</code> dependency to <code>^0.1.0</code> (<a href="https://redirect.github.com/apollographql/apollo-client/issues/11803">#11803</a>)</li> <li><a href="https://github.com/apollographql/apollo-client/commit/5f65439fa4115808517adfd69fa2f0088afb0689"><code>5f65439</code></a> Version Packages (<a href="https://redirect.github.com/apollographql/apollo-client/issues/11809">#11809</a>)</li> <li><a href="https://github.com/apollographql/apollo-client/commit/0fbd073d00f1fdd71b2a821498326dec28306168"><code>0fbd073</code></a> Merge pull request <a href="https://redirect.github.com/apollographql/apollo-client/issues/11698">#11698</a> from apollographql/release-3.10</li> <li><a href="https://github.com/apollographql/apollo-client/commit/004b1765d4289b173783176cc6be9db7c31a8937"><code>004b176</code></a> Exit prerelease mode</li> <li><a href="https://github.com/apollographql/apollo-client/commit/0843bf46a44a59d372a7bcbf7fd083ed7f1325a1"><code>0843bf4</code></a> Testing utility docs (<a href="https://redirect.github.com/apollographql/apollo-client/issues/11805">#11805</a>)</li> <li><a href="https://github.com/apollographql/apollo-client/commit/a26aacc283f56fb1150247a532cf86ab47db0e0b"><code>a26aacc</code></a> add return type to <code>withinDOM</code> implementation (<a href="https://redirect.github.com/apollographql/apollo-client/issues/11802">#11802</a>)</li> <li>Additional commits viewable in <a href="https://github.com/apollographql/apollo-client/compare/v3.9.10...v3.10.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@apollo/client&package-manager=npm_and_yarn&previous-version=3.9.10&new-version=3.10.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
- Loading branch information