Skip to content

Commit 0bdbb5c

Browse files
authored
Remove node12 support and bump circle build images (#2202)
* Dropping support for Node 12. Also bumping the circle build images to latest * update node dependencies in package files
1 parent 1e2dab3 commit 0bdbb5c

16 files changed

Lines changed: 31 additions & 35 deletions

File tree

.circleci/config.yml

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ jobs:
3535
# The docker tag represents the Node.js version and the full list is available
3636
# at https://hub.docker.com/r/circleci/node/.
3737

38-
NodeJS 12:
38+
NodeJS 14:
3939
docker:
40-
- image: cimg/node:12.22
40+
- image: cimg/node:14.20
4141
steps:
4242
- common_test_steps
4343
# We will save the results of this one particular invocation to use in
@@ -50,28 +50,22 @@ jobs:
5050
paths:
5151
- ./**
5252

53-
NodeJS 14:
54-
docker:
55-
- image: cimg/node:14.19
56-
steps:
57-
- common_test_steps
58-
5953
NodeJS 16:
6054
docker:
61-
- image: cimg/node:16.15
55+
- image: cimg/node:16.18
6256
steps:
6357
- common_test_steps
6458

6559
NodeJS 18:
6660
docker:
67-
- image: cimg/node:18.2.0
61+
- image: cimg/node:18.11.0
6862
steps:
6963
- common_test_steps
7064

7165
GraphQL Types:
7266
description: "Assert generated GraphQL types are up to date"
7367
docker:
74-
- image: cimg/node:16.15
68+
- image: cimg/node:16.18
7569
steps:
7670
- checkout
7771
- oss/npm_clean_install_with_caching
@@ -81,7 +75,7 @@ jobs:
8175
Error code Doc:
8276
description: "Ensure the error code documentation is up to date"
8377
docker:
84-
- image: cimg/node:16.15
78+
- image: cimg/node:16.18
8579
steps:
8680
- checkout
8781
- oss/npm_clean_install_with_caching
@@ -91,7 +85,7 @@ jobs:
9185
Hints code Doc:
9286
description: "Ensure the hints code documentation is up to date"
9387
docker:
94-
- image: cimg/node:16.15
88+
- image: cimg/node:16.18
9589
steps:
9690
- checkout
9791
- oss/npm_clean_install_with_caching
@@ -121,9 +115,6 @@ workflows:
121115
version: 2
122116
Build:
123117
jobs:
124-
- NodeJS 12:
125-
name: "JS: Node 12"
126-
<<: *common_non_publish_filters
127118
- NodeJS 14:
128119
name: "JS: Node 14"
129120
<<: *common_non_publish_filters
@@ -146,7 +137,6 @@ workflows:
146137
name: "JS: Package tarballs"
147138
<<: *common_non_publish_filters
148139
requires:
149-
- "JS: Node 12"
150140
- "JS: Node 14"
151141
- "JS: Node 16"
152142
- "JS: Node 18"
@@ -156,7 +146,6 @@ workflows:
156146
name: "JS: Dry-run"
157147
<<: *common_publish_filters
158148
requires:
159-
- "JS: Node 12"
160149
- "JS: Node 14"
161150
- "JS: Node 16"
162151
- "JS: Node 18"

composition-js/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ This CHANGELOG pertains only to Apollo Federation packages in the 2.x range. The
66

77
- Improves error message to help with misspelled source of an `@override` [PR #2181](https://github.com/apollographql/federation/pull/2181).
88
- Provide support for marking @external on object type [PR #2214](https://github.com/apollographql/federation/pull/2214)
9+
- Drop support for node12 [PR #2202](https://github.com/apollographql/federation/pull/2202)
910

1011
## 2.1.2
1112

composition-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"author": "Apollo <packages@apollographql.com>",
2222
"license": "SEE LICENSE IN ./LICENSE",
2323
"engines": {
24-
"node": ">=12.13.0"
24+
"node": ">=14.15.0"
2525
},
2626
"publishConfig": {
2727
"access": "public"

gateway-js/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ This CHANGELOG pertains only to Apollo Federation packages in the 2.x range. The
1313
- Optimize plan for defer where only keys are fetched [PR #2182](https://github.com/apollographql/federation/pull/2182).
1414
- Improves error message to help with misspelled source of an `@override` [PR #2181](https://github.com/apollographql/federation/pull/2181).
1515
- Fix validation of variable on input field not taking default into account [PR #2176](https://github.com/apollographql/federation/pull/2176).
16+
- Drop support for node12 [PR #2202](https://github.com/apollographql/federation/pull/2202)
1617

1718
## 2.1.3
1819

gateway-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"apollo"
1919
],
2020
"engines": {
21-
"node": ">=12.13.0"
21+
"node": ">=14.15.0"
2222
},
2323
"license": "SEE LICENSE IN ./LICENSE",
2424
"publishConfig": {

internals-js/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- Ensures supergraph `@defer`/`@stream` definitions of supergraph are not included in the API schema [PR #2212](https://github.com/apollographql/federation/pull/2212).
66
- Fix validation of variable on input field not taking default into account [PR #2176](https://github.com/apollographql/federation/pull/2176).
77
- Provide support for marking @external on object type [PR #2214](https://github.com/apollographql/federation/pull/2214)
8+
- Drop support for node12 [PR #2202](https://github.com/apollographql/federation/pull/2202)
89

910
## 2.1.0
1011

internals-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"author": "Apollo <packages@apollographql.com>",
2121
"license": "SEE LICENSE IN ./LICENSE",
2222
"engines": {
23-
"node": ">=12.13.0"
23+
"node": ">=14.15.0"
2424
},
2525
"dependencies": {
2626
"chalk": "^4.1.0",

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"hints-doc:check": "npm run hints-doc && git diff --exit-code"
2828
},
2929
"engines": {
30-
"node": ">=12.13.0",
30+
"node": ">=14.15.0",
3131
"npm": ">=7 <9"
3232
},
3333
"dependencies": {

query-graphs-js/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## vNext
44

5+
- Drop support for node12 [PR #2202](https://github.com/apollographql/federation/pull/2202)
6+
57
## 2.1.0
68

79
- Fix abnormally high memory usage when extracting subgraphs for some fed1 supergraphs (and small other memory footprint improvements) [PR #2089](https://github.com/apollographql/federation/pull/2089).

0 commit comments

Comments
 (0)