@graphql-hive/gateway-testing 13.0.0 → 14.0.0-alpha-976e61c8f0321cf497115e464b49c825fc41b3bc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +37 -0
- package/dist/index.cjs +3 -2
- package/dist/index.js +2 -1
- package/package.json +9 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,42 @@
|
|
|
1
1
|
# @graphql-hive/gateway-testing
|
|
2
2
|
|
|
3
|
+
## 14.0.0-alpha-976e61c8f0321cf497115e464b49c825fc41b3bc
|
|
4
|
+
### Major Changes
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
- [#2670](https://github.com/graphql-hive/gateway/pull/2670) [`dee3325`](https://github.com/graphql-hive/gateway/commit/dee3325b77c5d59138579ca2383811a3d05c54f3) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Drop GraphQL v15 (and older) support. Only GraphQL v16 and v17 are supported now.
|
|
9
|
+
|
|
10
|
+
Upgrade to `graphql@^16` or `graphql@^17`. Hive Gateway packages require `graphql@^16.9.0` or later.
|
|
11
|
+
|
|
12
|
+
`@graphql-tools/stitch` no longer reads legacy `#` comment descriptions (`commentDescriptions`, removed in GraphQL v16) from type definitions; use string descriptions (`"""..."""`) instead.
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
- [#2670](https://github.com/graphql-hive/gateway/pull/2670) [`b321f84`](https://github.com/graphql-hive/gateway/commit/b321f84424a85d3227972dc0a139c131d9606b9c) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Drop Node.js 20 support. The minimum supported Node.js version is now 22.15.0.
|
|
16
|
+
|
|
17
|
+
Upgrade to Node.js 22.15.0 or later.
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
- [#2670](https://github.com/graphql-hive/gateway/pull/2670) [`eb2caed`](https://github.com/graphql-hive/gateway/commit/eb2caed8b1fa7d289bd5081e112a2e9ab2fbf0ce) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates:
|
|
24
|
+
|
|
25
|
+
- Updated dependency [`@graphql-mesh/fusion-composition@^0.11.4` ↗︎](https://www.npmjs.com/package/@graphql-mesh/fusion-composition/v/0.11.4) (from `^0.11.2`, in `dependencies`)
|
|
26
|
+
- Updated dependency [`@graphql-tools/utils@^13.2.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/13.2.2) (from `^12.1.0`, in `dependencies`)
|
|
27
|
+
- Updated dependency [`graphql-yoga@^6.0.1` ↗︎](https://www.npmjs.com/package/graphql-yoga/v/6.0.1) (from `^5.21.1`, in `dependencies`)
|
|
28
|
+
- Added dependency [`@whatwg-node/disposablestack@^0.0.6` ↗︎](https://www.npmjs.com/package/@whatwg-node/disposablestack/v/0.0.6) (to `dependencies`)
|
|
29
|
+
- Updated dependency [`graphql@^16.9.0 || ^17.0.0` ↗︎](https://www.npmjs.com/package/graphql/v/16.9.0) (from `^15.9.0 || ^16.9.0`, in `peerDependencies`)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
- [#2707](https://github.com/graphql-hive/gateway/pull/2707) [`90136f8`](https://github.com/graphql-hive/gateway/commit/90136f87eb55b23f73f85925f01e9ecf365206cf) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates:
|
|
33
|
+
|
|
34
|
+
- Updated dependency [`@graphql-mesh/fusion-composition@^0.11.4` ↗︎](https://www.npmjs.com/package/@graphql-mesh/fusion-composition/v/0.11.4) (from `^0.11.2`, in `dependencies`)
|
|
35
|
+
- Updated dependency [`graphql-yoga@^6.0.1` ↗︎](https://www.npmjs.com/package/graphql-yoga/v/6.0.1) (from `^6.0.0`, in `dependencies`)
|
|
36
|
+
- Updated dependencies [[`eb2caed`](https://github.com/graphql-hive/gateway/commit/eb2caed8b1fa7d289bd5081e112a2e9ab2fbf0ce), [`90136f8`](https://github.com/graphql-hive/gateway/commit/90136f87eb55b23f73f85925f01e9ecf365206cf), [`cbfbe8f`](https://github.com/graphql-hive/gateway/commit/cbfbe8f3c9e0ed1ed63feac1328e5a422cf9b7d0), [`90136f8`](https://github.com/graphql-hive/gateway/commit/90136f87eb55b23f73f85925f01e9ecf365206cf), [`dee3325`](https://github.com/graphql-hive/gateway/commit/dee3325b77c5d59138579ca2383811a3d05c54f3), [`4145a72`](https://github.com/graphql-hive/gateway/commit/4145a7279b9a8e16f48543936f0f700dc3e7ce1d), [`adf364a`](https://github.com/graphql-hive/gateway/commit/adf364a4f0cd6b627bdae25de4df052f9ec79bf9), [`4145a72`](https://github.com/graphql-hive/gateway/commit/4145a7279b9a8e16f48543936f0f700dc3e7ce1d), [`b321f84`](https://github.com/graphql-hive/gateway/commit/b321f84424a85d3227972dc0a139c131d9606b9c), [`965bb72`](https://github.com/graphql-hive/gateway/commit/965bb726d5e6a7e69815c1081629e0fdd55f3cfe), [`4145a72`](https://github.com/graphql-hive/gateway/commit/4145a7279b9a8e16f48543936f0f700dc3e7ce1d), [`4145a72`](https://github.com/graphql-hive/gateway/commit/4145a7279b9a8e16f48543936f0f700dc3e7ce1d), [`4145a72`](https://github.com/graphql-hive/gateway/commit/4145a7279b9a8e16f48543936f0f700dc3e7ce1d)]:
|
|
37
|
+
- @graphql-hive/gateway-runtime@3.0.0-alpha-976e61c8f0321cf497115e464b49c825fc41b3bc
|
|
38
|
+
- @graphql-tools/executor-http@4.0.0-alpha-976e61c8f0321cf497115e464b49c825fc41b3bc
|
|
39
|
+
|
|
3
40
|
## 13.0.0
|
|
4
41
|
### Patch Changes
|
|
5
42
|
|
package/dist/index.cjs
CHANGED
|
@@ -4,6 +4,7 @@ var subgraph = require('@apollo/subgraph');
|
|
|
4
4
|
var gatewayRuntime = require('@graphql-hive/gateway-runtime');
|
|
5
5
|
var fusionComposition = require('@graphql-mesh/fusion-composition');
|
|
6
6
|
var executorHttp = require('@graphql-tools/executor-http');
|
|
7
|
+
var disposablestack = require('@whatwg-node/disposablestack');
|
|
7
8
|
var graphql = require('graphql');
|
|
8
9
|
var graphqlYoga = require('graphql-yoga');
|
|
9
10
|
|
|
@@ -124,8 +125,8 @@ function createGatewayTester(config) {
|
|
|
124
125
|
rootValue: { headers: args.headers }
|
|
125
126
|
});
|
|
126
127
|
},
|
|
127
|
-
[
|
|
128
|
-
return runtime[
|
|
128
|
+
[disposablestack.DisposableSymbols.asyncDispose]() {
|
|
129
|
+
return runtime[disposablestack.DisposableSymbols.asyncDispose]();
|
|
129
130
|
},
|
|
130
131
|
async dispose() {
|
|
131
132
|
await runtime.dispose();
|
package/dist/index.js
CHANGED
|
@@ -2,8 +2,9 @@ import { buildSubgraphSchema } from '@apollo/subgraph';
|
|
|
2
2
|
import { createGatewayRuntime, useCustomFetch } from '@graphql-hive/gateway-runtime';
|
|
3
3
|
import { getUnifiedGraphGracefully } from '@graphql-mesh/fusion-composition';
|
|
4
4
|
import { buildHTTPExecutor } from '@graphql-tools/executor-http';
|
|
5
|
+
import { DisposableSymbols } from '@whatwg-node/disposablestack';
|
|
5
6
|
import { parse } from 'graphql';
|
|
6
|
-
import {
|
|
7
|
+
import { createYoga } from 'graphql-yoga';
|
|
7
8
|
|
|
8
9
|
function getEnvStr(key, opts = {}) {
|
|
9
10
|
const globalThat = opts.globalThis ?? globalThis;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-hive/gateway-testing",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.0-alpha-976e61c8f0321cf497115e464b49c825fc41b3bc",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"engines": {
|
|
17
|
-
"node": ">=
|
|
17
|
+
"node": ">=22.15.0"
|
|
18
18
|
},
|
|
19
19
|
"main": "./dist/index.js",
|
|
20
20
|
"types": "./dist/index.d.ts",
|
|
@@ -39,15 +39,16 @@
|
|
|
39
39
|
"prepack": "yarn build"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@graphql-hive/gateway-runtime": "
|
|
43
|
-
"graphql": "^
|
|
42
|
+
"@graphql-hive/gateway-runtime": "3.0.0-alpha-976e61c8f0321cf497115e464b49c825fc41b3bc",
|
|
43
|
+
"graphql": "^16.9.0 || ^17.0.0"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@apollo/subgraph": "^2.13.3",
|
|
47
|
-
"@graphql-mesh/fusion-composition": "^0.11.
|
|
48
|
-
"@graphql-tools/executor-http": "
|
|
49
|
-
"@graphql-tools/utils": "^
|
|
50
|
-
"
|
|
47
|
+
"@graphql-mesh/fusion-composition": "^0.11.4",
|
|
48
|
+
"@graphql-tools/executor-http": "4.0.0-alpha-976e61c8f0321cf497115e464b49c825fc41b3bc",
|
|
49
|
+
"@graphql-tools/utils": "^13.2.2",
|
|
50
|
+
"@whatwg-node/disposablestack": "^0.0.6",
|
|
51
|
+
"graphql-yoga": "^6.0.1"
|
|
51
52
|
},
|
|
52
53
|
"devDependencies": {
|
|
53
54
|
"graphql": "^16.12.0",
|