Fix issue where loading remains true after observer.refetch is called repeatedly with different variables when the same data are returned.
@alessbell in #10143
Fix race condition where useFragment_experimental could receive cache updates before initially calling cache.watch in useEffect.
@benjamn in #10212
Fix issue where loading remains true after observer.refetch is called repeatedly with different variables when the same data are returned.
@alessbell in #10143
Fix race condition where useFragment_experimental could receive cache updates before initially calling cache.watch in useEffect.
@benjamn in #10212
Commits
e6ad3c9 Bump @apollo/client npm version to 3.7.1.
81bc6b4 Detect if diff changes between useFragment and cache.watch (#10212)
b03dff2 Remaining Local Resolvers wordsmithing (#10214)
3c7736d Remove (deprecated) from Local resolvers doc title (#10213)
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.7.0 to 3.7.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>3.7.1</h2>
<h2>Bug fixes (from <a href="https://github.com/apollographql/apollo-client/blob/main/CHANGELOG.md"><code>CHANGELOG.md</code></a>)</h2>
<ul>
<li>
<p>Fix issue where <code>loading</code> remains <code>true</code> after <code>observer.refetch</code> is called repeatedly with different variables when the same data are returned.
<a href="https://github.com/alessbell"><code>@alessbell</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10143">#10143</a></p>
</li>
<li>
<p>Fix race condition where <code>useFragment_experimental</code> could receive cache updates before initially calling <code>cache.watch</code> in <code>useEffect</code>.
<a href="https://github.com/benjamn"><code>@benjamn</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10212">#10212</a></p>
</li>
</ul>
<h2>What's Changed (auto-generated by GitHub)</h2>
<ul>
<li>changes install message by <a href="https://github.com/jpvajda"><code>@jpvajda</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10149">apollographql/apollo-client#10149</a></li>
<li>oct 2022 roadmap update by <a href="https://github.com/jpvajda"><code>@jpvajda</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10161">apollographql/apollo-client#10161</a></li>
<li>Small updates for AS4 by <a href="https://github.com/rkoron007"><code>@rkoron007</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10175">apollographql/apollo-client#10175</a></li>
<li>Various edits to caching docs by <a href="https://github.com/StephenBarlow"><code>@StephenBarlow</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9984">apollographql/apollo-client#9984</a></li>
<li>Use nav nesting and tweak defer article slightly by <a href="https://github.com/StephenBarlow"><code>@StephenBarlow</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10187">apollographql/apollo-client#10187</a></li>
<li>Call <code>iterateObserversSafely</code> if vars change between calls to <code>observer.next</code> by <a href="https://github.com/alessbell"><code>@alessbell</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10143">apollographql/apollo-client#10143</a></li>
<li>Update docs algolia filters by <a href="https://github.com/trevorblades"><code>@trevorblades</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10200">apollographql/apollo-client#10200</a></li>
<li>Fix typo in <code>NetworkError</code> by <a href="https://github.com/OliverWales"><code>@OliverWales</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10204">apollographql/apollo-client#10204</a></li>
<li>Update apollo-link-rest.md - Add graphql-anywhere to install list by <a href="https://github.com/pfcodes"><code>@pfcodes</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10138">apollographql/apollo-client#10138</a></li>
<li>Use custom <code>config/bundlesize.ts</code> script to avoid <code>iltorb</code> dependency, unbreaking <code>npm install</code> when using Node.js v19 by <a href="https://github.com/benjamn"><code>@benjamn</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10206">apollographql/apollo-client#10206</a></li>
<li>Experiment with not caching the <code>~/.npm</code> directory during Filesize/Tests CircleCI jobs by <a href="https://github.com/benjamn"><code>@benjamn</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10209">apollographql/apollo-client#10209</a></li>
<li>docs: add TypedDocumentNode example by <a href="https://github.com/henryqdineen"><code>@henryqdineen</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10031">apollographql/apollo-client#10031</a></li>
<li>Update Local Resolvers docs by <a href="https://github.com/bignimbus"><code>@bignimbus</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10211">apollographql/apollo-client#10211</a></li>
<li>Remove (deprecated) from Local resolvers doc title by <a href="https://github.com/bignimbus"><code>@bignimbus</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10213">apollographql/apollo-client#10213</a></li>
<li>Remaining Local Resolvers wordsmithing by <a href="https://github.com/bignimbus"><code>@bignimbus</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10214">apollographql/apollo-client#10214</a></li>
<li>Call <code>forceUpdate</code> immediately if <code>diff</code> changes between first <code>useFragment</code> call and first <code>cache.watch</code> call by <a href="https://github.com/benjamn"><code>@benjamn</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10212">apollographql/apollo-client#10212</a></li>
</ul>
<h2>New Contributors (auto-generated by GitHub)</h2>
<ul>
<li><a href="https://github.com/OliverWales"><code>@OliverWales</code></a> made their first contribution in <a href="https://github.com/apollographql/apollo-client/pull/10204">apollographql/apollo-client#10204</a></li>
<li><a href="https://github.com/pfcodes"><code>@pfcodes</code></a> made their first contribution in <a href="https://github.com/apollographql/apollo-client/pull/10138">apollographql/apollo-client#10138</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/apollographql/apollo-client/compare/v3.7.0...v3.7.1">https://github.com/apollographql/apollo-client/compare/v3.7.0...v3.7.1</a></p>
</blockquote>
</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.7.1 (2022-10-20)</h2>
<h3>Bug fixes</h3>
<ul>
<li>
<p>Fix issue where <code>loading</code> remains <code>true</code> after <code>observer.refetch</code> is called repeatedly with different variables when the same data are returned. <!-- raw HTML omitted -->
<a href="https://github.com/alessbell"><code>@alessbell</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10143">#10143</a></p>
</li>
<li>
<p>Fix race condition where <code>useFragment_experimental</code> could receive cache updates before initially calling <code>cache.watch</code> in <code>useEffect</code>. <!-- raw HTML omitted -->
<a href="https://github.com/benjamn"><code>@benjamn</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/10212">#10212</a></p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/apollographql/apollo-client/commit/e6ad3c9535d5641a3435936c210fe159d7bf16b8"><code>e6ad3c9</code></a> Bump <code>@apollo/client</code> npm version to 3.7.1.</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/81bc6b4efdf2e28c77171ea73dc1da0cd382a7e4"><code>81bc6b4</code></a> Detect if <code>diff</code> changes between <code>useFragment</code> and <code>cache.watch</code> (<a href="https://github.com/apollographql/apollo-client/issues/10212">#10212</a>)</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/b03dff2dd8b42962c5d9d4aee5234e72ceb74870"><code>b03dff2</code></a> Remaining Local Resolvers wordsmithing (<a href="https://github.com/apollographql/apollo-client/issues/10214">#10214</a>)</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/3c7736db815fef5dbe261dc90f8a4f1cfcff11f2"><code>3c7736d</code></a> Remove (deprecated) from Local resolvers doc title (<a href="https://github.com/apollographql/apollo-client/issues/10213">#10213</a>)</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/8bfdec1ff5fceec56dbfd9423deec15d395c086e"><code>8bfdec1</code></a> Update Local Resolvers docs (<a href="https://github.com/apollographql/apollo-client/issues/10211">#10211</a>)</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/896e5d8511cfa2f8f4815e0c9bde2cc96677d427"><code>896e5d8</code></a> docs: add TypedDocumentNode example (<a href="https://github.com/apollographql/apollo-client/issues/10031">#10031</a>)</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/b4dd365b8f9f608b65ad343551af1329a7fdfd36"><code>b4dd365</code></a> Stop caching <code>~/.npm</code> directory during Filesize/Tests CircleCI jobs (<a href="https://github.com/apollographql/apollo-client/issues/10209">#10209</a>)</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/643c45c4ff027a12782c7ba659ece89d19952972"><code>643c45c</code></a> Use custom <code>config/bundlesize.ts</code> script to avoid <code>iltorb</code> dependency (<a href="https://github.com/apollographql/apollo-client/issues/10206">#10206</a>)</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/b0cef6228697677b7d10d83e495111f023b69f84"><code>b0cef62</code></a> Update apollo-link-rest.md (<a href="https://github.com/apollographql/apollo-client/issues/10138">#10138</a>)</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/b23234e5431fb5b1b6324e5e7e8b7ae3bf001e9f"><code>b23234e</code></a> Fix typo (<a href="https://github.com/apollographql/apollo-client/issues/10204">#10204</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/apollographql/apollo-client/compare/v3.7.0...v3.7.1">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.7.0 to 3.7.1.
Release notes
Sourced from
@apollo/client's releases.Changelog
Sourced from
@apollo/client's changelog.Commits
e6ad3c9Bump@apollo/clientnpm version to 3.7.1.81bc6b4Detect ifdiffchanges betweenuseFragmentandcache.watch(#10212)b03dff2Remaining Local Resolvers wordsmithing (#10214)3c7736dRemove (deprecated) from Local resolvers doc title (#10213)8bfdec1Update Local Resolvers docs (#10211)896e5d8docs: add TypedDocumentNode example (#10031)b4dd365Stop caching~/.npmdirectory during Filesize/Tests CircleCI jobs (#10209)643c45cUse customconfig/bundlesize.tsscript to avoidiltorbdependency (#10206)b0cef62Update apollo-link-rest.md (#10138)b23234eFix typo (#10204)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 conflictsadded 2 commits
fc2861b5- 1 commit from branchmasterCompare with previous version
added 2 commits
b00c6254- 1 commit from branchmasterCompare with previous version
added 2 commits
e015d222- 1 commit from branchmasterf18ef58a- Build(deps): bump @apollo/client from 3.7.0 to 3.7.1Compare with previous version