#1007251045c336 Thanks @Huulivoide! - Fixes race conditions in useReactiveVar that may prevent updates to the reactive variable from propagating through the hook.
#11162d9685f53c Thanks @jerelmiller! - Ensures GraphQL errors returned in subscription payloads adhere to the errorPolicy set in client.subscribe(...) calls.
#1113496492e142 Thanks @alessbell! - Use separate type imports in useSuspenseQuery and useBackgroundQuery to workaround SWC compiler issue.
#111176b8198109 Thanks @phryneas! - Adds a new devtools registration mechanism and tweaks the mechanism behind the
"devtools not found" mechanic.
#11186f1d429f32 Thanks @jerelmiller! - Fix an issue where race conditions when rapidly switching between variables would sometimes result in the wrong data returned from the query. Specifically this occurs when a query is triggered with an initial set of variables (VariablesA), then triggers the same query with another set of variables (VariablesB) but switches back to the VariablesA before the response for VariablesB is returned. Previously this would result in the data for VariablesB to be displayed while VariablesA was active. The data is for VariablesA is now properly returned.
#111807d9c481e5 Thanks @jerelmiller! - Fixes an issue where refetching from useBackgroundQuery via refetch with an error after an error was already fetched would get stuck in a loading state.
#1007251045c336 Thanks @Huulivoide! - Fixes race conditions in useReactiveVar that may prevent updates to the reactive variable from propagating through the hook.
#11162d9685f53c Thanks @jerelmiller! - Ensures GraphQL errors returned in subscription payloads adhere to the errorPolicy set in client.subscribe(...) calls.
#1113496492e142 Thanks @alessbell! - Use separate type imports in useSuspenseQuery and useBackgroundQuery to workaround SWC compiler issue.
#111176b8198109 Thanks @phryneas! - Adds a new devtools registration mechanism and tweaks the mechanism behind the
"devtools not found" mechanic.
#11186f1d429f32 Thanks @jerelmiller! - Fix an issue where race conditions when rapidly switching between variables would sometimes result in the wrong data returned from the query. Specifically this occurs when a query is triggered with an initial set of variables (VariablesA), then triggers the same query with another set of variables (VariablesB) but switches back to the VariablesA before the response for VariablesB is returned. Previously this would result in the data for VariablesB to be displayed while VariablesA was active. The data is for VariablesA is now properly returned.
#111807d9c481e5 Thanks @jerelmiller! - Fixes an issue where refetching from useBackgroundQuery via refetch with an error after an error was already fetched would get stuck in a loading state.
Dependabot commands
You can trigger Dependabot actions by commenting on 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.8.1 to 3.8.2.
<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.8.2</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a href="https://github.com/apollographql/apollo-client/pull/10072">#10072</a> <a href="https://github.com/apollographql/apollo-client/commit/51045c336ff86befbdd598af6e7104ffe0d419d0"><code>51045c336</code></a> Thanks <a href="https://github.com/Huulivoide"><code>@Huulivoide</code></a>! - Fixes race conditions in useReactiveVar that may prevent updates to the reactive variable from propagating through the hook.</p>
</li>
<li>
<p><a href="https://github.com/apollographql/apollo-client/pull/11162">#11162</a> <a href="https://github.com/apollographql/apollo-client/commit/d9685f53c34483245e6ea21e91b669ef1180ae97"><code>d9685f53c</code></a> Thanks <a href="https://github.com/jerelmiller"><code>@jerelmiller</code></a>! - Ensures GraphQL errors returned in subscription payloads adhere to the <code>errorPolicy</code> set in <code>client.subscribe(...)</code> calls.</p>
</li>
<li>
<p><a href="https://github.com/apollographql/apollo-client/pull/11134">#11134</a> <a href="https://github.com/apollographql/apollo-client/commit/96492e14279d78e2613c1381d31f88cdf5816f45"><code>96492e142</code></a> Thanks <a href="https://github.com/alessbell"><code>@alessbell</code></a>! - Use separate type imports in useSuspenseQuery and useBackgroundQuery to workaround SWC compiler issue.</p>
</li>
<li>
<p><a href="https://github.com/apollographql/apollo-client/pull/11117">#11117</a> <a href="https://github.com/apollographql/apollo-client/commit/6b8198109bd9fe5eedf352421a0a773ac0acfb18"><code>6b8198109</code></a> Thanks <a href="https://github.com/phryneas"><code>@phryneas</code></a>! - Adds a new devtools registration mechanism and tweaks the mechanism behind the
"devtools not found" mechanic.</p>
</li>
<li>
<p><a href="https://github.com/apollographql/apollo-client/pull/11186">#11186</a> <a href="https://github.com/apollographql/apollo-client/commit/f1d429f32ae8e896155b50f1fc7c51dfeb06c3ba"><code>f1d429f32</code></a> Thanks <a href="https://github.com/jerelmiller"><code>@jerelmiller</code></a>! - Fix an issue where race conditions when rapidly switching between variables would sometimes result in the wrong <code>data</code> returned from the query. Specifically this occurs when a query is triggered with an initial set of variables (<code>VariablesA</code>), then triggers the same query with another set of variables (<code>VariablesB</code>) but switches back to the <code>VariablesA</code> before the response for <code>VariablesB</code> is returned. Previously this would result in the data for <code>VariablesB</code> to be displayed while <code>VariablesA</code> was active. The data is for <code>VariablesA</code> is now properly returned.</p>
</li>
<li>
<p><a href="https://github.com/apollographql/apollo-client/pull/11163">#11163</a> <a href="https://github.com/apollographql/apollo-client/commit/a8a9e11e917716538206eb7d5de21dbfd09630bd"><code>a8a9e11e9</code></a> Thanks <a href="https://github.com/bignimbus"><code>@bignimbus</code></a>! - Fix typo in error message: "occured" -> "occurred"</p>
</li>
<li>
<p><a href="https://github.com/apollographql/apollo-client/pull/11180">#11180</a> <a href="https://github.com/apollographql/apollo-client/commit/7d9c481e53f3c9577ec6ed6231c9e3db8c8b374b"><code>7d9c481e5</code></a> Thanks <a href="https://github.com/jerelmiller"><code>@jerelmiller</code></a>! - Fixes an issue where refetching from <code>useBackgroundQuery</code> via <code>refetch</code> with an error after an error was already fetched would get stuck in a loading state.</p>
</li>
</ul>
</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>3.8.2</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a href="https://github.com/apollographql/apollo-client/pull/10072">#10072</a> <a href="https://github.com/apollographql/apollo-client/commit/51045c336ff86befbdd598af6e7104ffe0d419d0"><code>51045c336</code></a> Thanks <a href="https://github.com/Huulivoide"><code>@Huulivoide</code></a>! - Fixes race conditions in useReactiveVar that may prevent updates to the reactive variable from propagating through the hook.</p>
</li>
<li>
<p><a href="https://github.com/apollographql/apollo-client/pull/11162">#11162</a> <a href="https://github.com/apollographql/apollo-client/commit/d9685f53c34483245e6ea21e91b669ef1180ae97"><code>d9685f53c</code></a> Thanks <a href="https://github.com/jerelmiller"><code>@jerelmiller</code></a>! - Ensures GraphQL errors returned in subscription payloads adhere to the <code>errorPolicy</code> set in <code>client.subscribe(...)</code> calls.</p>
</li>
<li>
<p><a href="https://github.com/apollographql/apollo-client/pull/11134">#11134</a> <a href="https://github.com/apollographql/apollo-client/commit/96492e14279d78e2613c1381d31f88cdf5816f45"><code>96492e142</code></a> Thanks <a href="https://github.com/alessbell"><code>@alessbell</code></a>! - Use separate type imports in useSuspenseQuery and useBackgroundQuery to workaround SWC compiler issue.</p>
</li>
<li>
<p><a href="https://github.com/apollographql/apollo-client/pull/11117">#11117</a> <a href="https://github.com/apollographql/apollo-client/commit/6b8198109bd9fe5eedf352421a0a773ac0acfb18"><code>6b8198109</code></a> Thanks <a href="https://github.com/phryneas"><code>@phryneas</code></a>! - Adds a new devtools registration mechanism and tweaks the mechanism behind the
"devtools not found" mechanic.</p>
</li>
<li>
<p><a href="https://github.com/apollographql/apollo-client/pull/11186">#11186</a> <a href="https://github.com/apollographql/apollo-client/commit/f1d429f32ae8e896155b50f1fc7c51dfeb06c3ba"><code>f1d429f32</code></a> Thanks <a href="https://github.com/jerelmiller"><code>@jerelmiller</code></a>! - Fix an issue where race conditions when rapidly switching between variables would sometimes result in the wrong <code>data</code> returned from the query. Specifically this occurs when a query is triggered with an initial set of variables (<code>VariablesA</code>), then triggers the same query with another set of variables (<code>VariablesB</code>) but switches back to the <code>VariablesA</code> before the response for <code>VariablesB</code> is returned. Previously this would result in the data for <code>VariablesB</code> to be displayed while <code>VariablesA</code> was active. The data is for <code>VariablesA</code> is now properly returned.</p>
</li>
<li>
<p><a href="https://github.com/apollographql/apollo-client/pull/11163">#11163</a> <a href="https://github.com/apollographql/apollo-client/commit/a8a9e11e917716538206eb7d5de21dbfd09630bd"><code>a8a9e11e9</code></a> Thanks <a href="https://github.com/bignimbus"><code>@bignimbus</code></a>! - Fix typo in error message: "occured" -> "occurred"</p>
</li>
<li>
<p><a href="https://github.com/apollographql/apollo-client/pull/11180">#11180</a> <a href="https://github.com/apollographql/apollo-client/commit/7d9c481e53f3c9577ec6ed6231c9e3db8c8b374b"><code>7d9c481e5</code></a> Thanks <a href="https://github.com/jerelmiller"><code>@jerelmiller</code></a>! - Fixes an issue where refetching from <code>useBackgroundQuery</code> via <code>refetch</code> with an error after an error was already fetched would get stuck in a loading state.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/apollographql/apollo-client/commit/1fd7e77621beadd785d93e50d541e08a9bf6513d"><code>1fd7e77</code></a> Version Packages (<a href="https://github.com/apollographql/apollo-client/issues/11164">#11164</a>)</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/f1d429f32ae8e896155b50f1fc7c51dfeb06c3ba"><code>f1d429f</code></a> Fixes race condition when changing back to initial variables before request f...</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/51045c336ff86befbdd598af6e7104ffe0d419d0"><code>51045c3</code></a> Fix race condition in useReactiveVar (<a href="https://github.com/apollographql/apollo-client/issues/10072">#10072</a>)</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/d414de73b6528d474474255acfb933177332d75f"><code>d414de7</code></a> chore: bumps typedoc version for TS 5.2 compatibility (<a href="https://github.com/apollographql/apollo-client/issues/11188">#11188</a>)</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/7d9c481e53f3c9577ec6ed6231c9e3db8c8b374b"><code>7d9c481</code></a> Fixes issue where refetching an error after an error was returned would hang ...</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/6b8198109bd9fe5eedf352421a0a773ac0acfb18"><code>6b81981</code></a> New devtools registration mechanism (<a href="https://github.com/apollographql/apollo-client/issues/11117">#11117</a>)</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/eef27e53d27c19e9864f73442bf568d5023b69fc"><code>eef27e5</code></a> Enforce prettier formatting in PRs (<a href="https://github.com/apollographql/apollo-client/issues/11185">#11185</a>)</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/fd6f3692a740a6a449d5d3b9bf7b2073919cf0bb"><code>fd6f369</code></a> Add entry to git-blame-ignore-revs</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/994ae91f16ea4c8ee28818bd7eaac47e4765c660"><code>994ae91</code></a> Reformat missed files from <a href="https://github.com/apollographql/apollo-client/issues/11170">#11170</a></li>
<li><a href="https://github.com/apollographql/apollo-client/commit/f0bb56c821e4c9431b57f2ace7637ee9fb4b403e"><code>f0bb56c</code></a> Add a format command</li>
<li>Additional commits viewable in <a href="https://github.com/apollographql/apollo-client/compare/v3.8.1...v3.8.2">compare view</a></li>
</ul>
</details>
<br />
---
<details>
<summary>Dependabot commands</summary>
<br />
You can trigger Dependabot actions by commenting on 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.8.1 to 3.8.2.
Release notes
Sourced from
@apollo/client's releases.Changelog
Sourced from
@apollo/client's changelog.Commits
1fd7e77Version Packages (#11164)f1d429fFixes race condition when changing back to initial variables before request f...51045c3Fix race condition in useReactiveVar (#10072)d414de7chore: bumps typedoc version for TS 5.2 compatibility (#11188)7d9c481Fixes issue where refetching an error after an error was returned would hang ...6b81981New devtools registration mechanism (#11117)eef27e5Enforce prettier formatting in PRs (#11185)fd6f369Add entry to git-blame-ignore-revs994ae91Reformat missed files from #11170f0bb56cAdd a format commandDependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot recreatewill recreate this MR rewriting all the manual changes and resolving conflictsadded 2 commits
29339bc0- 1 commit from branchmasterb948b4fd- Build(deps): bump @apollo/client from 3.8.1 to 3.8.2Compare with previous version