Add GraphQLWsLink in @apollo/client/link/subscriptions. This link is similar to the existing WebSocketLink in @apollo/client/link/ws, but uses the newer graphql-ws package and protocol instead of the older subscriptions-transport-ws implementation.
@glasser in #9369
Note from @benjamn: since GraphQLWsLink is new functionality, we would normally wait for the next minor version (v3.6), but we were asked to expedite this release. These changes are strictly additive/opt-in/backwards-compatible, so shipping them in a patch release (3.5.10) seems safe, if unusual.
Commits
6ca525a Bump @apollo/client npm version to 3.5.10.
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.9 to 3.5.10.
<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.10 (2022-02-24)</h2>
<h3>Improvements</h3>
<ul>
<li>
<p>Add <code>GraphQLWsLink</code> in <code>@apollo/client/link/subscriptions</code>. This link is similar to the existing <code>WebSocketLink</code> in <code>@apollo/client/link/ws</code>, but uses the newer <a href="https://www.npmjs.com/package/graphql-ws"><code>graphql-ws</code></a> package and protocol instead of the older <code>subscriptions-transport-ws</code> implementation. <!-- raw HTML omitted -->
<a href="https://github.com/glasser"><code>@glasser</code></a> in <a href="https://github.com/apollographql/apollo-client/pull/9369">#9369</a></p>
<blockquote>
<p>Note from <a href="https://github.com/benjamn"><code>@benjamn</code></a>: since <code>GraphQLWsLink</code> is new functionality, we would normally wait for the next minor version (v3.6), but we were asked to expedite this release. These changes are strictly additive/opt-in/backwards-compatible, so shipping them in a patch release (3.5.10) seems safe, if unusual.</p>
</blockquote>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/apollographql/apollo-client/commit/6ca525a6e2e520ea67cfbfd8df0ac48988b4abe4"><code>6ca525a</code></a> Bump <code>@apollo/client</code> npm version to 3.5.10.</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/ce90c47241dd84787c29e33082a4478853c41945"><code>ce90c47</code></a> Backport PR <a href="https://github.com/apollographql/apollo-client/issues/9369">#9369</a> to <code>main</code> branch for <code>GraphQLWsLink</code> (<a href="https://github.com/apollographql/apollo-client/issues/9453">#9453</a>)</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/a8da7976505e8f1e4878ecfb87d7b1ea233d50ba"><code>a8da797</code></a> chore(deps): update dependency typedoc to v0.22.12</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/9ec9f4727797c32d307cc33a83c43e8b8f97560d"><code>9ec9f47</code></a> chore(deps): update dependency rollup to v2.67.3</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/7aa411f317bb8b7fa75554d4d148989a95f226d3"><code>7aa411f</code></a> chore(deps): update dependency <code>@types/node</code> to v16.11.25</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/807ccf3e28f723c3ead940f94f58694f522aff6f"><code>807ccf3</code></a> chore(deps): update dependency <code>@testing-library/react</code> to v12.1.3</li>
<li><a href="https://github.com/apollographql/apollo-client/commit/2b44886e095095148684d458f2867054c9a494b2"><code>2b44886</code></a> chore(deps): update dependency <code>@babel/parser</code> to v7.17.3</li>
<li>See full diff in <a href="https://github.com/apollographql/apollo-client/compare/v3.5.9...v3.5.10">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.9 to 3.5.10.
Changelog
Sourced from
@apollo/client's changelog.Commits
6ca525aBump@apollo/clientnpm version to 3.5.10.ce90c47Backport PR #9369 tomainbranch forGraphQLWsLink(#9453)a8da797chore(deps): update dependency typedoc to v0.22.129ec9f47chore(deps): update dependency rollup to v2.67.37aa411fchore(deps): update dependency@types/nodeto v16.11.25807ccf3chore(deps): update dependency@testing-library/reactto v12.1.32b44886chore(deps): update dependency@babel/parserto v7.17.3Dependabot 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 3 commits
masterCompare with previous version
added 3 commits
masteree91ad92- Build(deps): bump @apollo/client from 3.5.9 to 3.5.10Compare with previous version
mentioned in commit
99d6d0ec18