Netflix / dgs-federation-example

Apache License 2.0
108 stars 43 forks source link

Bump @apollo/gateway from 2.0.4 to 2.3.3 in /apollo-gateway #286

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps @apollo/gateway from 2.0.4 to 2.3.3.

Release notes

Sourced from @​apollo/gateway's releases.

@​apollo/gateway@​2.3.3

Patch Changes

  • Update @​apollo/utils.logger typings dependency (#2269)

  • Exposes, for each subgraph request, the path in the overall gateway operation at which that subgraph request gets inserted. This path is now available as the pathInIncomingRequest field in the arguments of RemoteGraphQLDataSource.willSendRequest and RemoteGraphQLDataSource.didReceiveResponse. (#2384)

  • Previously the queryPlanStoreKey was a hash of the query concatenated with an unhashed operationName if it was present. This resulted in variable length cache keys that could become unnecessarily long, occupying additional space in the query plan cache. (#2310)

    This change incorporates the operationName into the hash itself (if operationName is present).

  • Update @​apollo/utils.createhash package, which drops support for node 12 (#2266)

  • Update @​apollo/utils.isnodelike package, which dropped support for node 12 (#2268)

  • Update @​apollo/utils.fetcher package, which drops support for node 12 (#2267)

  • Updated dependencies [71a07f30]:

    • @​apollo/composition@​2.3.3
    • @​apollo/query-planner@​2.3.3
    • @​apollo/federation-internals@​2.3.3

@​apollo/gateway@​2.3.2

Patch Changes

  • Move gateway post-processing errors from errors into extensions.valueCompletion of the response (#2380)

    [https://github-redirect.dependabot.com/apollographql/federation/pull/2335](PR #2335) introduced a breaking change that broke existing usages with respect to nullability and gateway error handling. In response to [https://github-redirect.dependabot.com/apollographql/federation/issues/2374](Issue #2374), we are reverting the breaking portion of this change by continuing to swallow post processing errors as the gateway did prior to v2.3.0. Instead, those errors will now be included on the extensions.valueCompletion object in the response object.

    Gateway v2.3.0 and v2.3.1 are both affected by this change in behavior.

  • Updated dependencies []:

    • @​apollo/composition@​2.3.2
    • @​apollo/federation-internals@​2.3.2
    • @​apollo/query-planner@​2.3.2

@​apollo/gateway@​2.3.1

Patch Changes

  • Capture non-ftv1 error information in metrics data. This (#2242) error information allows the inline trace plugin to correctly aggregate stats about errors (where no federated trace data is available) and stop reporting incomplete traces which are missing unavailable error information.

    This PR is a precursor to apollographql/apollo-server#7136

... (truncated)

Changelog

Sourced from @​apollo/gateway's changelog.

2.3.3

Patch Changes

  • Update @​apollo/utils.logger typings dependency (#2269)

  • Exposes, for each subgraph request, the path in the overall gateway operation at which that subgraph request gets inserted. This path is now available as the pathInIncomingRequest field in the arguments of RemoteGraphQLDataSource.willSendRequest and RemoteGraphQLDataSource.didReceiveResponse. (#2384)

  • Previously the queryPlanStoreKey was a hash of the query concatenated with an unhashed operationName if it was present. This resulted in variable length cache keys that could become unnecessarily long, occupying additional space in the query plan cache. (#2310)

    This change incorporates the operationName into the hash itself (if operationName is present).

  • Update @​apollo/utils.createhash package, which drops support for node 12 (#2266)

  • Update @​apollo/utils.isnodelike package, which dropped support for node 12 (#2268)

  • Update @​apollo/utils.fetcher package, which drops support for node 12 (#2267)

  • Updated dependencies [71a07f30]:

    • @​apollo/composition@​2.3.3
    • @​apollo/query-planner@​2.3.3
    • @​apollo/federation-internals@​2.3.3

2.3.2

Patch Changes

  • Move gateway post-processing errors from errors into extensions.valueCompletion of the response (#2380)

    [https://github-redirect.dependabot.com/apollographql/federation/pull/2335](PR #2335) introduced a breaking change that broke existing usages with respect to nullability and gateway error handling. In response to [https://github-redirect.dependabot.com/apollographql/federation/issues/2374](Issue #2374), we are reverting the breaking portion of this change by continuing to swallow post processing errors as the gateway did prior to v2.3.0. Instead, those errors will now be included on the extensions.valueCompletion object in the response object.

    Gateway v2.3.0 and v2.3.1 are both affected by this change in behavior.

  • Updated dependencies []:

    • @​apollo/composition@​2.3.2
    • @​apollo/federation-internals@​2.3.2
    • @​apollo/query-planner@​2.3.2

2.3.1

Patch Changes

  • Capture non-ftv1 error information in metrics data. This (#2242) error information allows the inline trace plugin to correctly aggregate stats about errors (where no federated trace data is available) and stop reporting incomplete traces which are missing unavailable error information.

... (truncated)

Commits
  • 8874706 Version Packages (#2393)
  • ccbf459 Make queryPlanStoreKey a hash of both the query and operationName (#2310)
  • 1a7f484 Expose the current request query path to the "willSendRequest" and "didReceiv...
  • cfe565b Add missing changelog for @apollo/gateway@2.2.3 (#2396)
  • c83b29f chore(deps): update dependency @​apollo/utils.createhash to v2 (main) (#2266)
  • fbf1f7c chore(deps): update dependency @​apollo/utils.fetcher to v2 (main) (#2267)
  • 51d55ab chore(deps): update dependency @​apollo/utils.isnodelike to v2 (main) (#2268)
  • 7c09338 chore(deps): update dependency @​apollo/utils.logger to v2 (main) (#2269)
  • 4f6d7bd Version Packages (#2383)
  • c6a8a0c Move gateway post-processing errors into extensions (#2380)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 year ago

Superseded by #288.