Skip to content

[Snyk-dev] Upgrade @apollo/client from 3.7.0 to 3.7.17 - #4

Open
vasser wants to merge 1 commit into
masterfrom
snyk-upgrade-e187b5ef810c7a0598fed7edef29d28a
Open

vasser wants to merge 1 commit into
masterfrom
snyk-upgrade-e187b5ef810c7a0598fed7edef29d28a

Conversation

@vasser

@vasser vasser commented Aug 20, 2023

Copy link
Copy Markdown
Owner

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade @apollo/client from 3.7.0 to 3.7.17.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 17 versions ahead of your current version.
  • The recommended version was released a month ago, on 2023-07-05.
Release notes
Package name: @apollo/client
  • 3.7.17 - 2023-07-05

    Patch Changes

    • #10631 b93388d75 Thanks @ phryneas! - ObservableQuery.getCurrentResult: skip the cache if the running query should not access the cache
  • 3.7.16 - 2023-06-20

    Patch Changes

    • #10806 cb1540504 Thanks @ phryneas! - Fix a bug in PersistedQueryLink that would cause it to permanently skip persisted queries after a 400 or 500 status code.

    • #10807 b32369592 Thanks @ phryneas! - PersistedQueryLink will now also check for error codes in extensions.

    • #10982 b9be7a814 Thanks @ sdeleur-sc! - Update relayStylePagination to avoid populating startCursor when only a single cursor is present under the edges field. Use that cursor only as the endCursor.

    • #10962 772cfa3cb Thanks @ jerelmiller! - Remove useGETForQueries option in BatchHttpLink.Options type since it is not supported.

    Potentially breaking change in PersistedQueryLink

    Previously, if the PersistedQueryLink encountered a single 400 or 500 error, it would stop sending any persisted queries in the future. This allowed you to use the link even if a server had no support for persisted queries.

    We have decided to change this behavior, so now the PersistedQueryLink will only stop trying to send query hashes if the server responds with a PERSISTED_QUERY_NOT_SUPPORTED error code as it was unclear whether a 400 or 500 status code was in fact because the server did not support persisted queries.

    If you relied on the previous behaviour, maybe because you were communicating with a server that might or might not support persisted queries, but would return with a different kind of error, you can use the disable option callback to override this behavior like this:

    createPersistedQueryLink({
      // ... other options ...
      disable({ operation }){
        const { response } = operation.getContext();
        return (
          response &&
          response.status &&
          (response.status === 400 || response.status === 500)
        );
      }
    })

    Alternatively, consider removing the link entirely when your server does not support persisted queries.

    New Contributors

  • 3.7.15 - 2023-05-26

    Patch Changes

    • #10891 ab42a5c08 Thanks @ laverdet! - Fixes a bug in how multipart responses are read when using @ defer. When reading a multipart body, HttpLink no longer attempts to parse the boundary (e.g. "---" or other boundary string) within the response data itself, only when reading the beginning of each mulitpart chunked message.

    • #10789 23a4e1578 Thanks @ phryneas! - Fix a bug where other fields could be aliased to __typename or id, in which case an incoming result would be merged into the wrong cache entry.

    New Contributors

  • 3.7.14 - 2023-05-03
  • 3.7.13 - 2023-04-27
  • 3.7.12 - 2023-04-12
  • 3.7.11 - 2023-03-31
  • 3.7.10 - 2023-03-02
  • 3.7.9 - 2023-02-17
  • 3.7.8 - 2023-02-15
  • 3.7.7 - 2023-02-03
  • 3.7.6 - 2023-01-31
  • 3.7.5 - 2023-01-24
  • 3.7.4 - 2023-01-13
  • 3.7.3 - 2022-12-15
  • 3.7.2 - 2022-12-06
  • 3.7.1 - 2022-10-20
  • 3.7.0 - 2022-09-30
from @apollo/client GitHub release notes
Commit messages
Package name: @apollo/client
  • 69563f1 Version Packages (#11006)
  • 5a6a3c1 Update warning message when discarding unmergeable cache (#10998)
  • fea2bab Wrap bug template description in double quotes
  • 3bf6c9b Add Replay instructions to bug template (#10955)
  • 89140e8 chore(deps): update all devdependencies (#10987)
  • fc79f7f Update cache-configuration.mdx (#10858)
  • c8168f7 chore: update experimental hooks docs for useBackgroundQuery (#11021)
  • 8c0e20c chore: ignore rollup deps for now in renovate config (#11017)
  • 72c625d chore(deps): update all dependencies - patch updates (#11011)
  • debcd8c Update queries.mdx (#11007)
  • b93388d ObservableQuery.getCurrentResult: skip the cache (#10631)
  • 6875b62 chore(deps): update all dependencies - patch updates (#10986)
  • 5cfb33f Bump ROADMAP.md timestamp
  • 5b65690 chore: update subscriptions docs to include multipart over HTTP (#10663)
  • 2e59045 Version Packages (#10965)
  • e9daa02 Add 3.9 to roadmap (#10996)
  • cb15405 `PersistedQueryLink`: do not permanently skip persisted queries after a 400 or 500 status code (#10806)
  • f26ff2e renovate: add package groups (#10803)
  • b9be7a8 Don't set startCursor in relayStylePagination when only one cursor is present (#10982)
  • 05f4d6d chore: make tag name dynamic in postpublish message for prereleases (#10981)
  • b323695 PersistedQueryLink: also check for extension error codes (#10807)
  • 772cfa3 Remove `useGETForQueries` option in `BatchHttpLink.Options` (#10962)
  • a1dac63 chore(deps): update dependency @ typescript-eslint/parser to v5.59.9 (#10946)
  • 582d063 chore(deps): update dependency eslint to v8.42.0 (#10948)

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants