Skip to content

Releases: apollographql/apollo-federation-subgraph-compatibility

1.0.0

13 Jan 16:43
Compare
Choose a tag to compare

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

03 Jan 19:14
923beb9
Compare
Choose a tag to compare

This is a test release of @apollo/federation-subgraph-compatibility script to simplify usage of NPX script.

0.0.13

22 Dec 20:10
Compare
Choose a tag to compare

This is a test release of @apollo/federation-subgraph-compatibility script with updates for new Github Action.

0.0.12

21 Dec 20:38
Compare
Choose a tag to compare

This is a test release of @apollo/federation-subgraph-compatibility script with dependency changes for new Github Action.

0.0.11

20 Dec 22:30
5478a56
Compare
Choose a tag to compare

This is a test release of @apollo/federation-subgraph-compatibility script verifying new monorepo setup.

0.0.10

13 Dec 22:33
Compare
Choose a tag to compare

This is a test release of @apollo/federation-subgraph-compatibility script verifying GH workflows

0.0.9

08 Dec 21:35
Compare
Choose a tag to compare

This is a test release of @apollo/federation-subgraph-compatibility script verifying GH workflows

0.0.8

07 Dec 20:52
Compare
Choose a tag to compare

This is a test release of @apollo/federation-subgraph-compatibility script

Release 1.0.234-44ee101-main

06 Dec 16:47
44ee101
Compare
Choose a tag to compare
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

28 Nov 19:55
0d309fd
Compare
Choose a tag to compare
chore(deps): Update deps for `async-graphql` (#273)

Co-authored-by: Dylan Anthony <[email protected]>