From 818dbbd1ab8f7fd9a23e548ba64287ecf13d466b Mon Sep 17 00:00:00 2001 From: Kamil Kisiela Date: Mon, 4 Nov 2024 13:22:12 +0100 Subject: [PATCH] Update to latest (#80) --- README.md | 14 ++++----- REPORT.md | 20 ++++++------- gateways/apollo-router/install.sh | 2 +- gateways/cosmo-router/install.sh | 3 +- gateways/grafbase-gateway/install.sh | 1 + gateways/grafbase-gateway/results.txt | 8 ++--- gateways/hive-gateway/install.sh | 3 +- gateways/inigo-gateway/install.sh | 1 + package-lock.json | 42 +++++++++++++-------------- package.json | 4 +-- website/index.html | 18 ++++++++---- 11 files changed, 63 insertions(+), 53 deletions(-) diff --git a/README.md b/README.md index f7b95bf..47c543f 100644 --- a/README.md +++ b/README.md @@ -8,14 +8,14 @@ This repository contains a set of tests to evaluate and compare the compatibilit -| Gateway | Compatibility | Test Cases | Test Suites | -| :------------------------------------------------: | :-----------: | :----------: | :---------: | +| Gateway | Compatibility | Test Cases | Test Suites | +| :-------------------------------------------------------------: | :-----------: | :----------: | :---------: | | [Hive Gateway](https://the-guild.dev/graphql/hive/docs/gateway) | 100.00% | 🟢 171 | 🟢 41 | -| [Apollo Router](https://www.apollographql.com/) | 97.66% | 🟢 167 ❌ 4 | 🟢 39 ❌ 2 | -| [Apollo Gateway](https://www.apollographql.com/) | 97.08% | 🟢 166 ❌ 5 | 🟢 38 ❌ 3 | -| [Cosmo Router](https://wundergraph.com) | 72.51% | 🟢 124 ❌ 47 | 🟢 19 ❌ 22 | -| [Grafbase Gateway](https://grafbase.com) | 59.65% | 🟢 102 ❌ 69 | 🟢 19 ❌ 22 | -| [Inigo Gateway](https://inigo.io) | 46.78% | 🟢 80 ❌ 91 | 🟢 12 ❌ 29 | +| [Apollo Router](https://www.apollographql.com/) | 97.66% | 🟢 167 ❌ 4 | 🟢 39 ❌ 2 | +| [Apollo Gateway](https://www.apollographql.com/) | 97.08% | 🟢 166 ❌ 5 | 🟢 38 ❌ 3 | +| [Cosmo Router](https://wundergraph.com) | 72.51% | 🟢 124 ❌ 47 | 🟢 19 ❌ 22 | +| [Grafbase Gateway](https://grafbase.com) | 60.82% | 🟢 104 ❌ 67 | 🟢 19 ❌ 22 | +| [Inigo Gateway](https://inigo.io) | 46.78% | 🟢 80 ❌ 91 | 🟢 12 ❌ 29 | diff --git a/REPORT.md b/REPORT.md index c0d9f03..c7aaede 100644 --- a/REPORT.md +++ b/REPORT.md @@ -2,14 +2,14 @@ ## Summary -| Gateway | Compatibility | Test Cases | Test Suites | -| :------------------------------------------------: | :-----------: | :----------: | :---------: | -| [Hive Gateway](https://the-guild.dev/graphql/hive) | 100.00% | 🟢 171 | 🟢 41 | -| [Apollo Router](https://www.apollographql.com/) | 97.66% | 🟢 167 ❌ 4 | 🟢 39 ❌ 2 | -| [Apollo Gateway](https://www.apollographql.com/) | 97.08% | 🟢 166 ❌ 5 | 🟢 38 ❌ 3 | -| [Cosmo Router](https://wundergraph.com) | 72.51% | 🟢 124 ❌ 47 | 🟢 19 ❌ 22 | -| [Grafbase Gateway](https://grafbase.com) | 59.65% | 🟢 102 ❌ 69 | 🟢 19 ❌ 22 | -| [Inigo Gateway](https://inigo.io) | 46.78% | 🟢 80 ❌ 91 | 🟢 12 ❌ 29 | +| Gateway | Compatibility | Test Cases | Test Suites | +| :-------------------------------------------------------------: | :-----------: | :----------: | :---------: | +| [Hive Gateway](https://the-guild.dev/graphql/hive/docs/gateway) | 100.00% | 🟢 171 | 🟢 41 | +| [Apollo Router](https://www.apollographql.com/) | 97.66% | 🟢 167 ❌ 4 | 🟢 39 ❌ 2 | +| [Apollo Gateway](https://www.apollographql.com/) | 97.08% | 🟢 166 ❌ 5 | 🟢 38 ❌ 3 | +| [Cosmo Router](https://wundergraph.com) | 72.51% | 🟢 124 ❌ 47 | 🟢 19 ❌ 22 | +| [Grafbase Gateway](https://grafbase.com) | 60.82% | 🟢 104 ❌ 67 | 🟢 19 ❌ 22 | +| [Inigo Gateway](https://inigo.io) | 46.78% | 🟢 80 ❌ 91 | 🟢 12 ❌ 29 | ## Detailed Results @@ -425,7 +425,7 @@ You can look at the full list of tests [here](./src/test-suites/). Every test id input-object-intersection
🟢🟢🟢
interface-object-with-requires -
❌🟢❌🟢❌❌❌
+
🟢🟢❌🟢❌❌❌
keys-mashup
🟢
mutations @@ -479,7 +479,7 @@ You can look at the full list of tests [here](./src/test-suites/). Every test id union-interface-distributed
🟢🟢🟢🟢🟢🟢🟢
union-intersection -
🟢🟢🟢❌❌🟢❌❌
+
🟢🟢🟢❌🟢🟢❌❌
diff --git a/gateways/apollo-router/install.sh b/gateways/apollo-router/install.sh index 467e426..2ff8533 100755 --- a/gateways/apollo-router/install.sh +++ b/gateways/apollo-router/install.sh @@ -1,2 +1,2 @@ # https://github.com/apollographql/router/releases -curl -sSL https://router.apollo.dev/download/nix/v1.57.0 | sh +curl -sSL https://router.apollo.dev/download/nix/v1.57.1 | sh diff --git a/gateways/cosmo-router/install.sh b/gateways/cosmo-router/install.sh index 06a73a1..f759b51 100755 --- a/gateways/cosmo-router/install.sh +++ b/gateways/cosmo-router/install.sh @@ -7,7 +7,8 @@ set -u BINARY_DOWNLOAD_PREFIX="https://github.com/wundergraph/cosmo/releases/download" -DOWNLOAD_VERSION="0.135.0" +# https://github.com/wundergraph/cosmo/releases +DOWNLOAD_VERSION="0.136.0" download_binary() { downloader --check diff --git a/gateways/grafbase-gateway/install.sh b/gateways/grafbase-gateway/install.sh index f7226ed..499b2df 100755 --- a/gateways/grafbase-gateway/install.sh +++ b/gateways/grafbase-gateway/install.sh @@ -4,6 +4,7 @@ set -euo pipefail # I took their install script and modified it to download the gateway binary # to the current directory instead of /usr/local/bin +# https://github.com/grafbase/grafbase/releases VERSION="0.16.0" error() { diff --git a/gateways/grafbase-gateway/results.txt b/gateways/grafbase-gateway/results.txt index ef48242..0147bf9 100644 --- a/gateways/grafbase-gateway/results.txt +++ b/gateways/grafbase-gateway/results.txt @@ -25,7 +25,7 @@ XXXX input-object-intersection ... interface-object-with-requires -X.X.XXX +..X.XXX keys-mashup . mutations @@ -79,9 +79,9 @@ unavailable-override union-interface-distributed ....... union-intersection -...XX.XX +...X..XX --- Total: 171 -Passed: 102 -Failed: 69 \ No newline at end of file +Passed: 104 +Failed: 67 \ No newline at end of file diff --git a/gateways/hive-gateway/install.sh b/gateways/hive-gateway/install.sh index 4dcfd0e..206532e 100755 --- a/gateways/hive-gateway/install.sh +++ b/gateways/hive-gateway/install.sh @@ -1 +1,2 @@ -curl -sSL https://graphql-hive.com/install-gateway.sh | sh -s "1.4.3" \ No newline at end of file +# https://github.com/graphql-hive/gateway/releases +curl -sSL https://graphql-hive.com/install-gateway.sh | sh -s "1.4.8" \ No newline at end of file diff --git a/gateways/inigo-gateway/install.sh b/gateways/inigo-gateway/install.sh index 99910d5..7f542e1 100755 --- a/gateways/inigo-gateway/install.sh +++ b/gateways/inigo-gateway/install.sh @@ -7,6 +7,7 @@ set -u BINARY_DOWNLOAD_PREFIX="https://github.com/inigolabs/artifacts/releases/download" +# https://github.com/inigolabs/artifacts/releases DOWNLOAD_VERSION="v0.30.14" download_binaries() { diff --git a/package-lock.json b/package-lock.json index 9bad7b3..58ec464 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "fets": "0.8.3", "get-port": "7.1.0", "graphql": "16.9.0", - "graphql-yoga": "5.7.0", + "graphql-yoga": "5.8.0", "jest-diff": "29.7.0", "kill-port-process": "3.2.1", "wait-on": "8.0.1", @@ -32,7 +32,7 @@ "@types/async-retry": "1.4.9", "@types/detect-port": "1.3.5", "@types/express": "5.0.0", - "@types/node": "22.8.5", + "@types/node": "22.8.7", "@types/wait-on": "5.3.4", "@types/yargs": "17.0.33", "express": "5.0.1", @@ -2242,9 +2242,9 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "22.8.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.5.tgz", - "integrity": "sha512-5iYk6AMPtsMbkZqCO1UGF9W5L38twq11S2pYWkybGHH2ogPUvXWNlQqJBzuEZWKj/WRH+QTeiv6ySWqJtvIEgA==", + "version": "22.8.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.7.tgz", + "integrity": "sha512-LidcG+2UeYIWcMuMUpBKOnryBWG/rnmOHQR5apjn8myTQcx3rinFRn7DcIFhMnS0PPFSC6OafdIKEad0lj6U0Q==", "dev": true, "license": "MIT", "dependencies": { @@ -2359,12 +2359,12 @@ } }, "node_modules/@whatwg-node/fetch": { - "version": "0.9.21", - "resolved": "https://registry.npmjs.org/@whatwg-node/fetch/-/fetch-0.9.21.tgz", - "integrity": "sha512-Wt0jPb+04JjobK0pAAN7mEHxVHcGA9HoP3OyCsZtyAecNQeADXCZ1MihFwVwjsgaRYuGVmNlsCmLxlG6mor8Gw==", + "version": "0.9.23", + "resolved": "https://registry.npmjs.org/@whatwg-node/fetch/-/fetch-0.9.23.tgz", + "integrity": "sha512-7xlqWel9JsmxahJnYVUj/LLxWcnA93DR4c9xlw3U814jWTiYalryiH1qToik1hOxweKKRLi4haXHM5ycRksPBA==", "license": "MIT", "dependencies": { - "@whatwg-node/node-fetch": "^0.5.23", + "@whatwg-node/node-fetch": "^0.6.0", "urlpattern-polyfill": "^10.0.0" }, "engines": { @@ -2372,9 +2372,9 @@ } }, "node_modules/@whatwg-node/node-fetch": { - "version": "0.5.26", - "resolved": "https://registry.npmjs.org/@whatwg-node/node-fetch/-/node-fetch-0.5.26.tgz", - "integrity": "sha512-4jXDeZ4IH4bylZ6wu14VEx0aDXXhrN4TC279v9rPmn08g4EYekcYf8wdcOOnS9STjDkb6x77/6xBUTqxGgjr8g==", + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@whatwg-node/node-fetch/-/node-fetch-0.6.0.tgz", + "integrity": "sha512-tcZAhrpx6oVlkEsRngeTEEE7I5/QdLjeEz4IlekabGaESP7+Dkm/6a9KcF1KdCBB7mO9PXtBkwCuTCt8+UPg8Q==", "license": "MIT", "dependencies": { "@kamilkisiela/fast-url-parser": "^1.1.4", @@ -2387,12 +2387,12 @@ } }, "node_modules/@whatwg-node/server": { - "version": "0.9.49", - "resolved": "https://registry.npmjs.org/@whatwg-node/server/-/server-0.9.49.tgz", - "integrity": "sha512-3KzLXw80gWnTsQ746G/LFdCThTPfDodjQs4PnmoNuPa6XUOl4HWq8TlJpxtmnEEB+y+UYLal+3VQ68dtYlbUDQ==", + "version": "0.9.52", + "resolved": "https://registry.npmjs.org/@whatwg-node/server/-/server-0.9.52.tgz", + "integrity": "sha512-RSX9FcoXrjmMu7dkBWbd5bNE7qsVSHCupk5A5iuZkoF+XWDvnp1TDbSGLARnsKKwln1Sem4koLkz/tj5b8Q7bg==", "license": "MIT", "dependencies": { - "@whatwg-node/fetch": "^0.9.21", + "@whatwg-node/fetch": "^0.9.23", "tslib": "^2.6.3" }, "engines": { @@ -4842,9 +4842,9 @@ } }, "node_modules/graphql-yoga": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/graphql-yoga/-/graphql-yoga-5.7.0.tgz", - "integrity": "sha512-QyGVvFAvGhMrzjJvhjsxsyoE+e4lNrj5f5qOsRYJuWIjyw7tHfbBvybZIwzNOGY0aB5sgA8BlVvu5hxjdKJ5tQ==", + "version": "5.8.0", + "resolved": "https://registry.npmjs.org/graphql-yoga/-/graphql-yoga-5.8.0.tgz", + "integrity": "sha512-pGoeTv7Om9aNGkDIFecz3tv0rZKWV2T2K8522/tymS+qixPIq5upSaMY5nLXzpWD40R10mcw0nBwBZg6j0F7Iw==", "license": "MIT", "dependencies": { "@envelop/core": "^5.0.1", @@ -4853,8 +4853,8 @@ "@graphql-tools/utils": "^10.3.2", "@graphql-yoga/logger": "^2.0.0", "@graphql-yoga/subscription": "^5.0.1", - "@whatwg-node/fetch": "^0.9.18", - "@whatwg-node/server": "^0.9.44", + "@whatwg-node/fetch": "^0.9.22", + "@whatwg-node/server": "^0.9.50", "dset": "^3.1.1", "lru-cache": "^10.0.0", "tslib": "^2.5.2" diff --git a/package.json b/package.json index 564c101..9fadf0f 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "fets": "0.8.3", "get-port": "7.1.0", "graphql": "16.9.0", - "graphql-yoga": "5.7.0", + "graphql-yoga": "5.8.0", "jest-diff": "29.7.0", "kill-port-process": "3.2.1", "wait-on": "8.0.1", @@ -70,7 +70,7 @@ "@apollo/server": "4.11.2", "@types/async-retry": "1.4.9", "@types/express": "5.0.0", - "@types/node": "22.8.5", + "@types/node": "22.8.7", "@types/wait-on": "5.3.4", "@types/yargs": "17.0.33", "@types/detect-port": "1.3.5", diff --git a/website/index.html b/website/index.html index 932618b..4074cb5 100644 --- a/website/index.html +++ b/website/index.html @@ -346,10 +346,10 @@

Grafbase Gateway - 59.65% + 60.82% - ✓ 102 - ✗ 69 + ✓ 104 + ✗ 67 ✓ 19 @@ -532,8 +532,12 @@

title="GraphQL Federation Gateway formerly known as GraphQL Mesh" >GraphQL Mesh - (now Hive Gateway) and + (now + Hive Gateway) and href="https://inigo.io/" title="GraphQL Management Across Your Infrastructure" >Inigo GatewayUnknown license + >Unknown license