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 all apollo server non-major dependencies #101

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 26, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@apollo/server (source) 4.8.1 -> 4.10.4 age adoption passing confidence
@types/node (source) 18.17.0 -> 18.19.41 age adoption passing confidence
apollo-server (source) 3.12.0 -> 3.13.0 age adoption passing confidence
apollo-server (source) 2.26.1 -> 2.26.2 age adoption passing confidence
graphql 16.7.1 -> 16.9.0 age adoption passing confidence
graphql 15.8.0 -> 15.9.0 age adoption passing confidence

Release Notes

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

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, graphql@16.7.0, 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

v4.9.0

Compare Source

Minor Changes
  • #​7617 4ff81ca50 Thanks @​trevor-scheer! - Introduce new ApolloServerPluginSubscriptionCallback plugin. This plugin implements the subscription callback protocol which is used by Apollo Router. This feature implements subscriptions over HTTP via a callback URL which Apollo Router registers with Apollo Server. This feature is currently in preview and is subject to change.

    You can enable callback subscriptions like so:

    import { ApolloServerPluginSubscriptionCallback } from '@&#8203;apollo/server/plugin/subscriptionCallback';
    import { ApolloServer } from '@&#8203;apollo/server';
    
    const server = new ApolloServer({
      // ...
      plugins: [ApolloServerPluginSubscriptionCallback()],
    });

    Note that there is currently no tracing or metrics mechanism in place for callback subscriptions. Additionally, this plugin "intercepts" callback subscription requests and bypasses some of Apollo Server's internals. The result of this is that certain plugin hooks (notably executionDidStart and willResolveField) will not be called when handling callback subscription requests or when sending subscription events.

    For more information on the subscription callback protocol, visit the docs:
    https://www.apollographql.com/docs/router/executing-operations/subscription-callback-protocol/

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

v3.13.0

Compare Source

v3.12.1

Compare Source

graphql/graphql-js (graphql)

v16.9.0

Compare Source

v16.9.0 (2024-06-21)

New Feature 🚀
  • #​4119 backport[v16]: Introduce "recommended" validation rules (@​benjie)
  • #​4122 backport[v16]: Enable passing values configuration to GraphQLEnumType as a thunk (@​benjie)
  • #​4124 backport[v16]: Implement OneOf Input Objects via @oneOf directive (@​benjie)
Committers: 1

v16.8.2

Compare Source

v16.8.2 (2024-06-12)

Bug Fix 🐞* #​4022 fix: remove globalThis check and align with what bundlers can accept (@​JoviDeCroock)
Internal 🏠* #​4104 Fix publish scripts (@​benjie)
Committers: 2

v16.8.1

Compare Source

v16.8.1 (2023-09-19)
Bug Fix 🐞
Committers: 1

v16.8.0

Compare Source

v16.8.0 (2023-08-14)

New Feature 🚀
Committers: 1

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 changed the title chore(deps): update dependency @types/node to v18.17.1 fix(deps): update all apollo server non-major dependencies Jul 27, 2023
@renovate renovate bot force-pushed the renovate/upper-case-directive-all-apollo-server-minor-patch branch 4 times, most recently from e86e645 to 685d13c Compare August 8, 2023 20:40
@renovate renovate bot force-pushed the renovate/upper-case-directive-all-apollo-server-minor-patch branch 2 times, most recently from 2c379e3 to 8ef8f60 Compare August 18, 2023 20:45
@renovate renovate bot force-pushed the renovate/upper-case-directive-all-apollo-server-minor-patch branch 5 times, most recently from 6318d6c to e3511f1 Compare August 28, 2023 01:07
@renovate renovate bot changed the title fix(deps): update all apollo server non-major dependencies chore(deps): update all apollo server non-major dependencies Aug 30, 2023
@renovate renovate bot force-pushed the renovate/upper-case-directive-all-apollo-server-minor-patch branch 2 times, most recently from 3fc273d to 789e336 Compare September 2, 2023 23:07
@renovate renovate bot force-pushed the renovate/upper-case-directive-all-apollo-server-minor-patch branch 2 times, most recently from d697a8f to e8681c2 Compare September 15, 2023 08:31
@renovate renovate bot force-pushed the renovate/upper-case-directive-all-apollo-server-minor-patch branch 2 times, most recently from 3d5a12d to e410c8e Compare September 19, 2023 10:12
@renovate renovate bot force-pushed the renovate/upper-case-directive-all-apollo-server-minor-patch branch 3 times, most recently from 9749e98 to 63efad4 Compare October 7, 2023 02:03
@renovate renovate bot force-pushed the renovate/upper-case-directive-all-apollo-server-minor-patch branch 2 times, most recently from c58f04d to 9f43f7f Compare October 18, 2023 10:11
@renovate renovate bot force-pushed the renovate/upper-case-directive-all-apollo-server-minor-patch branch 2 times, most recently from 1b61a02 to 8352b18 Compare October 31, 2023 11:11
@renovate renovate bot force-pushed the renovate/upper-case-directive-all-apollo-server-minor-patch branch 2 times, most recently from 9bb192d to fda1f5a Compare November 14, 2023 02:09
@renovate renovate bot force-pushed the renovate/upper-case-directive-all-apollo-server-minor-patch branch 2 times, most recently from e941f6e to 1382c5b Compare February 15, 2024 16:43
@renovate renovate bot force-pushed the renovate/upper-case-directive-all-apollo-server-minor-patch branch 4 times, most recently from 77fd042 to 6c16eab Compare February 29, 2024 14:22
@renovate renovate bot force-pushed the renovate/upper-case-directive-all-apollo-server-minor-patch branch 3 times, most recently from 943a4cd to 7647796 Compare March 13, 2024 14:04
@renovate renovate bot force-pushed the renovate/upper-case-directive-all-apollo-server-minor-patch branch 2 times, most recently from 3d648f2 to 472062a Compare March 19, 2024 16:12
@renovate renovate bot force-pushed the renovate/upper-case-directive-all-apollo-server-minor-patch branch 3 times, most recently from a81d9cc to caafb8b Compare April 2, 2024 23:18
@renovate renovate bot changed the title chore(deps): update all apollo server non-major dependencies fix(deps): update all apollo server non-major dependencies Apr 3, 2024
@renovate renovate bot changed the title fix(deps): update all apollo server non-major dependencies chore(deps): update all apollo server non-major dependencies Apr 3, 2024
@renovate renovate bot force-pushed the renovate/upper-case-directive-all-apollo-server-minor-patch branch 2 times, most recently from a22f13b to 42cc07e Compare April 9, 2024 04:36
@renovate renovate bot force-pushed the renovate/upper-case-directive-all-apollo-server-minor-patch branch 2 times, most recently from cc6e783 to f8d635e Compare May 8, 2024 14:14
@renovate renovate bot force-pushed the renovate/upper-case-directive-all-apollo-server-minor-patch branch from f8d635e to 3a15800 Compare June 4, 2024 02:19
@renovate renovate bot force-pushed the renovate/upper-case-directive-all-apollo-server-minor-patch branch 3 times, most recently from e1ffd13 to 845b81e Compare June 19, 2024 19:25
@renovate renovate bot changed the title chore(deps): update all apollo server non-major dependencies fix(deps): update all apollo server non-major dependencies Jun 19, 2024
@renovate renovate bot force-pushed the renovate/upper-case-directive-all-apollo-server-minor-patch branch 2 times, most recently from e4fa8ef to be92c51 Compare June 22, 2024 11:09
@renovate renovate bot force-pushed the renovate/upper-case-directive-all-apollo-server-minor-patch branch from be92c51 to 4731b88 Compare July 16, 2024 20:44
@renovate renovate bot force-pushed the renovate/upper-case-directive-all-apollo-server-minor-patch branch from 4731b88 to 549a5f8 Compare July 18, 2024 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant