The client options (variables, context, etc.) used for mutation calls are now available as the second argument to the onCompleted and onError callback functions.
@MrDoomBringer in #10052
The client options (variables, context, etc.) used for mutation calls are now available as the second argument to the onCompleted and onError callback functions.
@MrDoomBringer in #10052
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot rebase will rebase this MR
$dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts
Bumps [@apollo/client](https://github.com/apollographql/apollo-client) from 3.6.9 to 3.6.10.
<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.6.10</h2>
<h3>Improvements (from <a href="https://github.com/apollographql/apollo-client/blob/main/CHANGELOG.md"><code>CHANGELOG.md</code></a>)</h3>
<ul>
<li>The client options (<code>variables</code>, <code>context</code>, etc.) used for <code>mutation</code> calls are now available as the second argument to the <code>onCompleted</code> and <code>onError</code> callback functions.
<a href="https://github.com/MrDoomBringer"><code>@MrDoomBringer</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10052">#10052</a></li>
</ul>
<h2>What's Changed</h2>
<ul>
<li>adds a prettier ignore file by <a href="https://github.com/jpvajda"><code>@jpvajda</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9809">apollographql/apollo-client#9809</a></li>
<li>Fix documentation code snippets for SubscriptionClient by <a href="https://github.com/jpikora"><code>@jpikora</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9820">apollographql/apollo-client#9820</a></li>
<li>Add a new maintainer (Yours Truly) to README by <a href="https://github.com/MrDoomBringer"><code>@MrDoomBringer</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9863">apollographql/apollo-client#9863</a></li>
<li>Remove Ignoring errors sections in link and error handling docs. by <a href="https://github.com/alessbell"><code>@alessbell</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9854">apollographql/apollo-client#9854</a></li>
<li>Update the getting started guide to use the FlyBy API by <a href="https://github.com/rkoron007"><code>@rkoron007</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9851">apollographql/apollo-client#9851</a></li>
<li>Mockprovider docs updates by <a href="https://github.com/jpvajda"><code>@jpvajda</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9867">apollographql/apollo-client#9867</a></li>
<li>Updates testing docs to use Testing Library by <a href="https://github.com/alessbell"><code>@alessbell</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9888">apollographql/apollo-client#9888</a></li>
<li>Clarify that id is optional on queries in cache.modify documentation by <a href="https://github.com/MrDoomBringer"><code>@MrDoomBringer</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9894">apollographql/apollo-client#9894</a></li>
<li>Add defensive isMounted checks before setting state via useMutation Hook by <a href="https://github.com/alessbell"><code>@alessbell</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9883">apollographql/apollo-client#9883</a></li>
<li>Add onQueryUpdate missing parameters by <a href="https://github.com/capucho"><code>@capucho</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9898">apollographql/apollo-client#9898</a></li>
<li>Type policy inheritance by <a href="https://github.com/jpvajda"><code>@jpvajda</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9905">apollographql/apollo-client#9905</a></li>
<li>Use reactive var hook by <a href="https://github.com/jpvajda"><code>@jpvajda</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9906">apollographql/apollo-client#9906</a></li>
<li>Remove jest-fetch-mock in favor of fetch-mock, update tests by <a href="https://github.com/alessbell"><code>@alessbell</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9928">apollographql/apollo-client#9928</a></li>
<li>Minor edits to new useReactiveVar reference by <a href="https://github.com/StephenBarlow"><code>@StephenBarlow</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9932">apollographql/apollo-client#9932</a></li>
<li>Add the new CodeSandbox link by <a href="https://github.com/rkoron007"><code>@rkoron007</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9945">apollographql/apollo-client#9945</a></li>
<li>Pin TypeDoc version in Netlify command by <a href="https://github.com/trevorblades"><code>@trevorblades</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9950">apollographql/apollo-client#9950</a></li>
<li>Fix TypeDoc generated file paths by <a href="https://github.com/trevorblades"><code>@trevorblades</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9951">apollographql/apollo-client#9951</a></li>
<li>Quick doc change to clarify subscriptions don't work in client schema by <a href="https://github.com/MrDoomBringer"><code>@MrDoomBringer</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9944">apollographql/apollo-client#9944</a></li>
<li>Run React 17 + 18 tests on CI by <a href="https://github.com/alessbell"><code>@alessbell</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9942">apollographql/apollo-client#9942</a></li>
<li>Roadmap update by <a href="https://github.com/jpvajda"><code>@jpvajda</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9966">apollographql/apollo-client#9966</a></li>
<li>chore: update renovate config and add .npmrc by <a href="https://github.com/alessbell"><code>@alessbell</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9967">apollographql/apollo-client#9967</a></li>
<li>chore: update CONTRIBUTING.md by <a href="https://github.com/alessbell"><code>@alessbell</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9953">apollographql/apollo-client#9953</a></li>
<li>Field policy merge docs by <a href="https://github.com/jpvajda"><code>@jpvajda</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9969">apollographql/apollo-client#9969</a></li>
<li>add link to solid.js github repo by <a href="https://github.com/jpvajda"><code>@jpvajda</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9981">apollographql/apollo-client#9981</a></li>
<li>Replace crypto-hash with a custom hashing function in tests by <a href="https://github.com/hwillson"><code>@hwillson</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9986">apollographql/apollo-client#9986</a></li>
<li>adds broadcast false details by <a href="https://github.com/jpvajda"><code>@jpvajda</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9978">apollographql/apollo-client#9978</a></li>
<li>Use function declaration for <code>WithApolloClient</code> example by <a href="https://github.com/charpeni"><code>@charpeni</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9977">apollographql/apollo-client#9977</a></li>
<li>docs: Update code block meta strings to make syntax highlighting work again by <a href="https://github.com/trevorblades"><code>@trevorblades</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9985">apollographql/apollo-client#9985</a></li>
<li>Fix updateQuery docs having incorrect function signature by <a href="https://github.com/MrDoomBringer"><code>@MrDoomBringer</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10002">apollographql/apollo-client#10002</a></li>
<li>Correct error handling example in docs by <a href="https://github.com/MrDoomBringer"><code>@MrDoomBringer</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9996">apollographql/apollo-client#9996</a></li>
<li>updates roadmap by <a href="https://github.com/jpvajda"><code>@jpvajda</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10013">apollographql/apollo-client#10013</a></li>
<li>adds solid.js to integrations.md by <a href="https://github.com/jpvajda"><code>@jpvajda</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10014">apollographql/apollo-client#10014</a></li>
<li>docs: fix React default import by <a href="https://github.com/henryqdineen"><code>@henryqdineen</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10036">apollographql/apollo-client#10036</a></li>
<li>docs: remove errant duplicated text by <a href="https://github.com/henryqdineen"><code>@henryqdineen</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10046">apollographql/apollo-client#10046</a></li>
<li>updates local resolver warning by <a href="https://github.com/jpvajda"><code>@jpvajda</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10062">apollographql/apollo-client#10062</a></li>
<li>GitHub Workflows security hardening by <a href="https://github.com/sashashura"><code>@sashashura</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10049">apollographql/apollo-client#10049</a></li>
<li>Pass mutation options to handlers by <a href="https://github.com/MrDoomBringer"><code>@MrDoomBringer</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10052">apollographql/apollo-client#10052</a></li>
<li>MissingFieldError once again extends Error by <a href="https://github.com/MrDoomBringer"><code>@MrDoomBringer</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10051">apollographql/apollo-client#10051</a></li>
<li>Fix typos by <a href="https://github.com/CompuWiser"><code>@CompuWiser</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10045">apollographql/apollo-client#10045</a></li>
<li>Documentation update for ApolloQueryResult by <a href="https://github.com/MrDoomBringer"><code>@MrDoomBringer</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10055">apollographql/apollo-client#10055</a></li>
<li>docs: Update "Using Apollo with TypeScript" with a description of fetchMore and subscribeToMore by <a href="https://github.com/bignimbus"><code>@bignimbus</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10066">apollographql/apollo-client#10066</a></li>
<li>fix: make <code>react-dom</code> an optional peer dependency by <a href="https://github.com/brillout"><code>@brillout</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9933">apollographql/apollo-client#9933</a></li>
<li>adds defer docs by <a href="https://github.com/jpvajda"><code>@jpvajda</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10079">apollographql/apollo-client#10079</a></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>Apollo Client 3.6.10 (2022-09-29)</h2>
<h3>Improvements</h3>
<ul>
<li>The client options (<code>variables</code>, <code>context</code>, etc.) used for <code>mutation</code> calls are now available as the second argument to the <code>onCompleted</code> and <code>onError</code> callback functions. <!-- raw HTML omitted -->
<a href="https://github.com/MrDoomBringer"><code>@MrDoomBringer</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10052">#10052</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/apollographql/apollo-client/commit/5b29ea600540b9220028881a23352030fea5f334"><code>5b29ea6</code></a> docs: Fix typo (<a href="https://github.com/apollographql/apollo-client/issues/10128">#10128</a>)</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/200742748febe0d516de60bfc3e5f97f9e3be3a8"><code>2007427</code></a> Bump <code>@apollo/client</code> npm version to 3.6.10</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/9af1b1436379eae7e23c9105f1449d5b7be48416"><code>9af1b14</code></a> Update v3.6.10 release date in CHANGELOG.md</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/721b400e744dc3cac2ab532a2c12f1c5587b64b0"><code>721b400</code></a> chore(tests): use node v16.10.0 for tests due to memory leaks in 16.11+ (<a href="https://github.com/apollographql/apollo-client/issues/10140">#10140</a>)</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/9e8eb8266f10e507cae47a1b17730befdc473017"><code>9e8eb82</code></a> Adding Jerel Miller to the maintainers list 🚀</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/74dbb99abd1ef91a6d8fcafeff159791e5575468"><code>74dbb99</code></a> chore(docs): use optional chaining rather than non-null assertion (<a href="https://github.com/apollographql/apollo-client/issues/10129">#10129</a>)</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/ef34eac11d270964a1a8a048665bba81bc3e23f0"><code>ef34eac</code></a> chore(deps): update dependency ts-jest to v29.0.2</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/890972f8f96172d8ef5d30030989f4594c65a696"><code>890972f</code></a> chore(deps): update dependency graphql-ws to v5.11.2</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/db1a8bbe544643418b4765f4cf1056cd8128c5c8"><code>db1a8bb</code></a> chore(deps): update dependency <code>@types/react</code> to v18.0.21</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/af50e5da241979719ccc1697533e6016a6a49e63"><code>af50e5d</code></a> chore(deps): update dependency <code>@types/node</code> to v16.11.60</li>
<li>Additional commits viewable in <a href="https://github.com/apollographql/apollo-client/compare/v3.6.9...v3.6.10">compare view</a></li>
</ul>
</details>
<br />
---
<details>
<summary>Dependabot commands</summary>
<br />
You can trigger Dependabot actions by commenting on this MR
- `$dependabot rebase` will rebase this MR
- `$dependabot recreate` will recreate this MR rewriting all the manual changes and resolving conflicts
</details>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bumps @apollo/client from 3.6.9 to 3.6.10.
Release notes
Sourced from
@apollo/client's releases.... (truncated)
Changelog
Sourced from
@apollo/client's changelog.Commits
5b29ea6docs: Fix typo (#10128)2007427Bump@apollo/clientnpm version to 3.6.109af1b14Update v3.6.10 release date in CHANGELOG.md721b400chore(tests): use node v16.10.0 for tests due to memory leaks in 16.11+ (#10140)9e8eb82Adding Jerel Miller to the maintainers list 🚀74dbb99chore(docs): use optional chaining rather than non-null assertion (#10129)ef34eacchore(deps): update dependency ts-jest to v29.0.2890972fchore(deps): update dependency graphql-ws to v5.11.2db1a8bbchore(deps): update dependency@types/reactto v18.0.21af50e5dchore(deps): update dependency@types/nodeto v16.11.60Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot rebasewill rebase this MR$dependabot recreatewill recreate this MR rewriting all the manual changes and resolving conflictsadded 2 commits
a2f464f8- 1 commit from branchmasterCompare with previous version
added 2 commits
637072b4- 1 commit from branchmasterCompare with previous version
added 2 commits
2c1ff315- 1 commit from branchmasterCompare with previous version
added 2 commits
a9083e5b- 1 commit from branchmasterCompare with previous version
added 2 commits
28ee0b0f- 1 commit from branchmaster303f09d2- Build(deps): bump @apollo/client from 3.6.9 to 3.6.10Compare with previous version