diff --git a/federation-v1/gateways/apollo-router/docker-compose.yaml b/federation-v1/gateways/apollo-router/docker-compose.yaml index f907e4475..bb0764781 100644 --- a/federation-v1/gateways/apollo-router/docker-compose.yaml +++ b/federation-v1/gateways/apollo-router/docker-compose.yaml @@ -2,7 +2,7 @@ version: "3.8" services: gateway: - image: ghcr.io/apollographql/router:v1.43.0 + image: ghcr.io/apollographql/router:v1.56.0 container_name: gateway networks: - test diff --git a/federation-v1/gateways/apollo-server/package.json b/federation-v1/gateways/apollo-server/package.json index 275dffcb3..f5fbd3da2 100644 --- a/federation-v1/gateways/apollo-server/package.json +++ b/federation-v1/gateways/apollo-server/package.json @@ -7,8 +7,8 @@ "tsx": "4.7.1", "typescript": "5.4.3", "graphql": "16.8.1", - "@apollo/server": "4.10.2", - "@apollo/gateway": "2.8.5", - "@apollo/composition": "2.7.2" + "@apollo/server": "4.11.0", + "@apollo/gateway": "2.9.2", + "@apollo/composition": "2.9.2" } } diff --git a/federation-v1/gateways/apollo-server/yarn.lock b/federation-v1/gateways/apollo-server/yarn.lock index 0ea5f02d2..d43a177bd 100644 --- a/federation-v1/gateways/apollo-server/yarn.lock +++ b/federation-v1/gateways/apollo-server/yarn.lock @@ -7,50 +7,32 @@ resolved "https://registry.yarnpkg.com/@apollo/cache-control-types/-/cache-control-types-1.0.3.tgz#5da62cf64c3b4419dabfef4536b57a40c8ff0b47" integrity sha512-F17/vCp7QVwom9eG7ToauIKdAxpSoadsJnqIfyryLFSkLSOEqu+eC5Z3N8OXcUVStuOMcNHlyraRsA6rRICu4g== -"@apollo/composition@2.7.2": - version "2.7.2" - resolved "https://registry.yarnpkg.com/@apollo/composition/-/composition-2.7.2.tgz#4627c1c2e74c56af29260cb37724fc1edcdccef6" - integrity sha512-Qd7mj2pOBm/q3axb2P7NnkJTgiA7x3bTiYYFD+XqhfMI/NB2EdxPeUyc4OzGg5sLrzV3ySd6fuZRzQYK/5FiPg== +"@apollo/composition@2.9.2": + version "2.9.2" + resolved "https://registry.yarnpkg.com/@apollo/composition/-/composition-2.9.2.tgz#cf63ad81dcb11f733ae16dad7607a1f82cb86885" + integrity sha512-hO07cfu+ezfCEyAg1ZC1FXBCt7gELR0ZsOXb4RRpDv/wpoIstoI/25ogxGNti2yOjX3tfBp4ewMBsIiDR2go/g== dependencies: - "@apollo/federation-internals" "2.7.2" - "@apollo/query-graphs" "2.7.2" + "@apollo/federation-internals" "2.9.2" + "@apollo/query-graphs" "2.9.2" -"@apollo/composition@2.8.5": - version "2.8.5" - resolved "https://registry.yarnpkg.com/@apollo/composition/-/composition-2.8.5.tgz#f26b6256d3992eb1fcdc08d529b6c81e129422fa" - integrity sha512-uyZLOaOy6xeaihvIXD+32y6Unvy7xkp4+X9MBvFJmR9ZfFOtL0je/X2YPBX2HhmqdjO/2C6pp2fQdicrV3Vbnw== - dependencies: - "@apollo/federation-internals" "2.8.5" - "@apollo/query-graphs" "2.8.5" - -"@apollo/federation-internals@2.7.2": - version "2.7.2" - resolved "https://registry.yarnpkg.com/@apollo/federation-internals/-/federation-internals-2.7.2.tgz#3e54ecbc9363f8882496567e53c298ff9a1821dc" - integrity sha512-i+9mbw8UN6P+i5xpLxH3m8n3zqEBzoN8a1cct4yrab9loiZeIlxW8cLXzqglEMic++Sz9tai4L21ZY0GlW8ebg== - dependencies: - "@types/uuid" "^9.0.0" - chalk "^4.1.0" - js-levenshtein "^1.1.6" - uuid "^9.0.0" - -"@apollo/federation-internals@2.8.5": - version "2.8.5" - resolved "https://registry.yarnpkg.com/@apollo/federation-internals/-/federation-internals-2.8.5.tgz#bcb92a94c8c048125491cbf93134a928c794aaf5" - integrity sha512-rTDkJmNybJm5mkGKE31I54OjrE3FpocmsZns9Mb2SSJNuDkzv+uxHA4POW9RB6KsRLGFyEkJ/l5WzU1exxmHjA== +"@apollo/federation-internals@2.9.2": + version "2.9.2" + resolved "https://registry.yarnpkg.com/@apollo/federation-internals/-/federation-internals-2.9.2.tgz#d0309107e3654cb64069f9bec7c64aaddc0804f0" + integrity sha512-61+8ynN49ptKNi7Wid4V9acvk8VBt6TqmwUvLdsp3uH8y+FSQCpdaSs5be6vdy/L7O+7IIcydh+Ns2JqlLrwSA== dependencies: "@types/uuid" "^9.0.0" chalk "^4.1.0" js-levenshtein "^1.1.6" uuid "^9.0.0" -"@apollo/gateway@2.8.5": - version "2.8.5" - resolved "https://registry.yarnpkg.com/@apollo/gateway/-/gateway-2.8.5.tgz#c8abfa8cca7fe4b9471d18c2c3fb16e5c6a1a821" - integrity sha512-zmLiT8qKWMw5fe06F7I4n3RK+OnJTwX8l0tLf8ixuwZVdD1FWQuT1LJAd5fyrZefSTpMCnOcvE/0HIg510nfIg== +"@apollo/gateway@2.9.2": + version "2.9.2" + resolved "https://registry.yarnpkg.com/@apollo/gateway/-/gateway-2.9.2.tgz#d0691aecd1efabc9450ad0157b6837acc6836b29" + integrity sha512-FjklUhVNEaIvZ+IRCY8YJLsKFfRUehUNI9QhqQw8ID+G6peSg5IPPsXo/9mtWq/TF7JRNmaL/nhjwjt+fGDUOg== dependencies: - "@apollo/composition" "2.8.5" - "@apollo/federation-internals" "2.8.5" - "@apollo/query-planner" "2.8.5" + "@apollo/composition" "2.9.2" + "@apollo/federation-internals" "2.9.2" + "@apollo/query-planner" "2.9.2" "@apollo/server-gateway-interface" "^1.1.0" "@apollo/usage-reporting-protobuf" "^4.1.0" "@apollo/utils.createhash" "^2.0.0" @@ -85,33 +67,23 @@ "@types/long" "^4.0.0" long "^4.0.0" -"@apollo/query-graphs@2.7.2": - version "2.7.2" - resolved "https://registry.yarnpkg.com/@apollo/query-graphs/-/query-graphs-2.7.2.tgz#efdcd76fcc07662b8db0dd9273bc4d15754bb208" - integrity sha512-tVoKqStxXk3Wq7j8U7W6U9Z51rFn0V5mZW6mnIrSOPRyMq9nuv56xbopPxeFbhPEIE2xgJfzYKukjJS9wJW25A== +"@apollo/query-graphs@2.9.2": + version "2.9.2" + resolved "https://registry.yarnpkg.com/@apollo/query-graphs/-/query-graphs-2.9.2.tgz#cc26b8eb40b8869a14a60eadd1430a220d6c191b" + integrity sha512-/3Wl7GukCCYPDtqNO36qH61ytBMgUhS5R7O44xXRDkErZzXuhno4Cds+SXYdqYmnatEnB0IxyrVtduaMr6uotQ== dependencies: - "@apollo/federation-internals" "2.7.2" + "@apollo/federation-internals" "2.9.2" deep-equal "^2.0.5" ts-graphviz "^1.5.4" uuid "^9.0.0" -"@apollo/query-graphs@2.8.5": - version "2.8.5" - resolved "https://registry.yarnpkg.com/@apollo/query-graphs/-/query-graphs-2.8.5.tgz#b02dd77ff623cb16fd51e978e0b19beaaf7600d8" - integrity sha512-01YCTeUX4RJUuZF8hrE0wgRQ4mCqq1ZS2IvNbtzcNGzibDcYoDkTa+5EVhn3Yr1b9RujzeJE7T2nJzinupHRug== - dependencies: - "@apollo/federation-internals" "2.8.5" - deep-equal "^2.0.5" - ts-graphviz "^1.5.4" - uuid "^9.0.0" - -"@apollo/query-planner@2.8.5": - version "2.8.5" - resolved "https://registry.yarnpkg.com/@apollo/query-planner/-/query-planner-2.8.5.tgz#763fcd190445fd4e8ec3f8cecc24438e3998b380" - integrity sha512-vFuefIXm7oPCYRqSCW+s+OY6jKdkWNsyREoo6jnf3xlzDuqhlZVGN0/3x/V25b7O8NK63KXxxd+YdIgkzN06ow== +"@apollo/query-planner@2.9.2": + version "2.9.2" + resolved "https://registry.yarnpkg.com/@apollo/query-planner/-/query-planner-2.9.2.tgz#62616d122512b150fdeed9e1eed5751926623db7" + integrity sha512-sqs3jA0o+LMRsiyEHAVdsFFt6ChN7ihGePdbuXNANb3+mV0WPBWYmnGjQ9FvrM5WynH4CtWekRHxsrQOYnr90A== dependencies: - "@apollo/federation-internals" "2.8.5" - "@apollo/query-graphs" "2.8.5" + "@apollo/federation-internals" "2.9.2" + "@apollo/query-graphs" "2.9.2" "@apollo/utils.keyvaluecache" "^2.1.0" chalk "^4.1.0" deep-equal "^2.0.5" @@ -127,10 +99,10 @@ "@apollo/utils.keyvaluecache" "^2.1.0" "@apollo/utils.logger" "^2.0.0" -"@apollo/server@4.10.2": - version "4.10.2" - resolved "https://registry.yarnpkg.com/@apollo/server/-/server-4.10.2.tgz#7a0caa7292d512ec44fe065d28dc68d32d4865a1" - integrity sha512-qlTZE4XyzMPprtkxFjmPxMwc2KC4nvNQrKXk2PMotEACKcaLXVZFIgstxbSqBCNl2KgzbsgU1g6vvbV6Xcfikw== +"@apollo/server@4.11.0": + version "4.11.0" + resolved "https://registry.yarnpkg.com/@apollo/server/-/server-4.11.0.tgz#21c0f10ad805192a5485e58ed5c5b3dbe2243174" + integrity sha512-SWDvbbs0wl2zYhKG6aGLxwTJ72xpqp0awb2lotNpfezd9VcAvzaUizzKQqocephin2uMoaA8MguoyBmgtPzNWw== dependencies: "@apollo/cache-control-types" "^1.0.3" "@apollo/server-gateway-interface" "^1.1.1" @@ -143,7 +115,6 @@ "@apollo/utils.usagereporting" "^2.1.0" "@apollo/utils.withrequired" "^2.0.0" "@graphql-tools/schema" "^9.0.0" - "@josephg/resolvable" "^1.0.0" "@types/express" "^4.17.13" "@types/express-serve-static-core" "^4.17.30" "@types/node-fetch" "^2.6.1" @@ -405,7 +376,7 @@ dependencies: "@sinclair/typebox" "^0.27.8" -"@josephg/resolvable@^1.0.0", "@josephg/resolvable@^1.0.1": +"@josephg/resolvable@^1.0.1": version "1.0.1" resolved "https://registry.yarnpkg.com/@josephg/resolvable/-/resolvable-1.0.1.tgz#69bc4db754d79e1a2f17a650d3466e038d94a5eb" integrity sha512-CtzORUwWTTOTqfVtHaKRJ0I1kNQd1bpn3sUh8I3nJDVY+5/M/Oe1DnEWzPQvqq/xPIIkzzzIP7mfCoAjFRvDhg== diff --git a/federation-v1/scenarios/package.json b/federation-v1/scenarios/package.json index be9e648a0..ad7939c57 100644 --- a/federation-v1/scenarios/package.json +++ b/federation-v1/scenarios/package.json @@ -7,7 +7,7 @@ "tsx": "4.7.1", "typescript": "5.4.3", "graphql": "16.8.1", - "@apollo/composition": "2.7.2" + "@apollo/composition": "2.9.2" }, "devDependencies": { "@types/node": "20.11.30" diff --git a/federation-v1/scenarios/yarn.lock b/federation-v1/scenarios/yarn.lock index 96e35abab..bd3a9e030 100644 --- a/federation-v1/scenarios/yarn.lock +++ b/federation-v1/scenarios/yarn.lock @@ -2,30 +2,30 @@ # yarn lockfile v1 -"@apollo/composition@2.7.2": - version "2.7.2" - resolved "https://registry.yarnpkg.com/@apollo/composition/-/composition-2.7.2.tgz#4627c1c2e74c56af29260cb37724fc1edcdccef6" - integrity sha512-Qd7mj2pOBm/q3axb2P7NnkJTgiA7x3bTiYYFD+XqhfMI/NB2EdxPeUyc4OzGg5sLrzV3ySd6fuZRzQYK/5FiPg== +"@apollo/composition@2.9.2": + version "2.9.2" + resolved "https://registry.yarnpkg.com/@apollo/composition/-/composition-2.9.2.tgz#cf63ad81dcb11f733ae16dad7607a1f82cb86885" + integrity sha512-hO07cfu+ezfCEyAg1ZC1FXBCt7gELR0ZsOXb4RRpDv/wpoIstoI/25ogxGNti2yOjX3tfBp4ewMBsIiDR2go/g== dependencies: - "@apollo/federation-internals" "2.7.2" - "@apollo/query-graphs" "2.7.2" + "@apollo/federation-internals" "2.9.2" + "@apollo/query-graphs" "2.9.2" -"@apollo/federation-internals@2.7.2": - version "2.7.2" - resolved "https://registry.yarnpkg.com/@apollo/federation-internals/-/federation-internals-2.7.2.tgz#3e54ecbc9363f8882496567e53c298ff9a1821dc" - integrity sha512-i+9mbw8UN6P+i5xpLxH3m8n3zqEBzoN8a1cct4yrab9loiZeIlxW8cLXzqglEMic++Sz9tai4L21ZY0GlW8ebg== +"@apollo/federation-internals@2.9.2": + version "2.9.2" + resolved "https://registry.yarnpkg.com/@apollo/federation-internals/-/federation-internals-2.9.2.tgz#d0309107e3654cb64069f9bec7c64aaddc0804f0" + integrity sha512-61+8ynN49ptKNi7Wid4V9acvk8VBt6TqmwUvLdsp3uH8y+FSQCpdaSs5be6vdy/L7O+7IIcydh+Ns2JqlLrwSA== dependencies: "@types/uuid" "^9.0.0" chalk "^4.1.0" js-levenshtein "^1.1.6" uuid "^9.0.0" -"@apollo/query-graphs@2.7.2": - version "2.7.2" - resolved "https://registry.yarnpkg.com/@apollo/query-graphs/-/query-graphs-2.7.2.tgz#efdcd76fcc07662b8db0dd9273bc4d15754bb208" - integrity sha512-tVoKqStxXk3Wq7j8U7W6U9Z51rFn0V5mZW6mnIrSOPRyMq9nuv56xbopPxeFbhPEIE2xgJfzYKukjJS9wJW25A== +"@apollo/query-graphs@2.9.2": + version "2.9.2" + resolved "https://registry.yarnpkg.com/@apollo/query-graphs/-/query-graphs-2.9.2.tgz#cc26b8eb40b8869a14a60eadd1430a220d6c191b" + integrity sha512-/3Wl7GukCCYPDtqNO36qH61ytBMgUhS5R7O44xXRDkErZzXuhno4Cds+SXYdqYmnatEnB0IxyrVtduaMr6uotQ== dependencies: - "@apollo/federation-internals" "2.7.2" + "@apollo/federation-internals" "2.9.2" deep-equal "^2.0.5" ts-graphviz "^1.5.4" uuid "^9.0.0"