Build(deps): bump @apollo/client from 3.7.10 to 3.7.11 #1067

Merged
argoyle merged 1 commits from dependabot-npm_and_yarn-apollo-client-3.7.11 into master 2023-04-02 18:24:38 +00:00
argoyle commented 2023-04-01 04:40:25 +00:00 (Migrated from gitlab.com)

Bumps @apollo/client from 3.7.10 to 3.7.11.

Release notes

Sourced from @​apollo/client's releases.

v3.7.11

Patch Changes

  • #10586 4175af594 Thanks @​alessbell! - Improve WebSocket error handling for generic Event received on error. For more information see https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/error_event.

  • #10411 152baac34 Thanks @​lovasoa! - Simplify error message generation and make 'undefined' an impossible message string.

  • #10592 cdb98ae08 Thanks @​alessbell! - Adds support for multipart subscriptions in HttpLink.

  • #10698 38508a251 Thanks @​jerelmiller! - Changes the behavior of useLazyQuery introduced in #10427 where unmounting a component before a query was resolved would reject the promise with an abort error. Instead, the promise will now resolve naturally with the result from the request.

    Other notable fixes:

    • Kicking off multiple requests in parallel with the execution function will now ensure each returned promise is resolved with the data from its request. Previously, each promise was resolved with data from the last execution.
    • Re-rendering useLazyQuery with a different query document will now ensure the execution function uses the updated query document. Previously, only the query document rendered the first time would be used for the request.
  • #10660 364bee98f Thanks @​alessbell! - Upgrades TypeScript to v5. This change is fully backward-compatible and transparent to users.

  • #10597 8fb9d190d Thanks @​phryneas! - Fix a bug where an incoming cache update could prevent future updates from the active link.

  • #10629 02605bb3c Thanks @​phryneas! - useQuery: delay unsubscribe to fix race conditions

Changelog

Sourced from @​apollo/client's changelog.

3.7.11

Patch Changes

  • #10586 4175af594 Thanks @​alessbell! - Improve WebSocket error handling for generic Event received on error. For more information see https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/error_event.

  • #10411 152baac34 Thanks @​lovasoa! - Simplify error message generation and make 'undefined' an impossible message string.

  • #10592 cdb98ae08 Thanks @​alessbell! - Adds support for multipart subscriptions in HttpLink.

  • #10698 38508a251 Thanks @​jerelmiller! - Changes the behavior of useLazyQuery introduced in #10427 where unmounting a component before a query was resolved would reject the promise with an abort error. Instead, the promise will now resolve naturally with the result from the request.

    Other notable fixes:

    • Kicking off multiple requests in parallel with the execution function will now ensure each returned promise is resolved with the data from its request. Previously, each promise was resolved with data from the last execution.
    • Re-rendering useLazyQuery with a different query document will now ensure the execution function uses the updated query document. Previously, only the query document rendered the first time would be used for the request.
  • #10660 364bee98f Thanks @​alessbell! - Upgrades TypeScript to v5. This change is fully backward-compatible and transparent to users.

  • #10597 8fb9d190d Thanks @​phryneas! - Fix a bug where an incoming cache update could prevent future updates from the active link.

  • #10629 02605bb3c Thanks @​phryneas! - useQuery: delay unsubscribe to fix race conditions

Commits


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.10 to 3.7.11. <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.7.11</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://github.com/apollographql/apollo-client/pull/10586">#10586</a> <a href="https://github.com/apollographql/apollo-client/commit/4175af59419dbb698c32c074f44229f3a5b3b83d"><code>4175af594</code></a> Thanks <a href="https://github.com/alessbell"><code>@​alessbell</code></a>! - Improve WebSocket error handling for generic <code>Event</code> received on error. For more information see <a href="https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/error_event">https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/error_event</a>.</p> </li> <li> <p><a href="https://github.com/apollographql/apollo-client/pull/10411">#10411</a> <a href="https://github.com/apollographql/apollo-client/commit/152baac343b8b68c7a2d4691d5dc60d9e43e62bb"><code>152baac34</code></a> Thanks <a href="https://github.com/lovasoa"><code>@​lovasoa</code></a>! - Simplify error message generation and make 'undefined' an impossible message string.</p> </li> <li> <p><a href="https://github.com/apollographql/apollo-client/pull/10592">#10592</a> <a href="https://github.com/apollographql/apollo-client/commit/cdb98ae082ae4c7da6cd6a0fd5ad8457810fceda"><code>cdb98ae08</code></a> Thanks <a href="https://github.com/alessbell"><code>@​alessbell</code></a>! - Adds support for multipart subscriptions in <code>HttpLink</code>.</p> </li> <li> <p><a href="https://github.com/apollographql/apollo-client/pull/10698">#10698</a> <a href="https://github.com/apollographql/apollo-client/commit/38508a251423057fd8a0df50230f50e0a5dde5fd"><code>38508a251</code></a> Thanks <a href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>! - Changes the behavior of <code>useLazyQuery</code> introduced in <a href="https://github.com/apollographql/apollo-client/pull/10427">#10427</a> where unmounting a component before a query was resolved would reject the promise with an abort error. Instead, the promise will now resolve naturally with the result from the request.</p> <p>Other notable fixes:</p> <ul> <li>Kicking off multiple requests in parallel with the execution function will now ensure each returned promise is resolved with the data from its request. Previously, each promise was resolved with data from the last execution.</li> <li>Re-rendering <code>useLazyQuery</code> with a different query document will now ensure the execution function uses the updated query document. Previously, only the query document rendered the first time would be used for the request.</li> </ul> </li> <li> <p><a href="https://github.com/apollographql/apollo-client/pull/10660">#10660</a> <a href="https://github.com/apollographql/apollo-client/commit/364bee98fe193a7915664c1a5b206fd52793f85a"><code>364bee98f</code></a> Thanks <a href="https://github.com/alessbell"><code>@​alessbell</code></a>! - Upgrades TypeScript to v5. This change is fully backward-compatible and transparent to users.</p> </li> <li> <p><a href="https://github.com/apollographql/apollo-client/pull/10597">#10597</a> <a href="https://github.com/apollographql/apollo-client/commit/8fb9d190dbf48147412517643e3e425a7d48c49c"><code>8fb9d190d</code></a> Thanks <a href="https://github.com/phryneas"><code>@​phryneas</code></a>! - Fix a bug where an incoming cache update could prevent future updates from the active link.</p> </li> <li> <p><a href="https://github.com/apollographql/apollo-client/pull/10629">#10629</a> <a href="https://github.com/apollographql/apollo-client/commit/02605bb3c9e148bf87a6e52b4a9ecc7d523ef9f6"><code>02605bb3c</code></a> Thanks <a href="https://github.com/phryneas"><code>@​phryneas</code></a>! - <code>useQuery</code>: delay unsubscribe to fix race conditions</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.7.11</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://github.com/apollographql/apollo-client/pull/10586">#10586</a> <a href="https://github.com/apollographql/apollo-client/commit/4175af59419dbb698c32c074f44229f3a5b3b83d"><code>4175af594</code></a> Thanks <a href="https://github.com/alessbell"><code>@​alessbell</code></a>! - Improve WebSocket error handling for generic <code>Event</code> received on error. For more information see <a href="https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/error_event">https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/error_event</a>.</p> </li> <li> <p><a href="https://github.com/apollographql/apollo-client/pull/10411">#10411</a> <a href="https://github.com/apollographql/apollo-client/commit/152baac343b8b68c7a2d4691d5dc60d9e43e62bb"><code>152baac34</code></a> Thanks <a href="https://github.com/lovasoa"><code>@​lovasoa</code></a>! - Simplify error message generation and make 'undefined' an impossible message string.</p> </li> <li> <p><a href="https://github.com/apollographql/apollo-client/pull/10592">#10592</a> <a href="https://github.com/apollographql/apollo-client/commit/cdb98ae082ae4c7da6cd6a0fd5ad8457810fceda"><code>cdb98ae08</code></a> Thanks <a href="https://github.com/alessbell"><code>@​alessbell</code></a>! - Adds support for multipart subscriptions in <code>HttpLink</code>.</p> </li> <li> <p><a href="https://github.com/apollographql/apollo-client/pull/10698">#10698</a> <a href="https://github.com/apollographql/apollo-client/commit/38508a251423057fd8a0df50230f50e0a5dde5fd"><code>38508a251</code></a> Thanks <a href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>! - Changes the behavior of <code>useLazyQuery</code> introduced in <a href="https://github.com/apollographql/apollo-client/pull/10427">#10427</a> where unmounting a component before a query was resolved would reject the promise with an abort error. Instead, the promise will now resolve naturally with the result from the request.</p> <p>Other notable fixes:</p> <ul> <li>Kicking off multiple requests in parallel with the execution function will now ensure each returned promise is resolved with the data from its request. Previously, each promise was resolved with data from the last execution.</li> <li>Re-rendering <code>useLazyQuery</code> with a different query document will now ensure the execution function uses the updated query document. Previously, only the query document rendered the first time would be used for the request.</li> </ul> </li> <li> <p><a href="https://github.com/apollographql/apollo-client/pull/10660">#10660</a> <a href="https://github.com/apollographql/apollo-client/commit/364bee98fe193a7915664c1a5b206fd52793f85a"><code>364bee98f</code></a> Thanks <a href="https://github.com/alessbell"><code>@​alessbell</code></a>! - Upgrades TypeScript to v5. This change is fully backward-compatible and transparent to users.</p> </li> <li> <p><a href="https://github.com/apollographql/apollo-client/pull/10597">#10597</a> <a href="https://github.com/apollographql/apollo-client/commit/8fb9d190dbf48147412517643e3e425a7d48c49c"><code>8fb9d190d</code></a> Thanks <a href="https://github.com/phryneas"><code>@​phryneas</code></a>! - Fix a bug where an incoming cache update could prevent future updates from the active link.</p> </li> <li> <p><a href="https://github.com/apollographql/apollo-client/pull/10629">#10629</a> <a href="https://github.com/apollographql/apollo-client/commit/02605bb3c9e148bf87a6e52b4a9ecc7d523ef9f6"><code>02605bb3c</code></a> Thanks <a href="https://github.com/phryneas"><code>@​phryneas</code></a>! - <code>useQuery</code>: delay unsubscribe to fix race conditions</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/apollographql/apollo-client/commit/894ae488dcb13b927c2a0a25cee527a230c61f14"><code>894ae48</code></a> Version Packages (<a href="https://github.com/apollographql/apollo-client/issues/10630">#10630</a>)</li> <li><a href="https://github.com/apollographql/apollo-client/commit/38508a251423057fd8a0df50230f50e0a5dde5fd"><code>38508a2</code></a> Unmounting a component before a query is resolved via <code>useLazyQuery</code> lets the...</li> <li><a href="https://github.com/apollographql/apollo-client/commit/4175af59419dbb698c32c074f44229f3a5b3b83d"><code>4175af5</code></a> chore: handle Event sent on WS error and add tests for error cases (<a href="https://github.com/apollographql/apollo-client/issues/10586">#10586</a>)</li> <li><a href="https://github.com/apollographql/apollo-client/commit/c4e2a1497393b8672a17f8c7aa2c0556971dcb04"><code>c4e2a14</code></a> docs(ApolloClient): added documentation for getObservableQueries method (<a href="https://github.com/apollographql/apollo-client/issues/10669">#10669</a>)</li> <li><a href="https://github.com/apollographql/apollo-client/commit/152baac343b8b68c7a2d4691d5dc60d9e43e62bb"><code>152baac</code></a> Fix error message generation (<a href="https://github.com/apollographql/apollo-client/issues/10411">#10411</a>)</li> <li><a href="https://github.com/apollographql/apollo-client/commit/0ca3c79989377fc7e3bee2f1095632cc453100a9"><code>0ca3c79</code></a> Update advanced-topics.mdx (<a href="https://github.com/apollographql/apollo-client/issues/10699">#10699</a>)</li> <li><a href="https://github.com/apollographql/apollo-client/commit/fc2b6f4425a1f7fc7dca4c74fdc7f619449c9057"><code>fc2b6f4</code></a> Improve flaky useQuery tests by not hard-coding request counts (<a href="https://github.com/apollographql/apollo-client/issues/10697">#10697</a>)</li> <li><a href="https://github.com/apollographql/apollo-client/commit/cdb98ae082ae4c7da6cd6a0fd5ad8457810fceda"><code>cdb98ae</code></a> feat: Multipart Subscriptions (<a href="https://github.com/apollographql/apollo-client/issues/10592">#10592</a>)</li> <li><a href="https://github.com/apollographql/apollo-client/commit/00b33bf80240cba4ee21cbb246294373694fc385"><code>00b33bf</code></a> Fix duplicate installation of <code>@wry/context</code> (<code>optimism</code> dependency) (<a href="https://github.com/apollographql/apollo-client/issues/10696">#10696</a>)</li> <li><a href="https://github.com/apollographql/apollo-client/commit/3e932389398624cbb74c2b453c6faa1423ebcf9d"><code>3e93238</code></a> Fixed Typo of library (<a href="https://github.com/apollographql/apollo-client/issues/10668">#10668</a>)</li> <li>Additional commits viewable in <a href="https://github.com/apollographql/apollo-client/compare/v3.7.10...v3.7.11">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>
argoyle (Migrated from gitlab.com) merged commit into master 2023-04-02 18:24:38 +00:00
Sign in to join this conversation.