Releases: apollographql/federation
@apollo/query-graphs@2.3.1
Patch Changes
-
Fix assertion errors thrown by the query planner when querying fields for a specific interface implementation in some cases where
@interfaceObject
is involved (#2362) -
Updated dependencies []:
- @apollo/federation-internals@2.3.1
@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
-
Fix issue where the query planner was incorrectly not querying
__typename
in a subgraph fetch when@interfaceObject
is involved (#2366) -
Updated dependencies [
7e2ca46f
,eb5a8bc0
]:- @apollo/query-planner@2.3.1
- @apollo/composition@2.3.1
- @apollo/federation-internals@2.3.1
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.
@apollo/federation-internals@2.3.1
@apollo/federation-internals@2.3.1
@apollo/composition@2.3.1
@apollo/subgraph@2.3.0
- Adds support for the 2.3 version of the federation spec (that is,
@link(url: "https://specs.apollo.dev/federation/v2.3")
), with: - New
@interfaceObject
directive and support for keys on interfaces.
@apollo/query-planner@2.3.0
CHANGELOG for @apollo/query-planner
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.
2.3.0
- Fix issue with some
@interfaceObject
queries due to missing "input rewrites" PR #2346.
2.3.0-beta.2
@apollo/query-graphs@2.3.0
CHANGELOG for @apollo/query-graphs
2.3.0
- No significant changes to query graphs.
@apollo/gateway@2.3.0
@apollo/federation-internals@2.3.0
- Fix incorrect handling of
@external
on a type when dealing when adding@shareable
during fed1 schema upgrades PR #2343.
@apollo/composition@2.3.0
CHANGELOG for @apollo/composition
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.
2.3.0
2.3.0-beta.2
- Error on composition when a
@shareable
field runtime types don't intersect between subgraphs: a@shareable
field
must resolve the same way in all the subgraphs, but this is impossible if the concrete runtime types have no
intersection at all PR #1556. - Uses the 0.3 version of the tag spec in the supergraph, which adds
@tag
directive support for theSCHEMA
location PR #2314. - Fixes composition issues with
@interfaceObject
PR #2318.
2.3.0-alpha.0
- Preserves source of union members and enum values in supergraph PR #2288.
- BREAKING: composition now rejects
@override
on interface fields. The@override
directive was not
meant to be supported on interfaces and was not having any impact whatsoever. If an existing subgraph does have a
@override
on an interface field, this will now be rejected, but the@override
can simply and safely be removed
since it previously was ignored.