Skip to content

Commit 032d4c9

Browse files
authored
Merge pull request #103 from mdoleh/federation-package-upgrade
[SPXCORE-19] Upgrade federation for Node 18 compatibility
2 parents 1f5233b + 2ccb5ea commit 032d4c9

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
node-version: [12.x]
13+
node-version: [18.x]
1414
steps:
1515
- uses: actions/checkout@v2
1616
- name: Use Node.js ${{ matrix.node-version }}

CHANGELOG.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
### v4.0.0
2+
3+
- Updated @apollo/federation dependency for Node 18 compatibility.
4+
- Drop Node 12 compatibility.
5+
16
### v3.1.0
27

38
- Updated graphql-tools dependency to fix security vulnerabilities
@@ -10,7 +15,7 @@
1015

1116
- [FIXED] - imported components directives are merged into final schema
1217

13-
### v3.0.2
18+
### v3.0.2
1419

1520
- schema pruning and remove broken makeExecutableSchema override
1621

@@ -41,7 +46,7 @@
4146

4247
### v2.1.4
4348

44-
- [REVERT] - reverting both fixes in [2.1.2](https://github.com/ExpediaGroup/graphql-component/releases/tag/v2.1.2). The change made to unify exclusions and return pre-computed results from non-root resolvers resulted in non-root resolvers not executing when they should have. Being able to exclude non-root resolvers (not their types) is a valid work around in certain situations.
49+
- [REVERT] - reverting both fixes in [2.1.2](https://github.com/ExpediaGroup/graphql-component/releases/tag/v2.1.2). The change made to unify exclusions and return pre-computed results from non-root resolvers resulted in non-root resolvers not executing when they should have. Being able to exclude non-root resolvers (not their types) is a valid work around in certain situations.
4550

4651
### v2.1.3
4752

@@ -72,7 +77,7 @@
7277
### v2.0.3
7378

7479
- [FIXED] individual field exclusions during import - individual field exclusions will no longer modify the original resolver map that is being imported.
75-
- [FIXED] tightened up argument forwarding when using `delegateToComponent()` - only arguments the target field is expecting will be extracted from the calling resolver or from the `args` object provided to `delegateToComponent()` depending on the situation. Previously, there were some unintended argument leakage in certain edge cases.
80+
- [FIXED] tightened up argument forwarding when using `delegateToComponent()` - only arguments the target field is expecting will be extracted from the calling resolver or from the `args` object provided to `delegateToComponent()` depending on the situation. Previously, there were some unintended argument leakage in certain edge cases.
7681

7782
### v2.0.2
7883

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graphql-component",
3-
"version": "3.1.0",
3+
"version": "4.0.0",
44
"description": "Build, customize and compose GraphQL schemas in a componentized fashion",
55
"keywords": [
66
"graphql",
@@ -21,7 +21,7 @@
2121
"repository": "https://github.com/ExpediaGroup/graphql-component",
2222
"license": "MIT",
2323
"dependencies": {
24-
"@apollo/federation": "^0.28.0",
24+
"@apollo/federation": "^0.38.1",
2525
"@graphql-tools/delegate": "^8.8.1",
2626
"@graphql-tools/merge": "^8.3.1",
2727
"@graphql-tools/mock": "^8.7.1",

0 commit comments

Comments
 (0)