Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update apollo graphql packages #2924

Merged
merged 2 commits into from
Oct 31, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 30, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@apollo/client (source) ^3.11.4 -> ^3.11.8 age adoption passing confidence
@apollo/client (source) ^3.9.9 -> ^3.11.8 age adoption passing confidence
@apollo/server (source) ^4.10.2 -> ^4.11.2 age adoption passing confidence

Release Notes

apollographql/apollo-client (@​apollo/client)

v3.11.8

Compare Source

Patch Changes

v3.11.7

Compare Source

Patch Changes
  • #​12052 e471cef Thanks @​jerelmiller! - Fixes a regression from where passing an invalid identifier to from in useFragment would result in the warning TypeError: Cannot read properties of undefined (reading '__typename').

v3.11.6

Compare Source

Patch Changes

v3.11.5

Compare Source

Patch Changes
apollographql/apollo-server (@​apollo/server)

v4.11.2

Compare Source

(No change; there is a change to the @apollo/server-integration-testsuite used to test integrations, and the two packages always have matching versions.)

v4.11.1

Compare Source

Patch Changes
  • #​7952 bb81b2c Thanks @​glasser! - Upgrade dependencies so that automated scans don't detect a vulnerability.

    @apollo/server depends on express which depends on cookie. Versions of express older than v4.21.1 depend on a version of cookie vulnerable to CVE-2024-47764. Users of older express versions who call res.cookie() or res.clearCookie() may be vulnerable to this issue.

    However, Apollo Server does not call this function directly, and it does not expose any object to user code that allows TypeScript users to call this function without an unsafe cast.

    The only way that this direct dependency can cause a vulnerability for users of Apollo Server is if you call startStandaloneServer with a context function that calls Express-specific methods such as res.cookie() or res.clearCookies() on the response object, which is a violation of the TypeScript types provided by startStandaloneServer (which only promise that the response object is a core Node.js http.ServerResponse rather than the Express-specific subclass). So this vulnerability can only affect Apollo Server users who use unsafe JavaScript or unsafe as typecasts in TypeScript.

    However, this upgrade will at least prevent vulnerability scanners from alerting you to this dependency, and we encourage all Express users to upgrade their project's own express dependency to v4.21.1 or newer.

v4.11.0

Compare Source

Minor Changes
  • #​7916 4686454 Thanks @​andrewmcgivery! - Add hideSchemaDetailsFromClientErrors option to ApolloServer to allow hiding 'did you mean' suggestions from validation errors.

    Even with introspection disabled, it is possible to "fuzzy test" a graph manually or with automated tools to try to determine the shape of your schema. This is accomplished by taking advantage of the default behavior where a misspelt field in an operation
    will be met with a validation error that includes a helpful "did you mean" as part of the error text.

    For example, with this option set to true, an error would read Cannot query field "help" on type "Query". whereas with this option set to false it would read Cannot query field "help" on type "Query". Did you mean "hello"?.

    We recommend enabling this option in production to avoid leaking information about your schema to malicious actors.

    To enable, set this option to true in your ApolloServer options:

    const server = new ApolloServer({
      typeDefs,
      resolvers,
      hideSchemaDetailsFromClientErrors: true,
    });

v4.10.5

Compare Source

Patch Changes

v4.10.4

Compare Source

Patch Changes
  • #​7871 18a3827 Thanks @​tninesling! - Subscription heartbeats are initialized prior to awaiting subscribe(). This allows long-running setup to happen in the returned Promise without the subscription being terminated prior to resolution.

v4.10.3

Compare Source

Patch Changes
  • #​7866 5f335a5 Thanks @​tninesling! - Catch errors thrown by subscription generators, and gracefully clean up the subscription instead of crashing.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency label Aug 30, 2024
@github-actions github-actions bot added the type: tests Testing related label Aug 30, 2024
Copy link

netlify bot commented Aug 30, 2024

Deploy Preview for brilliant-pasca-3e80ec canceled.

Name Link
🔨 Latest commit 34fc0b1
🔍 Latest deploy log https://app.netlify.com/sites/brilliant-pasca-3e80ec/deploys/6723aea22590f7000845257c

@renovate renovate bot force-pushed the renovate-apollo-graphql-packages branch from 392b5f4 to a8daf49 Compare September 3, 2024 18:18
@renovate renovate bot changed the title chore(deps): update dependency @apollo/client to ^3.11.5 chore(deps): update dependency @apollo/client to ^3.11.6 Sep 3, 2024
@renovate renovate bot force-pushed the renovate-apollo-graphql-packages branch from a8daf49 to fec6bc3 Compare September 4, 2024 19:17
@renovate renovate bot changed the title chore(deps): update dependency @apollo/client to ^3.11.6 chore(deps): update dependency @apollo/client to ^3.11.7 Sep 4, 2024
@renovate renovate bot force-pushed the renovate-apollo-graphql-packages branch from fec6bc3 to fdc2132 Compare September 5, 2024 11:10
@renovate renovate bot changed the title chore(deps): update dependency @apollo/client to ^3.11.7 chore(deps): update dependency @apollo/client to ^3.11.8 Sep 5, 2024
mkurapov
mkurapov previously approved these changes Sep 18, 2024
@renovate renovate bot force-pushed the renovate-apollo-graphql-packages branch from fdc2132 to eeff3a8 Compare September 24, 2024 17:14
@renovate renovate bot changed the title chore(deps): update dependency @apollo/client to ^3.11.8 chore(deps): update apollo graphql packages Oct 31, 2024
@renovate renovate bot force-pushed the renovate-apollo-graphql-packages branch from eeff3a8 to 98fa91a Compare October 31, 2024 15:56
@github-actions github-actions bot added pkg: backend Changes in the backend package. pkg: frontend Changes in the frontend package. pkg: auth Changes in the GNAP auth package. pkg: mock-ase pkg: mock-account-service-lib labels Oct 31, 2024
@renovate renovate bot force-pushed the renovate-apollo-graphql-packages branch 2 times, most recently from a26dce7 to 4f27fe0 Compare October 31, 2024 16:10
@renovate renovate bot force-pushed the renovate-apollo-graphql-packages branch from 4f27fe0 to 9ed0253 Compare October 31, 2024 16:17
@github-actions github-actions bot added the type: source Changes business logic label Oct 31, 2024
@mkurapov mkurapov merged commit a84ad3d into main Oct 31, 2024
30 of 42 checks passed
@mkurapov mkurapov deleted the renovate-apollo-graphql-packages branch October 31, 2024 18:15
Copy link
Contributor Author

renovate bot commented Oct 31, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency pkg: auth Changes in the GNAP auth package. pkg: backend Changes in the backend package. pkg: frontend Changes in the frontend package. pkg: mock-account-service-lib pkg: mock-ase type: source Changes business logic type: tests Testing related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants