Skip to content

Commit

Permalink
Bump @apollo/client from 3.11.1 to 3.11.4 (#364)
Browse files Browse the repository at this point in the history
Bumps [@apollo/client](https://github.com/apollographql/apollo-client)
from 3.11.1 to 3.11.4.
<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.11.4</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/apollographql/apollo-client/pull/11994">#11994</a>
<a
href="https://github.com/apollographql/apollo-client/commit/41b17e5950f4db5ef9e32ded5bb327b3bf19e6e8"><code>41b17e5</code></a>
Thanks <a
href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>! -
Update the <code>Modifier</code> function type to allow
<code>cache.modify</code> to return deeply partial data.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/apollographql/apollo-client/pull/11989">#11989</a>
<a
href="https://github.com/apollographql/apollo-client/commit/e609156c4989def88ae1a28b2e0f0378077a5528"><code>e609156</code></a>
Thanks <a
href="https://github.com/phryneas"><code>@​phryneas</code></a>! - Fix a
potential crash when calling <code>clearStore</code> while a query was
running.</p>
<p>Previously, calling <code>client.clearStore()</code> while a query
was running had one of these results:</p>
<ul>
<li><code>useQuery</code> would stay in a <code>loading: true</code>
state.</li>
<li><code>useLazyQuery</code> would stay in a <code>loading: true</code>
state, but also crash with a <code>&quot;Cannot read property 'data' of
undefined&quot;</code> error.</li>
</ul>
<p>Now, in both cases, the hook will enter an error state with a
<code>networkError</code>, and the promise returned by the
<code>useLazyQuery</code> <code>execute</code> function will return a
result in an error state.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/apollographql/apollo-client/pull/11994">#11994</a>
<a
href="https://github.com/apollographql/apollo-client/commit/41b17e5950f4db5ef9e32ded5bb327b3bf19e6e8"><code>41b17e5</code></a>
Thanks <a
href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>! -
Prevent accidental distribution on <code>cache.modify</code> field
modifiers when a field is a union type array.</p>
</li>
</ul>
<h2>v3.11.3</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/apollographql/apollo-client/pull/11984">#11984</a>
<a
href="https://github.com/apollographql/apollo-client/commit/5db1659dc07e3de697894fc1c6f00a151d068291"><code>5db1659</code></a>
Thanks <a
href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>! -
Fix an issue where multiple fetches with results that returned errors
would sometimes set the <code>data</code> property with an
<code>errorPolicy</code> of <code>none</code>.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/apollographql/apollo-client/pull/11974">#11974</a>
<a
href="https://github.com/apollographql/apollo-client/commit/c95848e859fb7ce0b3b9439ac71dff880f991450"><code>c95848e</code></a>
Thanks <a
href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>! -
Fix an issue where <code>fetchMore</code> would write its result data to
the cache when using it with a <code>no-cache</code> fetch policy.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/apollographql/apollo-client/pull/11974">#11974</a>
<a
href="https://github.com/apollographql/apollo-client/commit/c95848e859fb7ce0b3b9439ac71dff880f991450"><code>c95848e</code></a>
Thanks <a
href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>! -
Fix an issue where executing <code>fetchMore</code> with a
<code>no-cache</code> fetch policy could sometimes result in multiple
network requests.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/apollographql/apollo-client/pull/11974">#11974</a>
<a
href="https://github.com/apollographql/apollo-client/commit/c95848e859fb7ce0b3b9439ac71dff880f991450"><code>c95848e</code></a>
Thanks <a
href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>!
-</p>
<h4>Potentially disruptive change</h4>
<p>When calling <code>fetchMore</code> with a query that has a
<code>no-cache</code> fetch policy, <code>fetchMore</code> will now
throw if an <code>updateQuery</code> function is not provided. This
provides a mechanism to merge the results from the
<code>fetchMore</code> call with the query's previous result.</p>
</li>
</ul>
<h2>v3.11.2</h2>
<h3>Patch Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/apollographql/apollo-client/pull/11980">#11980</a>
<a
href="https://github.com/apollographql/apollo-client/commit/38c0a2c43dd28677ee240754cd389c8a08c05738"><code>38c0a2c</code></a>
Thanks <a
href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>! -
Fix missing <code>getServerSnapshot</code> error when using
<code>useSubscription</code> on the server.</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.11.4</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/apollographql/apollo-client/pull/11994">#11994</a>
<a
href="https://github.com/apollographql/apollo-client/commit/41b17e5950f4db5ef9e32ded5bb327b3bf19e6e8"><code>41b17e5</code></a>
Thanks <a
href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>! -
Update the <code>Modifier</code> function type to allow
<code>cache.modify</code> to return deeply partial data.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/apollographql/apollo-client/pull/11989">#11989</a>
<a
href="https://github.com/apollographql/apollo-client/commit/e609156c4989def88ae1a28b2e0f0378077a5528"><code>e609156</code></a>
Thanks <a
href="https://github.com/phryneas"><code>@​phryneas</code></a>! - Fix a
potential crash when calling <code>clearStore</code> while a query was
running.</p>
<p>Previously, calling <code>client.clearStore()</code> while a query
was running had one of these results:</p>
<ul>
<li><code>useQuery</code> would stay in a <code>loading: true</code>
state.</li>
<li><code>useLazyQuery</code> would stay in a <code>loading: true</code>
state, but also crash with a <code>&quot;Cannot read property 'data' of
undefined&quot;</code> error.</li>
</ul>
<p>Now, in both cases, the hook will enter an error state with a
<code>networkError</code>, and the promise returned by the
<code>useLazyQuery</code> <code>execute</code> function will return a
result in an error state.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/apollographql/apollo-client/pull/11994">#11994</a>
<a
href="https://github.com/apollographql/apollo-client/commit/41b17e5950f4db5ef9e32ded5bb327b3bf19e6e8"><code>41b17e5</code></a>
Thanks <a
href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>! -
Prevent accidental distribution on <code>cache.modify</code> field
modifiers when a field is a union type array.</p>
</li>
</ul>
<h2>3.11.3</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/apollographql/apollo-client/pull/11984">#11984</a>
<a
href="https://github.com/apollographql/apollo-client/commit/5db1659dc07e3de697894fc1c6f00a151d068291"><code>5db1659</code></a>
Thanks <a
href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>! -
Fix an issue where multiple fetches with results that returned errors
would sometimes set the <code>data</code> property with an
<code>errorPolicy</code> of <code>none</code>.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/apollographql/apollo-client/pull/11974">#11974</a>
<a
href="https://github.com/apollographql/apollo-client/commit/c95848e859fb7ce0b3b9439ac71dff880f991450"><code>c95848e</code></a>
Thanks <a
href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>! -
Fix an issue where <code>fetchMore</code> would write its result data to
the cache when using it with a <code>no-cache</code> fetch policy.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/apollographql/apollo-client/pull/11974">#11974</a>
<a
href="https://github.com/apollographql/apollo-client/commit/c95848e859fb7ce0b3b9439ac71dff880f991450"><code>c95848e</code></a>
Thanks <a
href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>! -
Fix an issue where executing <code>fetchMore</code> with a
<code>no-cache</code> fetch policy could sometimes result in multiple
network requests.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/apollographql/apollo-client/pull/11974">#11974</a>
<a
href="https://github.com/apollographql/apollo-client/commit/c95848e859fb7ce0b3b9439ac71dff880f991450"><code>c95848e</code></a>
Thanks <a
href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>!
-</p>
<h4>Potentially disruptive change</h4>
<p>When calling <code>fetchMore</code> with a query that has a
<code>no-cache</code> fetch policy, <code>fetchMore</code> will now
throw if an <code>updateQuery</code> function is not provided. This
provides a mechanism to merge the results from the
<code>fetchMore</code> call with the query's previous result.</p>
</li>
</ul>
<h2>3.11.2</h2>
<h3>Patch Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/apollographql/apollo-client/pull/11980">#11980</a>
<a
href="https://github.com/apollographql/apollo-client/commit/38c0a2c43dd28677ee240754cd389c8a08c05738"><code>38c0a2c</code></a>
Thanks <a
href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>! -
Fix missing <code>getServerSnapshot</code> error when using
<code>useSubscription</code> on the server.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/apollographql/apollo-client/commit/c6e81828d7846c97f2bb070d18911df227ff6a77"><code>c6e8182</code></a>
Version Packages (<a
href="https://redirect.github.com/apollographql/apollo-client/issues/11991">#11991</a>)</li>
<li><a
href="https://github.com/apollographql/apollo-client/commit/41b17e5950f4db5ef9e32ded5bb327b3bf19e6e8"><code>41b17e5</code></a>
Fix issue returning arrays from cache.modify modifier functions when the
arra...</li>
<li><a
href="https://github.com/apollographql/apollo-client/commit/9e4b7989e911d14ff7fca133a95b70e3e2502d3f"><code>9e4b798</code></a>
renovate: don't request reviewers (<a
href="https://redirect.github.com/apollographql/apollo-client/issues/11992">#11992</a>)</li>
<li><a
href="https://github.com/apollographql/apollo-client/commit/e609156c4989def88ae1a28b2e0f0378077a5528"><code>e609156</code></a>
Fix a potential crash when calling <code>clearStore</code> while a query
was running. (#...</li>
<li><a
href="https://github.com/apollographql/apollo-client/commit/8aa627fde61244016163d2b359764352b4dc93c4"><code>8aa627f</code></a>
Version Packages (<a
href="https://redirect.github.com/apollographql/apollo-client/issues/11985">#11985</a>)</li>
<li><a
href="https://github.com/apollographql/apollo-client/commit/5db1659dc07e3de697894fc1c6f00a151d068291"><code>5db1659</code></a>
Fix issue where multiple fetches might report <code>data</code> if
result contained erro...</li>
<li><a
href="https://github.com/apollographql/apollo-client/commit/c95848e859fb7ce0b3b9439ac71dff880f991450"><code>c95848e</code></a>
Fix <code>fetchMore</code> for queries with <code>no-cache</code> fetch
policies (<a
href="https://redirect.github.com/apollographql/apollo-client/issues/11974">#11974</a>)</li>
<li><a
href="https://github.com/apollographql/apollo-client/commit/076bb635b8b95dc01dd25ba8def522961ca6d4a4"><code>076bb63</code></a>
Version Packages (<a
href="https://redirect.github.com/apollographql/apollo-client/issues/11981">#11981</a>)</li>
<li><a
href="https://github.com/apollographql/apollo-client/commit/38c0a2c43dd28677ee240754cd389c8a08c05738"><code>38c0a2c</code></a>
Fix missing <code>getServerSnapshot</code> function for useSubscription
(<a
href="https://redirect.github.com/apollographql/apollo-client/issues/11980">#11980</a>)</li>
<li><a
href="https://github.com/apollographql/apollo-client/commit/07693a28085b1c291b136e84b2861568e4d3d1bc"><code>07693a2</code></a>
chore(deps): update all devdependencies (<a
href="https://redirect.github.com/apollographql/apollo-client/issues/11979">#11979</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/apollographql/apollo-client/compare/v3.11.1...v3.11.4">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.11.1&new-version=3.11.4)](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>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Charles OuGuo <shaldengeki@gmail.com>
  • Loading branch information
dependabot[bot] and shaldengeki authored Aug 8, 2024
1 parent b520af9 commit 43ba26f
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 83 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"home_api/frontend/*"
],
"dependencies": {
"@apollo/client": "^3.11.1",
"@apollo/client": "^3.11.4",
"@apollo/react-testing": "^4.0.0",
"@headlessui/react": "^2.1.2",
"@heroicons/react": "^2.1.5",
Expand Down
117 changes: 39 additions & 78 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 43ba26f

Please sign in to comment.