github apollographql/federation @apollo/gateway@2.4.1

latest releases: @apollo/query-graphs@2.9.0-connectors.7, @apollo/subgraph@2.9.0-connectors.7, @apollo/federation-internals@2.9.0-connectors.7...
15 months ago

Patch Changes

  • Fix issues (incorrectly rejected composition and/or subgraph errors) with @interfaceObject. Those issues may occur (#2494)
    either due to some use of @requires in an @interfaceObject type, or when some subgraph S defines a type that is an
    implementation of an interface I in the supergraph, and there is an @interfaceObject for I in another subgraph,
    but S does not itself defines I.

  • Fix handling of aliases and variables in introspection queries. (#2506)

  • Start building packages with TS 5.x, which should have no effect on consumers (#2480)

  • Improves reuse of named fragments in subgraph fetches. When a question has named fragments, the code tries to reuse (#2497)
    those fragment in subgraph fetches is those can apply (so when the fragment is fully queried in a single subgraph fetch).
    However, the existing was only able to reuse those fragment in a small subset of cases. This change makes it much more
    likely that if a fragment can be reused, it will be.

  • Updated dependencies [450b9578, afde3158, eafebc3c, 01fe3f83]:

    • @apollo/query-planner@2.4.1
    • @apollo/federation-internals@2.4.1
    • @apollo/composition@2.4.1

Don't miss a new federation release

NewReleases is sending notifications on new releases.