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

fix(deps): update dependency @apollo/server to v4.11.0 #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 30, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@apollo/server (source) 4.9.0 -> 4.11.0 age adoption passing confidence

Release Notes

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

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.

v4.10.2

Compare Source

Patch Changes
  • #​7849 c7e514c Thanks @​TylerBloom! - In the subscription callback server plugin, terminating a subscription now immediately closes the internal async generator. This avoids that generator existing after termination and until the next message is received.

v4.10.1

Compare Source

Patch Changes
  • #​7843 72f568e Thanks @​bscherlein! - Improves timing of the willResolveField end hook on fields which return Promises resolving to Arrays. This makes the use of the setCacheHint method more reliable.

v4.10.0

Compare Source

Minor Changes
  • #​7786 869ec98 Thanks @​ganemone! - Restore missing v1 skipValidation option as dangerouslyDisableValidation. Note that enabling this option exposes your server to potential security and unexpected runtime issues. Apollo will not support issues that arise as a result of using this option.

  • #​7803 e9a0d6e Thanks @​favna! - allow stringifyResult to return a Promise<string>

    Users who implemented the stringifyResult hook can now expect error responses to be formatted with the hook as well. Please take care when updating to this version to ensure this is the desired behavior, or implement the desired behavior accordingly in your stringifyResult hook. This was considered a non-breaking change as we consider that it was an oversight in the original PR that introduced stringifyResult hook.

Patch Changes

v4.9.5

Compare Source

Patch Changes

v4.9.4

Compare Source

Patch Changes
  • #​7747 ddce036e1 Thanks @​trevor-scheer! - The minimum version of graphql officially supported by Apollo Server 4 as a peer dependency, v16.6.0, contains a serious bug that can crash your Node server. This bug is fixed in the immediate next version, [email protected], and we strongly encourage you to upgrade your installation of graphql to at least v16.7.0 to avoid this bug. (For backwards compatibility reasons, we cannot change Apollo Server 4's minimum peer dependency, but will change it when we release Apollo Server 5.)

    Apollo Server 4 contained a particular line of code that makes triggering this crashing bug much more likely. This line was already removed in Apollo Server v3.8.2 (see #​6398) but the fix was accidentally not included in Apollo Server 4. We are now including this change in Apollo Server 4, which will reduce the likelihood of hitting this crashing bug for users of graphql v16.6.0. That said, taking this @apollo/server upgrade does not prevent this bug from being triggered in other ways, and the real fix to this crashing bug is to upgrade graphql.

v4.9.3

Compare Source

Patch Changes
  • a1c725eaf Thanks @​trevor-scheer! - Ensure API keys are valid header values on startup

    Apollo Server previously performed no sanitization or validation of API keys on startup. In the case that an API key was provided which contained characters that are invalid as header values, Apollo Server could inadvertently log the API key in cleartext.

    This only affected users who:

    • Provide an API key with characters that are invalid as header values
    • Use either schema or usage reporting
    • Use the default fetcher provided by Apollo Server or configure their own node-fetch fetcher

    Apollo Server now trims whitespace from API keys and validates that they are valid header values. If an invalid API key is provided, Apollo Server will throw an error on startup.

    For more details, see the security advisory:
    GHSA-j5g3-5c8r-7qfx

v4.9.2

Compare Source

Patch Changes
  • #​7699 62e7d940d Thanks @​trevor-scheer! - Fix error path attachment for list items

    Previously, when errors occurred while resolving a list item, the trace builder would fail to place the error at the correct path and just default to the root node with a warning message:

    Could not find node with path x.y.1, defaulting to put errors on root node.

    This change places these errors at their correct paths and removes the log.

v4.9.1

Compare Source

Patch Changes

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 is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • 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 force-pushed the renovate/apollo-graphql-packages branch from 50bc32c to 0e616bc Compare July 30, 2023 15:17
@codacy-production
Copy link

codacy-production bot commented Jul 30, 2023

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for 152748b1 (target: 80.00%)
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (152748b) Report Missing Report Missing Report Missing
Head commit (e383d71) 289 270 93.43%

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#23) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

Footnotes

  1. Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.

@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch 7 times, most recently from fe31388 to 16c545e Compare July 30, 2023 18:23
@renovate renovate bot changed the title fix(deps): update dependency @apollo/server to v4.9.0 fix(deps): update dependency @apollo/server to v4.9.0 - autoclosed Jul 30, 2023
@renovate renovate bot closed this Jul 30, 2023
@renovate renovate bot deleted the renovate/apollo-graphql-packages branch July 30, 2023 18:32
@renovate renovate bot changed the title fix(deps): update dependency @apollo/server to v4.9.0 - autoclosed fix(deps): update dependency @apollo/server to v4.9.0 Aug 4, 2023
@renovate renovate bot reopened this Aug 4, 2023
@renovate renovate bot restored the renovate/apollo-graphql-packages branch August 4, 2023 22:48
@renovate renovate bot changed the title fix(deps): update dependency @apollo/server to v4.9.0 fix(deps): update dependency @apollo/server to v4.9.1 Aug 4, 2023
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch 2 times, most recently from 71fd2cc to c1656c0 Compare August 9, 2023 14:47
@renovate renovate bot changed the title fix(deps): update dependency @apollo/server to v4.9.1 fix(deps): update dependency @apollo/server to v4.9.2 Aug 24, 2023
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from c1656c0 to 7c761f5 Compare August 24, 2023 21:54
@renovate renovate bot changed the title fix(deps): update dependency @apollo/server to v4.9.2 fix(deps): update dependency @apollo/server to v4.9.3 Aug 30, 2023
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 7c761f5 to 1502756 Compare August 30, 2023 22:59
@renovate renovate bot changed the title fix(deps): update dependency @apollo/server to v4.9.3 fix(deps): update dependency @apollo/server to v4.9.4 Oct 4, 2023
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 1502756 to e84ee05 Compare October 4, 2023 21:02
@renovate renovate bot changed the title fix(deps): update dependency @apollo/server to v4.9.4 fix(deps): update dependency @apollo/server to v4.9.5 Oct 26, 2023
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from e84ee05 to 4fd01bf Compare October 26, 2023 22:20
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 4fd01bf to 08b45eb Compare January 2, 2024 22:31
@renovate renovate bot changed the title fix(deps): update dependency @apollo/server to v4.9.5 fix(deps): update dependency @apollo/server to v4.10.0 Jan 2, 2024
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 08b45eb to 065e675 Compare March 5, 2024 22:53
@renovate renovate bot changed the title fix(deps): update dependency @apollo/server to v4.10.0 fix(deps): update dependency @apollo/server to v4.10.1 Mar 5, 2024
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 065e675 to 4c85fa7 Compare March 22, 2024 21:05
@renovate renovate bot changed the title fix(deps): update dependency @apollo/server to v4.10.1 fix(deps): update dependency @apollo/server to v4.10.2 Mar 22, 2024
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 4c85fa7 to 4b9a032 Compare April 15, 2024 23:36
@renovate renovate bot changed the title fix(deps): update dependency @apollo/server to v4.10.2 fix(deps): update dependency @apollo/server to v4.10.3 Apr 15, 2024
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 4b9a032 to cdae93c Compare April 18, 2024 19:58
@renovate renovate bot changed the title fix(deps): update dependency @apollo/server to v4.10.3 fix(deps): update dependency @apollo/server to v4.10.4 Apr 18, 2024
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from cdae93c to 8b0a77e Compare June 4, 2024 10:15
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 8b0a77e to 1d7f8af Compare July 22, 2024 22:13
@renovate renovate bot changed the title fix(deps): update dependency @apollo/server to v4.10.4 fix(deps): update dependency @apollo/server to v4.10.5 Jul 22, 2024
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 1d7f8af to e383d71 Compare August 8, 2024 17:43
@renovate renovate bot changed the title fix(deps): update dependency @apollo/server to v4.10.5 fix(deps): update dependency @apollo/server to v4.11.0 Aug 8, 2024
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.

0 participants