diff --git a/.circleci/config.yml b/.circleci/config.yml index 42215cd51..6a738f436 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,8 +17,6 @@ commands: common_test_steps: description: "Commands run on each Node.js job" steps: - - oss/install_specific_npm_version: - version: '7' - checkout - oss/npm_clean_install_with_caching - run: @@ -39,7 +37,7 @@ jobs: NodeJS 12: docker: - - image: cimg/node:12.22.1 + - image: cimg/node:12.22 steps: - common_test_steps # We will save the results of this one particular invocation to use in @@ -54,19 +52,19 @@ jobs: NodeJS 14: docker: - - image: cimg/node:14.16.1 + - image: cimg/node:14.19 steps: - common_test_steps NodeJS 16: docker: - - image: cimg/node:16.0.0 + - image: cimg/node:16.15 steps: - common_test_steps - - NodeJS 17: + + NodeJS 18: docker: - - image: cimg/node:17.0.0 + - image: cimg/node:18.2.0 steps: - common_test_steps @@ -93,10 +91,8 @@ jobs: GraphQL Types: description: "Assert generated GraphQL types are up to date" docker: - - image: cimg/node:14.16.1 + - image: cimg/node:16.15 steps: - - oss/install_specific_npm_version: - version: '7' - checkout - oss/npm_clean_install_with_caching - run: @@ -137,10 +133,11 @@ workflows: - NodeJS 16: name: "JS: Node 16" <<: *common_non_publish_filters + - NodeJS 18: + name: "JS: Node 18" + <<: *common_non_publish_filters - GraphQL v15 Support: name: "Backcompat support: graphql@15" - - NodeJS 17: - name: "JS: Node 17" <<: *common_non_publish_filters - GraphQL Types: name: "GraphQL Types (up to date)" @@ -152,7 +149,7 @@ workflows: - "JS: Node 12" - "JS: Node 14" - "JS: Node 16" - - "JS: Node 17" + - "JS: Node 18" - "Backcompat support: graphql@15" - "GraphQL Types (up to date)" - oss/dry_run: @@ -162,7 +159,7 @@ workflows: - "JS: Node 12" - "JS: Node 14" - "JS: Node 16" - - "JS: Node 17" + - "JS: Node 18" - "Backcompat support: graphql@15" - "GraphQL Types (up to date)" - oss/confirmation: diff --git a/federation-js/CHANGELOG.md b/federation-js/CHANGELOG.md index 6fff0f7f4..a482f4c2d 100644 --- a/federation-js/CHANGELOG.md +++ b/federation-js/CHANGELOG.md @@ -4,9 +4,7 @@ This CHANGELOG pertains only to Apollo Federation packages in the `0.x` range. T ## vNEXT -> The changes noted within this `vNEXT` section have not been released yet. New PRs and commits which introduce changes should include an entry in this `vNEXT` section as part of their development. When a release is being prepared, a new header will be (manually) created below and the appropriate changes within that release will be moved into the new section. - -- _Nothing yet! Stay tuned._ +- Expand support for Node.js v18 [PR #1884](https://github.com/apollographql/federation/pull/1884) ## v0.36.1 diff --git a/federation-js/package.json b/federation-js/package.json index 9d3acae05..0eab6f8f1 100644 --- a/federation-js/package.json +++ b/federation-js/package.json @@ -17,7 +17,7 @@ "author": "Apollo ", "license": "MIT", "engines": { - "node": ">=12.13.0 <18.0" + "node": ">=12.13.0" }, "publishConfig": { "access": "public" diff --git a/gateway-js/CHANGELOG.md b/gateway-js/CHANGELOG.md index b6aec0737..d1974e3ef 100644 --- a/gateway-js/CHANGELOG.md +++ b/gateway-js/CHANGELOG.md @@ -3,9 +3,8 @@ This CHANGELOG pertains only to Apollo Federation packages in the `0.x` range. The Federation v2 equivalent for this package can be found [here](https://github.com/apollographql/federation/blob/main/gateway-js/CHANGELOG.md) on the `main` branch of this repo. ## vNEXT -> The changes noted within this `vNEXT` section have not been released yet. New PRs and commits which introduce changes should include an entry in this `vNEXT` section as part of their development. When a release is being prepared, a new header will be (manually) -- Nothing yet! Stay tuned. +- Expand support for Node.js v18 [PR #1884](https://github.com/apollographql/federation/pull/1884) ## v0.51.0 diff --git a/gateway-js/package.json b/gateway-js/package.json index 2f20b9fb1..e53ec0a6d 100644 --- a/gateway-js/package.json +++ b/gateway-js/package.json @@ -18,7 +18,7 @@ "apollo" ], "engines": { - "node": ">=12.13.0 <18.0" + "node": ">=12.13.0" }, "license": "MIT", "publishConfig": { @@ -28,7 +28,7 @@ "@apollo/core-schema": "^0.2.0", "@apollo/federation": "file:../federation-js", "@apollo/query-planner": "file:../query-planner-js", - "@apollo/utils.createhash": "^1.0.0", + "@apollo/utils.createhash": "^1.1.0", "@apollo/utils.fetcher": "^1.0.0", "@apollo/utils.logger": "^1.0.0", "@josephg/resolvable": "^1.0.1", diff --git a/package-lock.json b/package-lock.json index b078a5127..aa410360b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -55,7 +55,7 @@ "winston-transport": "4.5.0" }, "engines": { - "node": ">=12.13.0 <18.0", + "node": ">=12.13.0", "npm": ">=7 <9" } }, @@ -81,7 +81,7 @@ "lodash.xorby": "^4.7.0" }, "engines": { - "node": ">=12.13.0 <18.0" + "node": ">=12.13.0" }, "peerDependencies": { "graphql": "^15.8.0 || ^16.0.0" @@ -95,7 +95,7 @@ "@apollo/core-schema": "^0.2.0", "@apollo/federation": "file:../federation-js", "@apollo/query-planner": "file:../query-planner-js", - "@apollo/utils.createhash": "^1.0.0", + "@apollo/utils.createhash": "^1.1.0", "@apollo/utils.fetcher": "^1.0.0", "@apollo/utils.logger": "^1.0.0", "@josephg/resolvable": "^1.0.1", @@ -112,7 +112,7 @@ "pretty-format": "^27.4.6" }, "engines": { - "node": ">=12.13.0 <18.0" + "node": ">=12.13.0" }, "peerDependencies": { "graphql": "^15.8.0 || ^16.0.0" @@ -190,6 +190,9 @@ }, "engines": { "node": ">=6.0.0" + }, + "peerDependencies": { + "graphql": "^16.0.0" } }, "node_modules/@apollo/client": { @@ -20669,6 +20672,23 @@ "zen-observable": "0.8.15" } }, + "query-graphs-js": { + "name": "@apollo/query-graphs", + "version": "2.0.5", + "extraneous": true, + "license": "SEE LICENSE IN ./LICENSE", + "dependencies": { + "@apollo/federation-internals": "file:../internals-js", + "deep-equal": "^2.0.5", + "ts-graphviz": "^0.16.0" + }, + "engines": { + "node": ">=12.13.0" + }, + "peerDependencies": { + "graphql": "^16.0.0" + } + }, "query-planner-js": { "name": "@apollo/query-planner", "version": "0.10.2", @@ -20679,7 +20699,7 @@ "pretty-format": "^27.4.6" }, "engines": { - "node": ">=12.13.0 <18.0" + "node": ">=12.13.0" }, "peerDependencies": { "graphql": "^15.8.0 || ^16.0.0" @@ -20690,7 +20710,7 @@ "version": "0.4.2", "license": "MIT", "engines": { - "node": ">=12.13.0 <18.0" + "node": ">=12.13.0" }, "peerDependencies": { "graphql": "^15.8.0 || ^16.0.0" @@ -20748,7 +20768,7 @@ "@apollo/core-schema": "^0.2.0", "@apollo/federation": "file:../federation-js", "@apollo/query-planner": "file:../query-planner-js", - "@apollo/utils.createhash": "^1.0.0", + "@apollo/utils.createhash": "^1.1.0", "@apollo/utils.fetcher": "^1.0.0", "@apollo/utils.logger": "^1.0.0", "@josephg/resolvable": "^1.0.1", diff --git a/package.json b/package.json index 5ce3087fc..62fd8d931 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "codegen:check": "npm run codegen && git diff --exit-code" }, "engines": { - "node": ">=12.13.0 <18.0", + "node": ">=12.13.0", "npm": ">=7 <9" }, "dependencies": { diff --git a/query-planner-js/CHANGELOG.md b/query-planner-js/CHANGELOG.md index f717a8452..cbfc69c2c 100644 --- a/query-planner-js/CHANGELOG.md +++ b/query-planner-js/CHANGELOG.md @@ -4,9 +4,7 @@ This CHANGELOG pertains only to Apollo Federation packages in the `0.x` range. T ## vNEXT -> The changes noted within this `vNEXT` section have not been released yet. New PRs and commits which introduce changes should include an entry in this `vNEXT` section as part of their development. When a release is being prepared, a new header will be (manually) created below and the appropriate changes within that release will be moved into the new section. - -- _Nothing yet! Stay tuned._ +- Expand support for Node.js v18 [PR #1884](https://github.com/apollographql/federation/pull/1884) ## v0.10.2 diff --git a/query-planner-js/package.json b/query-planner-js/package.json index abea1f67f..666e28858 100644 --- a/query-planner-js/package.json +++ b/query-planner-js/package.json @@ -18,7 +18,7 @@ "apollo" ], "engines": { - "node": ">=12.13.0 <18.0" + "node": ">=12.13.0" }, "license": "MIT", "publishConfig": { diff --git a/subgraph-js/CHANGELOG.md b/subgraph-js/CHANGELOG.md index 3a4d93dd2..fb7bfd081 100644 --- a/subgraph-js/CHANGELOG.md +++ b/subgraph-js/CHANGELOG.md @@ -4,9 +4,7 @@ This CHANGELOG pertains only to Apollo Federation packages in the `0.x` range. T ## vNEXT -> The changes noted within this `vNEXT` section have not been released yet. New PRs and commits which introduce changes should include an entry in this `vNEXT` section as part of their development. When a release is being prepared, a new header will be (manually) created below and the appropriate changes within that release will be moved into the new section. - -- Nothing yet! Stay tuned. +- Expand support for Node.js v18 [PR #1884](https://github.com/apollographql/federation/pull/1884) ## v0.4.2 diff --git a/subgraph-js/package.json b/subgraph-js/package.json index 981ee9496..683f35d5c 100644 --- a/subgraph-js/package.json +++ b/subgraph-js/package.json @@ -18,7 +18,7 @@ "author": "Apollo ", "license": "MIT", "engines": { - "node": ">=12.13.0 <18.0" + "node": ">=12.13.0" }, "publishConfig": { "access": "public"