Federation version support in the Apollo Router
The Apollo Router supports supergraph schemas that are generated via Apollo Federation 2.x composition. This composition algorithm is usually performed by one of the following:
- Apollo GraphOS (for supergraphs that use managed federation)
- The Rover CLI (for non-managed supergraphs)
Apollo Federation is an evolving project, and its composition algorithm regularly receives new features and bug fixes.
To help ensure that your router fully supports its supergraph schema, you should regularly update it to the latest stable version.
The table below shows which version of federation each router release is compiled against. Make sure that your router's federation version is at least as recent as the version used to compose your supergraph schema.
Avoid router versions marked with ⚠️. These versions include bugs described in the changelog.
|Router version||Federation version|
|v1.11.0 and later (see latest releases)||2.3.2|
|v1.10.2 - v1.10.3||2.3.1|
|v1.6.0 - v1.9.0||2.2.2|
|v1.2.1 - v1.5.0||2.1.4|
|v1.0.0 - v1.2.0||2.1.3|
Federation 1 support
Federation 2.x composition is backward compatible with Federation 1.x subgraph schemas, so you can use the Apollo Router with any valid Federation 1.x supergraph.
If your Federation 1.x supergraph doesn't work with the Apollo Router, see possible causes in Backward compatibility in Federation 2.