Skip to content

Releases: apollographql/federation

@apollo/query-graphs@2.3.1

06 Feb 20:41
b025b0b
Compare
Choose a tag to compare

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

06 Feb 20:41
b025b0b
Compare
Choose a tag to compare

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

06 Feb 20:41
b025b0b
Compare
Choose a tag to compare
@apollo/federation-internals@2.3.1

@apollo/composition@2.3.1

06 Feb 20:41
b025b0b
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [7e2ca46f]:
    • @apollo/query-graphs@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/subgraph@2.3.0

25 Jan 17:55
5beba1d
Compare
Choose a tag to compare
  • 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

25 Jan 17:55
5beba1d
Compare
Choose a tag to compare

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

  • Fix potential issue with nested @defer in non-deferrable case PR #2312.
  • Fix possible assertion error during query planning PR #2299.
  • Improves generation of plans once all path options are computed PR #2316.

@apollo/query-graphs@2.3.0

25 Jan 17:55
5beba1d
Compare
Choose a tag to compare

CHANGELOG for @apollo/query-graphs

2.3.0

  • No significant changes to query graphs.

@apollo/gateway@2.3.0

25 Jan 17:55
5beba1d
Compare
Choose a tag to compare
  • Fix unexpected composition error about @shareable field when @external is on a type in a fed1 schema (one without @link) PR #2343.
  • Fix issue with some @interfaceObject queries due to missing "input rewrites" PR #2346.

@apollo/federation-internals@2.3.0

25 Jan 17:55
5beba1d
Compare
Choose a tag to compare
  • Fix incorrect handling of @external on a type when dealing when adding @shareable during fed1 schema upgrades PR #2343.

@apollo/composition@2.3.0

25 Jan 17:55
5beba1d
Compare
Choose a tag to compare

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 the SCHEMA 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.