@graphql-hive/gateway 2.0.0-next-38d601a82253147a4bfe657c7eee418d25c183b6 → 2.0.1-alpha-2405d0c4826ba0c05c4335bdc5e88817c4b20b80
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 -30
- package/dist/bin.cjs +1 -1
- package/dist/bin.js +1 -1
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
@@ -1,21 +1,28 @@
|
|
1
1
|
# @graphql-hive/gateway
|
2
2
|
|
3
|
-
## 2.0.
|
3
|
+
## 2.0.1-alpha-2405d0c4826ba0c05c4335bdc5e88817c4b20b80
|
4
|
+
### Patch Changes
|
5
|
+
|
6
|
+
- Updated dependencies [[`9fcf4a6`](https://github.com/graphql-hive/gateway/commit/9fcf4a631592e4b3db46da8543e840de2d97c535), [`8561cee`](https://github.com/graphql-hive/gateway/commit/8561cee07b36caa6aea9cb87f8940ba34dbf206a)]:
|
7
|
+
- @graphql-hive/plugin-opentelemetry@1.0.1-alpha-2405d0c4826ba0c05c4335bdc5e88817c4b20b80
|
8
|
+
- @graphql-mesh/plugin-jwt-auth@2.0.1-alpha-2405d0c4826ba0c05c4335bdc5e88817c4b20b80
|
9
|
+
|
10
|
+
## 2.0.0
|
4
11
|
### Major Changes
|
5
12
|
|
6
13
|
|
7
14
|
|
8
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
15
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Sane security defaults, max token and depths limits enabled by default
|
9
16
|
|
10
17
|
Max token limit defaults to 1000 (can be configured via `maxTokens` option) and max depth limit defaults to 8 (can be configured via `maxDepth` option).
|
11
18
|
|
12
19
|
|
13
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
20
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Drop Node 18 support
|
14
21
|
|
15
22
|
Least supported Node version is now v20.
|
16
23
|
|
17
24
|
|
18
|
-
- [#
|
25
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - `useDeduplicateRequest()` plugin has been removed in favour of the built-in inflight request deduplication
|
19
26
|
|
20
27
|
To migrate, simply remove the plugin from your configuration and you're good to go!
|
21
28
|
|
@@ -58,24 +65,24 @@
|
|
58
65
|
```
|
59
66
|
|
60
67
|
|
61
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
68
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Introduce and use the new Hive Logger
|
62
69
|
|
63
70
|
- [Read more about it on the Hive Logger documentation here.](https://the-guild.dev/graphql/hive/docs/logger)
|
64
71
|
|
65
72
|
- If coming from Hive Gateway v1, [read the migration guide here.](https://the-guild.dev/graphql/hive/docs/migration-guides/gateway-v1-v2)
|
66
73
|
|
67
74
|
|
68
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
75
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Disable forking even if NODE_ENV=production
|
69
76
|
|
70
77
|
Forking workers for concurrent processing is a delicate process and if not done carefully can lead to performance degradations. It should be configured with careful consideration by advanced users.
|
71
78
|
|
72
79
|
|
73
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
80
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Remove mocking plugin from Hive Gateway built-ins
|
74
81
|
|
75
82
|
There is no need to provide the `useMock` plugin alongside Hive Gateway built-ins. Not only is the mock plugin 2MB in size (minified), but installing and using it is very simple.
|
76
83
|
|
77
84
|
|
78
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
85
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Load schema on initialization
|
79
86
|
|
80
87
|
Failing to start if the schema is not loaded for whatever reason.
|
81
88
|
|
@@ -83,19 +90,19 @@
|
|
83
90
|
|
84
91
|
|
85
92
|
|
86
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
93
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - The `defineConfig` accepts a TContext generic
|
87
94
|
|
88
95
|
|
89
96
|
### Patch Changes
|
90
97
|
|
91
98
|
|
92
99
|
|
93
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
100
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
|
94
101
|
|
95
102
|
- Added dependency [`@graphql-hive/logger@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/logger/v/workspace:^) (to `dependencies`)
|
96
103
|
|
97
104
|
|
98
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
105
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
|
99
106
|
|
100
107
|
- Added dependency [`@opentelemetry/api@^1.9.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/api/v/1.9.0) (to `dependencies`)
|
101
108
|
- Added dependency [`@opentelemetry/context-zone@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/context-zone/v/2.0.1) (to `dependencies`)
|
@@ -108,24 +115,24 @@
|
|
108
115
|
- Added dependency [`@opentelemetry/sdk-metrics@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-metrics/v/2.0.1) (to `dependencies`)
|
109
116
|
|
110
117
|
|
111
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
118
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
|
112
119
|
|
113
120
|
- Added dependency [`@opentelemetry/api-logs@^0.202.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/api-logs/v/0.202.0) (to `dependencies`)
|
114
121
|
- Added dependency [`@opentelemetry/sdk-logs@^0.202.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-logs/v/0.202.0) (to `dependencies`)
|
115
122
|
|
116
123
|
|
117
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
124
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
|
118
125
|
|
119
126
|
- Added dependency [`@opentelemetry/context-async-hooks@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/context-async-hooks/v/2.0.1) (to `dependencies`)
|
120
127
|
- Added dependency [`@opentelemetry/sdk-trace-base@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-trace-base/v/2.0.1) (to `dependencies`)
|
121
128
|
|
122
129
|
|
123
|
-
- [#
|
130
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
|
124
131
|
|
125
132
|
- Removed dependency [`@graphql-hive/plugin-deduplicate-request@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/plugin-deduplicate-request/v/workspace:^) (from `dependencies`)
|
126
133
|
|
127
134
|
|
128
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
135
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
|
129
136
|
|
130
137
|
- Added dependency [`@graphql-hive/logger@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/logger/v/workspace:^) (to `dependencies`)
|
131
138
|
- Added dependency [`@graphql-hive/plugin-opentelemetry@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/plugin-opentelemetry/v/workspace:^) (to `dependencies`)
|
@@ -147,21 +154,21 @@
|
|
147
154
|
- Removed dependency [`@graphql-mesh/plugin-opentelemetry@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-opentelemetry/v/workspace:^) (from `dependencies`)
|
148
155
|
|
149
156
|
|
150
|
-
- [#
|
151
|
-
|
152
|
-
- Updated dependencies [[`
|
153
|
-
- @graphql-hive/gateway-runtime@2.0.0
|
154
|
-
- @graphql-hive/plugin-opentelemetry@1.0.0
|
155
|
-
- @graphql-hive/pubsub@2.0.0
|
156
|
-
- @graphql-mesh/plugin-prometheus@2.0.0
|
157
|
-
- @graphql-mesh/hmac-upstream-signature@2.0.0
|
158
|
-
- @graphql-mesh/transport-http-callback@1.0.0
|
159
|
-
- @graphql-hive/plugin-aws-sigv4@2.0.0
|
160
|
-
- @graphql-mesh/plugin-jwt-auth@2.0.0
|
161
|
-
- @graphql-mesh/transport-http@1.0.0
|
162
|
-
- @graphql-mesh/transport-ws@2.0.0
|
163
|
-
- @graphql-hive/importer@2.0.0
|
164
|
-
- @graphql-hive/logger@1.0.1
|
157
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Inflight request deduplication
|
158
|
+
|
159
|
+
- Updated dependencies [[`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a)]:
|
160
|
+
- @graphql-hive/gateway-runtime@2.0.0
|
161
|
+
- @graphql-hive/plugin-opentelemetry@1.0.0
|
162
|
+
- @graphql-hive/pubsub@2.0.0
|
163
|
+
- @graphql-mesh/plugin-prometheus@2.0.0
|
164
|
+
- @graphql-mesh/hmac-upstream-signature@2.0.0
|
165
|
+
- @graphql-mesh/transport-http-callback@1.0.0
|
166
|
+
- @graphql-hive/plugin-aws-sigv4@2.0.0
|
167
|
+
- @graphql-mesh/plugin-jwt-auth@2.0.0
|
168
|
+
- @graphql-mesh/transport-http@1.0.0
|
169
|
+
- @graphql-mesh/transport-ws@2.0.0
|
170
|
+
- @graphql-hive/importer@2.0.0
|
171
|
+
- @graphql-hive/logger@1.0.1
|
165
172
|
|
166
173
|
## 1.16.5
|
167
174
|
### Patch Changes
|
package/dist/bin.cjs
CHANGED
@@ -28,7 +28,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
28
28
|
|
29
29
|
var module__default = /*#__PURE__*/_interopDefault(module$1);
|
30
30
|
|
31
|
-
globalThis.__VERSION__ = '2.0.
|
31
|
+
globalThis.__VERSION__ = '2.0.1-alpha-2405d0c4826ba0c05c4335bdc5e88817c4b20b80';
|
32
32
|
module__default.default.register("@graphql-hive/importer/hooks", {
|
33
33
|
parentURL: (
|
34
34
|
// @ts-ignore bob will complain when bundling for cjs
|
package/dist/bin.js
CHANGED
@@ -22,7 +22,7 @@ import '@graphql-tools/code-file-loader';
|
|
22
22
|
import '@graphql-tools/graphql-file-loader';
|
23
23
|
import '@graphql-tools/load';
|
24
24
|
|
25
|
-
globalThis.__VERSION__ = '2.0.
|
25
|
+
globalThis.__VERSION__ = '2.0.1-alpha-2405d0c4826ba0c05c4335bdc5e88817c4b20b80';
|
26
26
|
module.register("@graphql-hive/importer/hooks", {
|
27
27
|
parentURL: (
|
28
28
|
// @ts-ignore bob will complain when bundling for cjs
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@graphql-hive/gateway",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.1-alpha-2405d0c4826ba0c05c4335bdc5e88817c4b20b80",
|
4
4
|
"type": "module",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -83,27 +83,27 @@
|
|
83
83
|
"@escape.tech/graphql-armor-block-field-suggestions": "^3.0.0",
|
84
84
|
"@escape.tech/graphql-armor-max-depth": "^2.4.0",
|
85
85
|
"@escape.tech/graphql-armor-max-tokens": "^2.5.0",
|
86
|
-
"@graphql-hive/gateway-runtime": "2.0.0
|
87
|
-
"@graphql-hive/importer": "2.0.0
|
88
|
-
"@graphql-hive/logger": "1.0.1
|
89
|
-
"@graphql-hive/plugin-aws-sigv4": "2.0.0
|
90
|
-
"@graphql-hive/plugin-opentelemetry": "1.0.
|
91
|
-
"@graphql-hive/pubsub": "2.0.0
|
86
|
+
"@graphql-hive/gateway-runtime": "^2.0.0",
|
87
|
+
"@graphql-hive/importer": "^2.0.0",
|
88
|
+
"@graphql-hive/logger": "^1.0.1",
|
89
|
+
"@graphql-hive/plugin-aws-sigv4": "^2.0.0",
|
90
|
+
"@graphql-hive/plugin-opentelemetry": "1.0.1-alpha-2405d0c4826ba0c05c4335bdc5e88817c4b20b80",
|
91
|
+
"@graphql-hive/pubsub": "^2.0.0",
|
92
92
|
"@graphql-mesh/cache-cfw-kv": "^0.105.8",
|
93
93
|
"@graphql-mesh/cache-localforage": "^0.105.9",
|
94
94
|
"@graphql-mesh/cache-redis": "^0.104.8",
|
95
95
|
"@graphql-mesh/cache-upstash-redis": "^0.1.8",
|
96
96
|
"@graphql-mesh/cross-helpers": "^0.4.10",
|
97
|
-
"@graphql-mesh/hmac-upstream-signature": "2.0.0
|
97
|
+
"@graphql-mesh/hmac-upstream-signature": "^2.0.0",
|
98
98
|
"@graphql-mesh/plugin-http-cache": "^0.105.8",
|
99
99
|
"@graphql-mesh/plugin-jit": "^0.2.7",
|
100
|
-
"@graphql-mesh/plugin-jwt-auth": "2.0.
|
101
|
-
"@graphql-mesh/plugin-prometheus": "2.0.0
|
100
|
+
"@graphql-mesh/plugin-jwt-auth": "2.0.1-alpha-2405d0c4826ba0c05c4335bdc5e88817c4b20b80",
|
101
|
+
"@graphql-mesh/plugin-prometheus": "^2.0.0",
|
102
102
|
"@graphql-mesh/plugin-rate-limit": "^0.104.7",
|
103
103
|
"@graphql-mesh/plugin-snapshot": "^0.104.7",
|
104
|
-
"@graphql-mesh/transport-http": "1.0.0
|
105
|
-
"@graphql-mesh/transport-http-callback": "1.0.0
|
106
|
-
"@graphql-mesh/transport-ws": "2.0.0
|
104
|
+
"@graphql-mesh/transport-http": "^1.0.0",
|
105
|
+
"@graphql-mesh/transport-http-callback": "^1.0.0",
|
106
|
+
"@graphql-mesh/transport-ws": "^2.0.0",
|
107
107
|
"@graphql-mesh/types": "^0.104.8",
|
108
108
|
"@graphql-mesh/utils": "^0.104.11",
|
109
109
|
"@graphql-tools/code-file-loader": "^8.1.22",
|
@@ -132,7 +132,7 @@
|
|
132
132
|
"ws": "^8.18.3"
|
133
133
|
},
|
134
134
|
"devDependencies": {
|
135
|
-
"@graphql-mesh/transport-common": "1.0.0
|
135
|
+
"@graphql-mesh/transport-common": "^1.0.0",
|
136
136
|
"@graphql-mesh/transport-soap": "^0.10.8",
|
137
137
|
"@graphql-tools/executor": "^1.4.9",
|
138
138
|
"@rollup/plugin-commonjs": "^28.0.0",
|