Releases: apollographql/apollo-federation-subgraph-compatibility
1.0.0
Initial version of @apollo/federation-subgraph-compatibility executable script and @apollo/federation-subgraph-compatibility-tests package. Subsequent releases will follow semantic versioning.
@apollo/federation-subgraph-compatibility
Executable script with command line interface that can be be executed through NPX and allows you to run Apollo Federation Subgraph Compatibility tests against your target implementation. Uses PM2 or Docker Compose to start and manage multiple processes.
Difference between PM2 and Docker:
- When using PM2, script starts inventory and user subgraphs (devs can also specify their pm2 config to start product subgraph under test) and then runs
rover dev
to compose the supergraph. - When using Docker Compose, script generates supergraph config using
rover supergraph compose
and then starts the router using Docker.
Simplest use case (when test app is already running):
npx @apollo/federation-subgraph-compatibility pm2 --endpoint http://localhost:8080/graphql
See script documentation for additional details.
@apollo/federation-subgraph-compatibility-tests
This package should not be used directly. Executable NPM script (see above) OR Github Action should be used instead.
This package contains all the Federation compatibility tests as well as the logic to start and compose the supergraph.
0.0.14
This is a test release of @apollo/federation-subgraph-compatibility
script to simplify usage of NPX script.
0.0.13
This is a test release of @apollo/federation-subgraph-compatibility
script with updates for new Github Action.
0.0.12
This is a test release of @apollo/federation-subgraph-compatibility
script with dependency changes for new Github Action.
0.0.11
This is a test release of @apollo/federation-subgraph-compatibility
script verifying new monorepo setup.
0.0.10
This is a test release of @apollo/federation-subgraph-compatibility
script verifying GH workflows
0.0.9
This is a test release of @apollo/federation-subgraph-compatibility
script verifying GH workflows
0.0.8
This is a test release of @apollo/federation-subgraph-compatibility
script
Release 1.0.234-44ee101-main
initial version of compatibility script (#272) Packages up compatibility tests as a script that could be executed through NPX. Uses [PM2](https://pm2.keymetrics.io/docs/usage/quick-start/) or [Docker Compose](https://docs.docker.com/compose/) to start and manage multiple processes. Difference between PM2 and Docker: * When using PM2, script starts inventory and user subgraphs (devs can also specify their pm2 config to start product subgraph under test) and then runs `rover dev` to compose the supergraph. * When using Docker Compose, script generates supergraph config using `rover supergraph compose` and then starts the router using Docker. Simplest use case (when test app is already running): ```sh npx @apollo/federation-subgraph-compatibility pm2 --endpoint http://localhost:8080/graphql ``` Use `--help` to see all available configuration options.
Release 1.0.233-0d309fd-main
chore(deps): Update deps for `async-graphql` (#273) Co-authored-by: Dylan Anthony <[email protected]>