Interpret keyFields: [...] and keyArgs: [...] configurations in InMemoryCache type/field policies as ReadonlyArrays, since they are never mutated internally.
@julienfouilhe in #9339
Avoid declaring a global type for the __DEV__ constant, to avoid conflict with other such global declarations.
@benjamn in #9386
Bug Fixes
Fix useSubscription executing skipped subscription when input changes.
@levrik in #9299
Fix partial data appearing in useQuery().data when notifyOnNetworkStatusChange: true.
@brainkim in #9367
Prevent Promises returned by useLazyQuery execute functions from causing unhandled Promise rejection errors if uncaught.
@brainkim in #9380
Commits
580f9ba Bump @apollo/client npm version to 3.5.9.
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.5.8 to 3.5.9.
<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.5.9 (2022-02-15)</h2>
<h3>Improvements</h3>
<ul>
<li>
<p>Interpret <code>keyFields: [...]</code> and <code>keyArgs: [...]</code> configurations in <code>InMemoryCache</code> type/field policies as <code>ReadonlyArray</code>s, since they are never mutated internally. <!-- raw HTML omitted -->
<a href="https://github.com/julienfouilhe"><code>@julienfouilhe</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9339">#9339</a></p>
</li>
<li>
<p>Avoid declaring a global type for the <code>__DEV__</code> constant, to avoid conflict with other such global declarations. <!-- raw HTML omitted -->
<a href="https://github.com/benjamn"><code>@benjamn</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9386">#9386</a></p>
</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>
<p>Fix <code>useSubscription</code> executing <code>skip</code>ped subscription when input changes. <!-- raw HTML omitted -->
<a href="https://github.com/levrik"><code>@levrik</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9299">#9299</a></p>
</li>
<li>
<p>Fix partial data appearing in <code>useQuery().data</code> when <code>notifyOnNetworkStatusChange: true</code>. <!-- raw HTML omitted -->
<a href="https://github.com/brainkim"><code>@brainkim</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9367">#9367</a></p>
</li>
<li>
<p>Prevent <code>Promise</code>s returned by <code>useLazyQuery</code> execute functions from causing unhandled <code>Promise</code> rejection errors if uncaught. <!-- raw HTML omitted -->
<a href="https://github.com/brainkim"><code>@brainkim</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9380">#9380</a></p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/apollographql/apollo-client/commit/580f9baa0fe020eeaee7a49775e2ee3d3762f1a2"><code>580f9ba</code></a> Bump <code>@apollo/client</code> npm version to 3.5.9.</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/792ac32f5b5d23b3346fa07a4d8ac35f0e7e8d70"><code>792ac32</code></a> Backport PR <a href="https://github.com/apollographql/apollo-client/issues/9386">#9386</a> to <code>main</code> branch (<a href="https://github.com/apollographql/apollo-client/issues/9432">#9432</a>)</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/88b5109bafa3158cae396c2a211115621dc58831"><code>88b5109</code></a> chore(deps): bump follow-redirects from 1.14.7 to 1.14.8 (<a href="https://github.com/apollographql/apollo-client/issues/9420">#9420</a>)</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/db6d60099e484274f776e8e1f38fec86b78a6a7b"><code>db6d600</code></a> chore(deps): bump follow-redirects from 1.14.7 to 1.14.8 in /docs (<a href="https://github.com/apollographql/apollo-client/issues/9421">#9421</a>)</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/3f1067116fb962d4dd02edd1b652e769b130766e"><code>3f10671</code></a> chore(deps): update dependency ts-node to v10.5.0</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/078ab0b2e1d3f60dd8bba1f8359eb9890c50a3f2"><code>078ab0b</code></a> chore(deps): update dependency rollup to v2.67.2</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/99989ab760174be9dc9ebf56776aa19ad279245b"><code>99989ab</code></a> chore(deps): update dependency <code>@types/node</code> to v16.11.24</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/602d20dd5d7b2def21742e968e28e72f2195e64f"><code>602d20d</code></a> chore(deps): update dependency jest to v27.5.1</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/b12fd3365c34ed156f51e5240310f1ceae2f9a8b"><code>b12fd33</code></a> Mention PR <a href="https://github.com/apollographql/apollo-client/issues/9380">#9380</a> in CHANGELOG.md.</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/178916f9c5d4ba79e26fc83f6bfc7870624f8cad"><code>178916f</code></a> Mention PRs <a href="https://github.com/apollographql/apollo-client/issues/9299">#9299</a> and <a href="https://github.com/apollographql/apollo-client/issues/9367">#9367</a> in CHANGELOG.md.</li>
<li>Additional commits viewable in <a href="https://github.com/apollographql/apollo-client/compare/v3.5.8...v3.5.9">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.5.8 to 3.5.9.
Changelog
Sourced from
@apollo/client's changelog.Commits
580f9baBump@apollo/clientnpm version to 3.5.9.792ac32Backport PR #9386 tomainbranch (#9432)88b5109chore(deps): bump follow-redirects from 1.14.7 to 1.14.8 (#9420)db6d600chore(deps): bump follow-redirects from 1.14.7 to 1.14.8 in /docs (#9421)3f10671chore(deps): update dependency ts-node to v10.5.0078ab0bchore(deps): update dependency rollup to v2.67.299989abchore(deps): update dependency@types/nodeto v16.11.24602d20dchore(deps): update dependency jest to v27.5.1b12fd33Mention PR #9380 in CHANGELOG.md.178916fMention PRs #9299 and #9367 in CHANGELOG.md.Dependabot 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 conflictsmentioned in commit
37ef1f5b75