Skip to content

Commit

Permalink
Bump @apollo/client from 3.12.4 to 3.12.8 (#2694)
Browse files Browse the repository at this point in the history
Bumps [@apollo/client](https://github.com/apollographql/apollo-client)
from 3.12.4 to 3.12.8.
<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.12.8</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/apollographql/apollo-client/pull/12292">#12292</a>
<a
href="https://github.com/apollographql/apollo-client/commit/3abd944e4adde5d94d91133f2bf6ed1c7744f8c5"><code>3abd944</code></a>
Thanks <a
href="https://github.com/phryneas"><code>@​phryneas</code></a>! - Remove
unused dependency <code>response-iterator</code></p>
</li>
<li>
<p><a
href="https://redirect.github.com/apollographql/apollo-client/pull/12287">#12287</a>
<a
href="https://github.com/apollographql/apollo-client/commit/bf313a39d342a73dc3e9b3db9415c71c2573db3f"><code>bf313a3</code></a>
Thanks <a
href="https://github.com/phryneas"><code>@​phryneas</code></a>! - Fixes
an issue where
<code>client.watchFragment</code>/<code>useFragment</code> with
<code>@includes</code> crashes when a separate cache update writes to
the conditionally included fields.</p>
</li>
</ul>
<h2>v3.12.7</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/apollographql/apollo-client/pull/12281">#12281</a>
<a
href="https://github.com/apollographql/apollo-client/commit/d638ec317b7d21c2246251ef1b9d773588277b39"><code>d638ec3</code></a>
Thanks <a
href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>! -
Make fatal <a
href="https://www.apollographql.com/docs/graphos/routing/operations/subscriptions/multipart-protocol#message-and-error-format">tranport-level
errors</a> from multipart subscriptions available to the error link with
the <code>protocolErrors</code> property.</p>
<pre lang="js"><code>const errorLink = onError(({ protocolErrors })
=&gt; {
  if (protocolErrors) {
    console.log(protocolErrors);
  }
});
</code></pre>
</li>
<li>
<p><a
href="https://redirect.github.com/apollographql/apollo-client/pull/12281">#12281</a>
<a
href="https://github.com/apollographql/apollo-client/commit/d638ec317b7d21c2246251ef1b9d773588277b39"><code>d638ec3</code></a>
Thanks <a
href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>! -
Fix the array type for the <code>errors</code> field on the
<code>ApolloPayloadResult</code> type. This type was always in the shape
of the GraphQL error format, per the <a
href="https://www.apollographql.com/docs/graphos/routing/operations/subscriptions/multipart-protocol#message-and-error-format">multipart
subscriptions protocol</a> and never a plain string or a JavaScript
error object.</p>
</li>
</ul>
<h2>v3.12.6</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/apollographql/apollo-client/pull/12267">#12267</a>
<a
href="https://github.com/apollographql/apollo-client/commit/d57429df336412bfdce5fc92b8299360c522d121"><code>d57429d</code></a>
Thanks <a
href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>! -
Maintain the <code>TData</code> type when used with
<code>Unmasked</code> when <code>TData</code> is not a masked type
generated from GraphQL Codegen.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/apollographql/apollo-client/pull/12270">#12270</a>
<a
href="https://github.com/apollographql/apollo-client/commit/3601246f6e7b4f8b2937e0d431e6b5a6964f9066"><code>3601246</code></a>
Thanks <a
href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>! -
Fix handling of tagged/branded primitive types when used as scalar
values with <code>Unmasked</code>.</p>
</li>
</ul>
<h2>v3.12.5</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/apollographql/apollo-client/pull/12252">#12252</a>
<a
href="https://github.com/apollographql/apollo-client/commit/cb9cd4ea251aab225adf5e4e4f3f69e1bbacee52"><code>cb9cd4e</code></a>
Thanks <a
href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>! -
Changes the default behavior of the <code>MaybeMasked</code> type to
preserve types unless otherwise specified. This change makes it easier
to upgrade from older versions of the client where types could have
unexpectedly changed in the application due to the default of trying to
unwrap types into unmasked types. This change also fixes the compilation
performance regression experienced when simply upgrading the client
since types are now preserved by default.</p>
<p>A new <code>mode</code> option has now been introduced to allow for
the old behavior. See the next section on migrating if you wish to
maintain the old default behavior after upgrading to this version.</p>
<h3>Migrating from &lt;= v3.12.4</h3>
<p>If you've adopted data masking and have opted in to using masked
types by setting the <code>enabled</code> property to <code>true</code>,
you can remove this configuration entirely:</p>
<pre lang="diff"><code>-declare module &quot;@apollo/client&quot; {
-  interface DataMasking {
-    mode: &quot;unmask&quot;
-  }
-}
</code></pre>
<p>If you prefer to specify the behavior explicitly, change the property
from <code>enabled: true</code>, to <code>mode:
&quot;preserveTypes&quot;</code>:</p>
</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>3.12.8</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/apollographql/apollo-client/pull/12292">#12292</a>
<a
href="https://github.com/apollographql/apollo-client/commit/3abd944e4adde5d94d91133f2bf6ed1c7744f8c5"><code>3abd944</code></a>
Thanks <a
href="https://github.com/phryneas"><code>@​phryneas</code></a>! - Remove
unused dependency <code>response-iterator</code></p>
</li>
<li>
<p><a
href="https://redirect.github.com/apollographql/apollo-client/pull/12287">#12287</a>
<a
href="https://github.com/apollographql/apollo-client/commit/bf313a39d342a73dc3e9b3db9415c71c2573db3f"><code>bf313a3</code></a>
Thanks <a
href="https://github.com/phryneas"><code>@​phryneas</code></a>! - Fixes
an issue where
<code>client.watchFragment</code>/<code>useFragment</code> with
<code>@includes</code> crashes when a separate cache update writes to
the conditionally included fields.</p>
</li>
</ul>
<h2>3.12.7</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/apollographql/apollo-client/pull/12281">#12281</a>
<a
href="https://github.com/apollographql/apollo-client/commit/d638ec317b7d21c2246251ef1b9d773588277b39"><code>d638ec3</code></a>
Thanks <a
href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>! -
Make fatal <a
href="https://www.apollographql.com/docs/graphos/routing/operations/subscriptions/multipart-protocol#message-and-error-format">tranport-level
errors</a> from multipart subscriptions available to the error link with
the <code>protocolErrors</code> property.</p>
<pre lang="js"><code>const errorLink = onError(({ protocolErrors })
=&gt; {
  if (protocolErrors) {
    console.log(protocolErrors);
  }
});
</code></pre>
</li>
<li>
<p><a
href="https://redirect.github.com/apollographql/apollo-client/pull/12281">#12281</a>
<a
href="https://github.com/apollographql/apollo-client/commit/d638ec317b7d21c2246251ef1b9d773588277b39"><code>d638ec3</code></a>
Thanks <a
href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>! -
Fix the array type for the <code>errors</code> field on the
<code>ApolloPayloadResult</code> type. This type was always in the shape
of the GraphQL error format, per the <a
href="https://www.apollographql.com/docs/graphos/routing/operations/subscriptions/multipart-protocol#message-and-error-format">multipart
subscriptions protocol</a> and never a plain string or a JavaScript
error object.</p>
</li>
</ul>
<h2>3.12.6</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/apollographql/apollo-client/pull/12267">#12267</a>
<a
href="https://github.com/apollographql/apollo-client/commit/d57429df336412bfdce5fc92b8299360c522d121"><code>d57429d</code></a>
Thanks <a
href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>! -
Maintain the <code>TData</code> type when used with
<code>Unmasked</code> when <code>TData</code> is not a masked type
generated from GraphQL Codegen.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/apollographql/apollo-client/pull/12270">#12270</a>
<a
href="https://github.com/apollographql/apollo-client/commit/3601246f6e7b4f8b2937e0d431e6b5a6964f9066"><code>3601246</code></a>
Thanks <a
href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>! -
Fix handling of tagged/branded primitive types when used as scalar
values with <code>Unmasked</code>.</p>
</li>
</ul>
<h2>3.12.5</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/apollographql/apollo-client/pull/12252">#12252</a>
<a
href="https://github.com/apollographql/apollo-client/commit/cb9cd4ea251aab225adf5e4e4f3f69e1bbacee52"><code>cb9cd4e</code></a>
Thanks <a
href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>! -
Changes the default behavior of the <code>MaybeMasked</code> type to
preserve types unless otherwise specified. This change makes it easier
to upgrade from older versions of the client where types could have
unexpectedly changed in the application due to the default of trying to
unwrap types into unmasked types. This change also fixes the compilation
performance regression experienced when simply upgrading the client
since types are now preserved by default.</p>
<p>A new <code>mode</code> option has now been introduced to allow for
the old behavior. See the next section on migrating if you wish to
maintain the old default behavior after upgrading to this version.</p>
<h3>Migrating from &lt;= v3.12.4</h3>
<p>If you've adopted data masking and have opted in to using masked
types by setting the <code>enabled</code> property to <code>true</code>,
you can remove this configuration entirely:</p>
<pre lang="diff"><code>-declare module &quot;@apollo/client&quot; {
-  interface DataMasking {
-    mode: &quot;unmask&quot;
-  }
-}
</code></pre>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/apollographql/apollo-client/commit/0ea97e5877e58441392c2e937a4f8933cb0f6edc"><code>0ea97e5</code></a>
Version Packages (<a
href="https://redirect.github.com/apollographql/apollo-client/issues/12293">#12293</a>)</li>
<li><a
href="https://github.com/apollographql/apollo-client/commit/1c5e7951e382fe834aef881aab54f5e44047d0a3"><code>1c5e795</code></a>
ci: add write permissions for issues in cleanup checks workflow</li>
<li><a
href="https://github.com/apollographql/apollo-client/commit/4bd63626c94a95aa2390288079fd44f9fcde1513"><code>4bd6362</code></a>
Add <code>peek</code> to <code>ObservableStream</code> and use
<code>ObservableStream</code> in an existing te...</li>
<li><a
href="https://github.com/apollographql/apollo-client/commit/ee36d9f256c14acfc0337dec34a36fe5fc075b3d"><code>ee36d9f</code></a>
Minor tweaks to <code>diffAgainstStore</code> tests (<a
href="https://redirect.github.com/apollographql/apollo-client/issues/12303">#12303</a>)</li>
<li><a
href="https://github.com/apollographql/apollo-client/commit/bf313a39d342a73dc3e9b3db9415c71c2573db3f"><code>bf313a3</code></a>
Ensure <code>watchFragment</code> used with variables does not crash
when the cache upda...</li>
<li><a
href="https://github.com/apollographql/apollo-client/commit/3abd944e4adde5d94d91133f2bf6ed1c7744f8c5"><code>3abd944</code></a>
Remove unused dependency <code>response-iterator</code> (<a
href="https://redirect.github.com/apollographql/apollo-client/issues/12292">#12292</a>)</li>
<li><a
href="https://github.com/apollographql/apollo-client/commit/fab40533597e649af872107db6846f0fd8f827f2"><code>fab4053</code></a>
Update ROADMAP.md</li>
<li><a
href="https://github.com/apollographql/apollo-client/commit/de8196eb72498e4e45438697ec17198e5b88bc44"><code>de8196e</code></a>
Version Packages (<a
href="https://redirect.github.com/apollographql/apollo-client/issues/12289">#12289</a>)</li>
<li><a
href="https://github.com/apollographql/apollo-client/commit/d638ec317b7d21c2246251ef1b9d773588277b39"><code>d638ec3</code></a>
Make protocol errors available in the error link (<a
href="https://redirect.github.com/apollographql/apollo-client/issues/12281">#12281</a>)</li>
<li><a
href="https://github.com/apollographql/apollo-client/commit/7b5c73fd5cad3787d20181976013497bcab941b2"><code>7b5c73f</code></a>
Bump undici from 6.19.8 to 6.21.1 (<a
href="https://redirect.github.com/apollographql/apollo-client/issues/12288">#12288</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/apollographql/apollo-client/compare/v3.12.4...v3.12.8">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.12.4&new-version=3.12.8)](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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Feb 1, 2025
1 parent 129b07e commit e022c7a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
18 changes: 5 additions & 13 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 @@ -17,7 +17,7 @@
"eslint:fix": "eslint --fix \"**/*.js\" \"**/*.vue\""
},
"dependencies": {
"@apollo/client": "^3.12.4",
"@apollo/client": "^3.12.8",
"@fortawesome/fontawesome-svg-core": "^6.7.2",
"@fortawesome/free-brands-svg-icons": "^6.7.2",
"@fortawesome/free-regular-svg-icons": "^6.7.2",
Expand Down

0 comments on commit e022c7a

Please sign in to comment.