This CHANGELOG pertains only to Apollo Federation packages in the 0.x
range. The Federation v2 equivalent for this package can be found here on the main
branch of this repo.
- Expand support for Node.js v18 PR #1884
- Transitive dependency updates with no other notable changes.
- Throw a
GraphQLSchemaValidationError
error for issues with the@inaccessible
directive when callingremoveInaccessibleElements
. The error will contain a list of all validation errors pertaining to@inaccessible
PR #1581.
- Support for Node 17 PR #1648.
- Add
operationKind
and generatedoperationName
s toFetchNode
s on the query plan. Backport of #1472, #1550, #1568 (+ follow-up commit 82d810f). PR #1609
- Transitive dependency updates with no other notable changes.
- BREAKING Bump graphql@15 peer to ^15.8.0. Fix TS error related to
OperationTypeNode
enum in v16 which doesn't exist in v15. PR #1482
- Expand graphql peer dependency to include
^16.0.0
PR #1428.
- Fix sending queries to service for type they don't know PR #864.
- Updates to transitive dependencies. No other substantial changes.
FetchNode
s may now contain a propertyinclusionConditions
which informs the executor whether or not aFetchNode
can be skipped entirely at runtime. Inclusion conditions may consist of literals and variables, so must be resolved at execution time rather than during query planning. This change to the query plan format is backwards compatible - query plan executors may ignore this property altogether and the results will be the same. Utilizing this property is simply an optimization to allow an executor to skip sending subgraph requests which will evaluate to no data. PR #1113
- Updates to transitive dependencies. No other substantial changes.
- Adjustments to internal TypeScript types PR #1030
- BREAKING: This is a breaking change due to a
peerDependencies
update (graphql@^15.4.0
->graphql@^15.5.3
). Thisgraphql
version includes a fix which is being necessarily adopted within the@apollo/federation
package. See associated CHANGELOG entry in thefederation-js
folder for additional details. PR #1008
- Narrow
graphql
peer dependency to a more fitting range^15.4.0
based on our current usage of the package. This requirement was introduced by, but not captured in, changes within the recently released@apollo/query-planner@0.3.0
. As such, this change will be released as apatch
since the breaking change already accidentally happened and this is a correction to that oversight. PR #913
- Introduce support for removing @inaccessible elements from the API schema. PR #807
- Mask inaccessible typenames in runtime operation errors. PR #893
- Permit @tag and @inaccessible core declarations. PR #859
- types: Explicitly declare
FetchGroup[]
return type fromdependentGroups
inbuildQueryPlan
.
- Fix plan querying a subgraph with an interface it doesn't know due to directives. PR #805 Issue #801
- Expand the range of supported
node
versions in the package'sengines
specifier to include the now-tested Node.js16
. PR #713
- Add missing
deep-equal
dependency, which was accidentally installed to the monorepo's root. PR #709
- Fix query plans missing fields in some situations involving nested type conditions (#396).
- Fix duplicate fetches in query plans PR #671.
- This change is mostly a set of follow-up changes for PR #622. Most of these changes are internal (renaming, etc.). Some noteworthy changes worth mentioning are: the splitting of entity and value type metadata types and a conversion of GraphMap to an actual
Map
(which resulted in some additional assertions). PR #656
- Remove unnecessary dependency on
@apollo/query-planner-wasm
- Initial release of TypeScript query planner code extracted from
@apollo/gateway
. (Previous releases of this package were wrappers around@apollo/query-planner-wasm
, a different implementation.)