Update Apollo GraphQL packages - autoclosed #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.0.0-alpha.4
->2.4.0
2.0.0-alpha.4
->2.4.0
2.0.0-alpha.4
->2.4.0
2.0.0-alpha.4
->2.4.0
2.0.0-alpha.4
->2.4.0
2.0.0-alpha.3
->2.4.0
3.6.2
->3.12.0
Release Notes
apollographql/federation (@apollo/composition)
v2.4.0
Compare Source
Minor Changes
Patch Changes
Refactor the internal implementation of selection sets used by the query planner to decrease the code complexity and (#2387)
improve query plan generation performance in many cases.
Optimises query plan generation for parts of queries that can statically be known to not cross across subgraphs (#2449)
Updated dependencies [
260c357c
,7bc0f8e8
,1a555d98
,cab383b2
]:v2.3.5
Compare Source
Patch Changes
v2.3.4
Compare Source
Patch Changes
6e2d24b5
]:v2.3.3
Compare Source
Patch Changes
Stop generating misleading "hint" regarding value type fields for interface types that are entity interfaces (they have a
@key
defined). (#2412)Updated dependencies [
de89e504
]:v2.3.2
Compare Source
Patch Changes
v2.3.1
Compare Source
Patch Changes
7e2ca46f
]:This CHANGELOG pertains only to Apollo Federation packages in the 2.x range. The Federation v0.x equivalent for this package can be found here on the
version-0.x
branch of this repo.v2.3.0
Compare Source
@shareable
field runtime types don't intersect between subgraphs: a@shareable
fieldmust resolve the same way in all the subgraphs, but this is impossible if the concrete runtime types have no
intersection at all PR #1556.
@tag
directive support for theSCHEMA
location PR #2314.@interfaceObject
PR #2318.v2.2.3
Compare Source
v2.2.2
Compare Source
v2.2.1
Compare Source
v2.2.0
Compare Source
@shareable
on interface fields. The@shareable
directive is aboutcontrolling if multiple subgraphs can resolve a particular field, and as interface field are never directly resolved
(it's their implementation that are), having
@shareable
on interface fields is not completely meaningful andwas never meant to be supported. If an existing subgraph does have a
@shareable
on an interface field, thiswill now be rejected, but the
@shareable
can simply and safely be removed since it previously was ignored.v2.1.4
Compare Source
@override
PR #2181.v2.1.3
Compare Source
v2.1.2
Compare Source
@requires
PR #2120.v2.1.1
Compare Source
v2.1.0
Compare Source
graphql
to^16.5.0
to useGraphQLErrorOptions
PR #2060@link
when using@composeDirective
PR #2046@composeDirective
directive to specify directives that should be merged to the supergraph during composition PR #1996.v2.0.5
Compare Source
v2.0.4
Compare Source
v2.0.3
Compare Source
v2.0.2
Compare Source
v2.0.1
Compare Source
for: SECURITY
in the core/link directive application in the supergraph for@inaccessible
PR #1715v2.0.0
Compare Source
v2.0.0-preview.14
Compare Source
v2.0.0-preview.13
Compare Source
v2.0.0-preview.12
Compare Source
v2.0.0-preview.11
Compare Source
@inaccessible
v0.2 PR #1678v2.0.0-preview.10
Compare Source
@override
PR #1684v2.0.0-preview.9
Compare Source
@tag/v0.2
, which allows the@tag
directive to be additionally placed on arguments, scalars, enums, enum values, input objects, and input object fields. PR #1652.@override
directive on fields to indicate that a field should be moved from one subgraph to another. PR #1484v2.0.0-preview.8
Compare Source
NOTE: Be sure to upgrade the gateway before re-composing/deploying with this version. See below and the changelog for
@apollo/gateway
.@inaccessible
in subgraphs PR #1638.@tag
directive when it is renamed in subgraphs PR #1637.@link
instead of@core
. As a result, prior federation 2 pre-release gateway will not read supergraphs generated by this version correctly, so you should upgrade the gateway to this version before re-composing/deploying with this version. PR #1628.v2.0.0-preview.7
Compare Source
v2.0.0-preview.5
Compare Source
@tag
to the supergraph and allows @tag to be repeated. Additionally, merged directives (only@tag
and@deprecated
currently) are not allowed on external fields anymore PR #1592.v2.0.0-preview.4
Compare Source
v2.0.0-preview.3
Compare Source
v2.0.0-preview.2
Compare Source
version-0.x
release.v2.0.0-preview.1
Compare Source
@inaccessible
v0.2 PR #1678v2.0.0-preview.0
Compare Source
v2.0.0-alpha.6
Compare Source
@apollo/query-graphs
and@apollo/federation-internals
.v2.0.0-alpha.5
Compare Source
graphql@15
from peer dependencies PR #1472.apollographql/federation (@apollo/federation-internals)
v2.4.0
Compare Source
Patch Changes
Refactor the internal implementation of selection sets used by the query planner to decrease the code complexity and (#2387)
improve query plan generation performance in many cases.
Revert #2293. Removing URL import causes a problem when running under deno. (#2451)
Use globally available URL object instead of node builtin "url" module (#2293)
Optimises query plan generation for parts of queries that can statically be known to not cross across subgraphs (#2449)
v2.3.5
Compare Source
v2.3.4
Compare Source
Patch Changes
v2.3.3
Compare Source
v2.3.2
Compare Source
v2.3.1
Compare Source
v2.3.0
Compare Source
@external
on a type when dealing when adding@shareable
during fed1 schema upgrades PR #2343.v2.2.3
Compare Source
v2.2.2
Compare Source
v2.2.1
Compare Source
v2.2.0
Compare Source
__
PR #2237.v2.1.4
Compare Source
@defer
/@stream
definitions of supergraph are not included in the API schema PR #2212.v2.1.3
Compare Source
v2.1.2
Compare Source
v2.1.1
Compare Source
v2.1.0
Compare Source
graphql
to^16.5.0
to useGraphQLErrorOptions
PR #2060@link
when using@composeDirective
PR #2046@defer
support PR #1958@composeDirective
directive to specify directives that should be merged to the supergraph during composition PR #1996.v2.0.5
Compare Source
v2.0.4
Compare Source
extend schema
PR #1875.v2.0.3
Compare Source
v2.0.2
Compare Source
Schema.clone
when directive application happens before definition PR #1785v2.0.1
Compare Source
for: SECURITY
in the core/link directive application in the supergraph for@inaccessible
PR #1715v2.0.0
Compare Source
v2.0.0-preview.14
Compare Source
buildSubgraphSchema
using federation internals PR #1697v2.0.0-preview.13
Compare Source
v2.0.0-preview.12
Compare Source
v2.0.0-preview.11
Compare Source
@inaccessible
v0.2 PR #1678v2.0.0-preview.10
Compare Source
v2.0.0-preview.9
Compare Source
@tag/v0.2
, which allows the@tag
directive to be additionally placed on arguments, scalars, enums, enum values, input objects, and input object fields. PR #1652.includeDeprecated
argument forargs
andinputFields
when defining introspection fields PR #1584@override
directive on fields to indicate that a field should be moved from one subgraph to another. PR #1484v2.0.0-preview.8
Compare Source
v2.0.0-preview.7
Compare Source
v2.0.0-preview.5
Compare Source
@tag
to the supergraph and allows @tag to be repeated. Additionally, merged directives (only@tag
and@deprecated
currently) are not allowed on external fields anymore PR #1592.v2.0.0-preview.4
Compare Source
v2.0.0-preview.3
Compare Source
v2.0.0-preview.2
Compare Source
version-0.x
release.v2.0.0-preview.1
Compare Source
buildSubgraphSchema
using federation internals PR #1697v2.0.0-preview.0
Compare Source
v2.0.0-alpha.6
Compare Source
v2.0.0-alpha.5
Compare Source
graphql@15
from peer dependencies PR #1472.apollographql/federation (@apollo/gateway)
v2.4.0
Compare Source
Minor Changes
This change introduces a configurable query plan cache. This option allows (#2385)
developers to provide their own query plan cache like so:
The current default implementation is effectively as follows:
TypeScript users should implement the
QueryPlanCache
type which is nowexported by
@apollo/query-planner
:Adds debug/testing query planner options (
debug.bypassPlannerForSingleSubgraph
) to bypass the query planning (#2441)process for federated supergraph having only a single subgraph. The option is disabled by default, is not recommended
for production, and is not supported (it may be removed later). It is meant for debugging/testing purposes.
Patch Changes
Refactor the internal implementation of selection sets used by the query planner to decrease the code complexity and (#2387)
improve query plan generation performance in many cases.
Optimises query plan generation for parts of queries that can statically be known to not cross across subgraphs (#2449)
Updated dependencies [
260c357c
,7bc0f8e8
,d4426ff9
,a9385bdb
,1a555d98
,ade7ceb8
,09382e74
,cab383b2
]:v2.3.5
Compare Source
Patch Changes
09382e74
]:v2.3.4
Compare Source
Patch Changes
Handle defaulted variables correctly during post-processing. (#2443)
Users who tried to use built-in conditional directives (skip/include) with defaulted variables and no variable provided would encounter an error thrown by operation post-processing saying that the variables weren't provided. The defaulted values went unaccounted for, so the operation would validate but then fail an assertion while resolving the conditional.
With this change, defaulted variable values are now collected and provided to post-processing (with defaults being overwritten by variables that are actually provided).
Updated dependencies [
6e2d24b5
]:v2.3.3
Compare Source
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 unhashedoperationName
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 (ifoperationName
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
]:v2.3.2
Compare Source
Patch Changes
Move gateway post-processing errors from
errors
intoextensions.valueCompletion
of the response (#2380)[https://github.com/apollographql/federation/pull/2335](https://togithub.com/apollographql/federation/pull/2335)5]\(PR #2335) introduced a breaking change that broke existing usages with respect to nullability and gateway error handling. In response to [https://github.com/apollographql/federation/issues/2374](https://togithub.com/apollographql/federation/issues/2374)4]\(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 []:
v2.3.1
Compare Source
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
Fix issue where the query planner was incorrectly not querying
__typename
in a subgraph fetch when@interfaceObject
is involved (#2366)Updated dependencies [
7e2ca46f
,eb5a8bc0
]:This CHANGELOG pertains only to Apollo Federation packages in the 2.x range. The Federation v0.x equivalent for this package can be found here on the
version-0.x
branch of this repo.v2.3.0
Compare Source
@shareable
field when@external
is on a type in a fed1 schema (one without@link
) PR #2343.@interfaceObject
queries due to missing "input rewrites" PR #2346.v2.2.3
Compare Source
v2.2.2
Compare Source
v2.2.1
Compare Source
v2.2.0
Compare Source
default), but users that have custom code making use of
GraphQLDataSourceProcessOptions.document
will now need to explicitly set
GatewayConfig.queryPlannerConfig.exposeDocumentNodeInFetchNode
.@shareable
on interface fields. The@shareable
directive is aboutcontrolling if multiple subgraphs can resolve a particular field, and as interface field are never directly resolved
(it's their implementation that are), having
@shareable
on interface fields is not completely meaningful andwas never meant to be supported. If an existing subgraph does have a
@shareable
on an interface field, thiswill now be rejected, but the
@shareable
can simply and safely be removed since it previously was ignored.@shareable
to be repeatable so it can be allowed on both a type definition and its extensions PR #2175.Configuration
📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" (UTC), 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.
This PR has been generated by Mend Renovate. View repository job log here.