@graphql-mesh/plugin-jwt-auth 1.5.3 → 1.5.4-alpha-e65b24fb75937f0f9376611da3af4e28a4b0200e
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 +637 -0
- package/dist/index.cjs +86 -0
- package/dist/index.d.cts +332 -0
- package/dist/index.d.ts +332 -0
- package/dist/index.js +61 -0
- package/package.json +41 -29
- package/cjs/index.js +0 -65
- package/cjs/package.json +0 -1
- package/esm/index.js +0 -55
- package/typings/index.d.cts +0 -28
- package/typings/index.d.ts +0 -28
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,637 @@
|
|
|
1
|
+
# @graphql-mesh/plugin-jwt-auth
|
|
2
|
+
|
|
3
|
+
## 1.5.4-alpha-e65b24fb75937f0f9376611da3af4e28a4b0200e
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1057](https://github.com/graphql-hive/gateway/pull/1057) [`0b4e63c`](https://github.com/graphql-hive/gateway/commit/0b4e63cc2df81cfa95e0672048ef241b0060d78d) Thanks [@enisdenjo](https://github.com/enisdenjo)! - No code changes, the plugin has been moved from Mesh Compose to Hive Gateway
|
|
8
|
+
|
|
9
|
+
## 1.5.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#8615](https://github.com/ardatan/graphql-mesh/pull/8615)
|
|
14
|
+
[`0af3d0c`](https://github.com/ardatan/graphql-mesh/commit/0af3d0c77a0226b4f2339ba46012b3e00c13e65c)
|
|
15
|
+
Thanks [@enisdenjo](https://github.com/enisdenjo)! - Update graphql-yoga and whatwg-node packages
|
|
16
|
+
|
|
17
|
+
In light of https://github.com/ardatan/whatwg-node/pull/2305. Please upgrade as soon as possible!
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
[[`0af3d0c`](https://github.com/ardatan/graphql-mesh/commit/0af3d0c77a0226b4f2339ba46012b3e00c13e65c),
|
|
21
|
+
[`0af3d0c`](https://github.com/ardatan/graphql-mesh/commit/0af3d0c77a0226b4f2339ba46012b3e00c13e65c)]:
|
|
22
|
+
- @graphql-mesh/utils@0.104.3
|
|
23
|
+
- @graphql-mesh/types@0.104.3
|
|
24
|
+
|
|
25
|
+
## 1.5.2
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- Updated dependencies
|
|
30
|
+
[[`1b5d072`](https://github.com/ardatan/graphql-mesh/commit/1b5d07211e2e67bc939f1def3d19c45a7a4eb28b)]:
|
|
31
|
+
- @graphql-mesh/utils@0.104.2
|
|
32
|
+
- @graphql-mesh/types@0.104.2
|
|
33
|
+
|
|
34
|
+
## 1.5.1
|
|
35
|
+
|
|
36
|
+
### Patch Changes
|
|
37
|
+
|
|
38
|
+
- Updated dependencies
|
|
39
|
+
[[`b6c083c`](https://github.com/ardatan/graphql-mesh/commit/b6c083ce9e9305874cf847246fefda3fe068e8b4),
|
|
40
|
+
[`f416982`](https://github.com/ardatan/graphql-mesh/commit/f4169823bce2abf093bd53249d1d1208ea459a5d)]:
|
|
41
|
+
- @graphql-mesh/utils@0.104.1
|
|
42
|
+
- @graphql-mesh/types@0.104.1
|
|
43
|
+
|
|
44
|
+
## 1.5.0
|
|
45
|
+
|
|
46
|
+
### Patch Changes
|
|
47
|
+
|
|
48
|
+
- Updated dependencies
|
|
49
|
+
[[`4528794`](https://github.com/ardatan/graphql-mesh/commit/45287948dbfbe07c3f60f9c36253099c549207d9),
|
|
50
|
+
[`4528794`](https://github.com/ardatan/graphql-mesh/commit/45287948dbfbe07c3f60f9c36253099c549207d9)]:
|
|
51
|
+
- @graphql-mesh/utils@0.104.0
|
|
52
|
+
- @graphql-mesh/types@0.104.0
|
|
53
|
+
|
|
54
|
+
## 1.4.11
|
|
55
|
+
|
|
56
|
+
### Patch Changes
|
|
57
|
+
|
|
58
|
+
- Updated dependencies
|
|
59
|
+
[[`903124f`](https://github.com/ardatan/graphql-mesh/commit/903124f8245a518aac50ef8d0eff2fef01a206f2)]:
|
|
60
|
+
- @graphql-mesh/utils@0.103.21
|
|
61
|
+
- @graphql-mesh/types@0.103.21
|
|
62
|
+
|
|
63
|
+
## 1.4.10
|
|
64
|
+
|
|
65
|
+
### Patch Changes
|
|
66
|
+
|
|
67
|
+
- Updated dependencies
|
|
68
|
+
[[`3f5e0a1`](https://github.com/ardatan/graphql-mesh/commit/3f5e0a13c8a07bd68ec19e4da94f34030cc7d3dc)]:
|
|
69
|
+
- @graphql-mesh/utils@0.103.20
|
|
70
|
+
- @graphql-mesh/types@0.103.20
|
|
71
|
+
|
|
72
|
+
## 1.4.9
|
|
73
|
+
|
|
74
|
+
### Patch Changes
|
|
75
|
+
|
|
76
|
+
- Updated dependencies
|
|
77
|
+
[[`d9cf1d3`](https://github.com/ardatan/graphql-mesh/commit/d9cf1d389c6d685a9d6cc50ff4be03380fd085f1)]:
|
|
78
|
+
- @graphql-mesh/types@0.103.19
|
|
79
|
+
- @graphql-mesh/utils@0.103.19
|
|
80
|
+
|
|
81
|
+
## 1.4.8
|
|
82
|
+
|
|
83
|
+
### Patch Changes
|
|
84
|
+
|
|
85
|
+
- Updated dependencies
|
|
86
|
+
[[`ab0863b`](https://github.com/ardatan/graphql-mesh/commit/ab0863ba367552e4b1ced1063ae7cb3a5f81b3b2)]:
|
|
87
|
+
- @graphql-mesh/utils@0.103.18
|
|
88
|
+
- @graphql-mesh/types@0.103.18
|
|
89
|
+
|
|
90
|
+
## 1.4.7
|
|
91
|
+
|
|
92
|
+
### Patch Changes
|
|
93
|
+
|
|
94
|
+
- Updated dependencies
|
|
95
|
+
[[`eee582a`](https://github.com/ardatan/graphql-mesh/commit/eee582a4cf78d8f7b0e303b522e6a97bd0ad4f2a)]:
|
|
96
|
+
- @graphql-mesh/utils@0.103.17
|
|
97
|
+
- @graphql-mesh/types@0.103.17
|
|
98
|
+
|
|
99
|
+
## 1.4.6
|
|
100
|
+
|
|
101
|
+
### Patch Changes
|
|
102
|
+
|
|
103
|
+
- Updated dependencies
|
|
104
|
+
[[`b44f8b7`](https://github.com/ardatan/graphql-mesh/commit/b44f8b7a413c8adb213b22fb8a243ca6aa06d2bd)]:
|
|
105
|
+
- @graphql-mesh/types@0.103.16
|
|
106
|
+
- @graphql-mesh/utils@0.103.16
|
|
107
|
+
|
|
108
|
+
## 1.4.5
|
|
109
|
+
|
|
110
|
+
### Patch Changes
|
|
111
|
+
|
|
112
|
+
- Updated dependencies
|
|
113
|
+
[[`b5c05c4`](https://github.com/ardatan/graphql-mesh/commit/b5c05c4c5862525c76d69e8c166e71378f69bda0)]:
|
|
114
|
+
- @graphql-mesh/types@0.103.15
|
|
115
|
+
- @graphql-mesh/utils@0.103.15
|
|
116
|
+
|
|
117
|
+
## 1.4.4
|
|
118
|
+
|
|
119
|
+
### Patch Changes
|
|
120
|
+
|
|
121
|
+
- Updated dependencies
|
|
122
|
+
[[`fc44a1e`](https://github.com/ardatan/graphql-mesh/commit/fc44a1e66c8bc8f27dc7e5e642031d17d75c0db8)]:
|
|
123
|
+
- @graphql-mesh/types@0.103.14
|
|
124
|
+
- @graphql-mesh/utils@0.103.14
|
|
125
|
+
|
|
126
|
+
## 1.4.3
|
|
127
|
+
|
|
128
|
+
### Patch Changes
|
|
129
|
+
|
|
130
|
+
- Updated dependencies
|
|
131
|
+
[[`ce5e094`](https://github.com/ardatan/graphql-mesh/commit/ce5e0941e5a9445a0844d7225cf950a813011e9a),
|
|
132
|
+
[`ce5e094`](https://github.com/ardatan/graphql-mesh/commit/ce5e0941e5a9445a0844d7225cf950a813011e9a)]:
|
|
133
|
+
- @graphql-mesh/types@0.103.13
|
|
134
|
+
- @graphql-mesh/utils@0.103.13
|
|
135
|
+
|
|
136
|
+
## 1.4.2
|
|
137
|
+
|
|
138
|
+
### Patch Changes
|
|
139
|
+
|
|
140
|
+
- Updated dependencies
|
|
141
|
+
[[`5180b06`](https://github.com/ardatan/graphql-mesh/commit/5180b068568042e764558a19194b8bae69354fe2),
|
|
142
|
+
[`c54e361`](https://github.com/ardatan/graphql-mesh/commit/c54e36110256541e03380b0d537085848169116b)]:
|
|
143
|
+
- @graphql-mesh/utils@0.103.12
|
|
144
|
+
- @graphql-mesh/types@0.103.12
|
|
145
|
+
|
|
146
|
+
## 1.4.1
|
|
147
|
+
|
|
148
|
+
### Patch Changes
|
|
149
|
+
|
|
150
|
+
- Updated dependencies
|
|
151
|
+
[[`3fc1f3e`](https://github.com/ardatan/graphql-mesh/commit/3fc1f3e046c02107d7fecf367756c7196fbe6ce1),
|
|
152
|
+
[`4011203`](https://github.com/ardatan/graphql-mesh/commit/40112034a2e248eda94883a39a3f8682189f4288)]:
|
|
153
|
+
- @graphql-mesh/types@0.103.11
|
|
154
|
+
- @graphql-mesh/utils@0.103.11
|
|
155
|
+
|
|
156
|
+
## 1.4.0
|
|
157
|
+
|
|
158
|
+
### Minor Changes
|
|
159
|
+
|
|
160
|
+
- [#8189](https://github.com/ardatan/graphql-mesh/pull/8189)
|
|
161
|
+
[`83a73ab`](https://github.com/ardatan/graphql-mesh/commit/83a73abef2c156c56d406b266d37fd78c6f4a3e9)
|
|
162
|
+
Thanks [@jjangga0214](https://github.com/jjangga0214)! -
|
|
163
|
+
[#3590](https://github.com/dotansimha/graphql-yoga/pull/3590) Do not throw when \`request\` is not
|
|
164
|
+
available in the context, it can be a WebSockets connection
|
|
165
|
+
|
|
166
|
+
- Export helper `extractFromConnectionParams` to get the token from WebSocket `connectionParams`
|
|
167
|
+
when GraphQL WS is used like
|
|
168
|
+
[here](https://the-guild.dev/graphql/yoga-server/docs/features/subscriptions#graphql-over-websocket-protocol-via-graphql-ws)
|
|
169
|
+
|
|
170
|
+
```ts
|
|
171
|
+
import {
|
|
172
|
+
defineConfig,
|
|
173
|
+
extractFromConnectionParams,
|
|
174
|
+
extractFromHeader,
|
|
175
|
+
useJWT,
|
|
176
|
+
} from '@graphql-hive/gateway';
|
|
177
|
+
|
|
178
|
+
export const gatewayConfig = defineConfig({
|
|
179
|
+
jwt: {
|
|
180
|
+
// So it will look for the token in the connectionParams.my-token field in case of a WebSockets connection
|
|
181
|
+
// It will check WS params and headers, and get the available one
|
|
182
|
+
lookupLocations: [
|
|
183
|
+
extractFromConnectionParams({ name: 'my-token' }),
|
|
184
|
+
extractFromHeader({ name: 'authorization', prefix: 'Bearer ' }),
|
|
185
|
+
],
|
|
186
|
+
},
|
|
187
|
+
});
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
## 1.3.10
|
|
191
|
+
|
|
192
|
+
### Patch Changes
|
|
193
|
+
|
|
194
|
+
- Updated dependencies
|
|
195
|
+
[[`b750a41`](https://github.com/ardatan/graphql-mesh/commit/b750a410c082d64a04f21023790f2ff2c46f5eb9)]:
|
|
196
|
+
- @graphql-mesh/utils@0.103.10
|
|
197
|
+
- @graphql-mesh/types@0.103.10
|
|
198
|
+
|
|
199
|
+
## 1.3.9
|
|
200
|
+
|
|
201
|
+
### Patch Changes
|
|
202
|
+
|
|
203
|
+
- Updated dependencies
|
|
204
|
+
[[`10ba2c4`](https://github.com/ardatan/graphql-mesh/commit/10ba2c42549dacff9c4e6be87ee50b608be62ddc)]:
|
|
205
|
+
- @graphql-mesh/utils@0.103.9
|
|
206
|
+
- @graphql-mesh/types@0.103.9
|
|
207
|
+
|
|
208
|
+
## 1.3.8
|
|
209
|
+
|
|
210
|
+
### Patch Changes
|
|
211
|
+
|
|
212
|
+
- Updated dependencies
|
|
213
|
+
[[`93fb364`](https://github.com/ardatan/graphql-mesh/commit/93fb3643d90c52084725d79b586ace8ecd570911)]:
|
|
214
|
+
- @graphql-mesh/utils@0.103.8
|
|
215
|
+
- @graphql-mesh/types@0.103.8
|
|
216
|
+
|
|
217
|
+
## 1.3.7
|
|
218
|
+
|
|
219
|
+
### Patch Changes
|
|
220
|
+
|
|
221
|
+
- Updated dependencies []:
|
|
222
|
+
- @graphql-mesh/types@0.103.7
|
|
223
|
+
- @graphql-mesh/utils@0.103.7
|
|
224
|
+
|
|
225
|
+
## 1.3.6
|
|
226
|
+
|
|
227
|
+
### Patch Changes
|
|
228
|
+
|
|
229
|
+
- [#8092](https://github.com/ardatan/graphql-mesh/pull/8092)
|
|
230
|
+
[`2ef651a`](https://github.com/ardatan/graphql-mesh/commit/2ef651a8356b560478f1847399bad975a0c3f0b9)
|
|
231
|
+
Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
|
|
232
|
+
- Added dependency
|
|
233
|
+
[`@graphql-mesh/types@^0.103.5` ↗︎](https://www.npmjs.com/package/@graphql-mesh/types/v/0.103.5)
|
|
234
|
+
(to `dependencies`)
|
|
235
|
+
- Added dependency
|
|
236
|
+
[`@graphql-mesh/utils@^0.103.5` ↗︎](https://www.npmjs.com/package/@graphql-mesh/utils/v/0.103.5)
|
|
237
|
+
(to `dependencies`)
|
|
238
|
+
- Added dependency [`tslib@^2.4.0` ↗︎](https://www.npmjs.com/package/tslib/v/2.4.0) (to
|
|
239
|
+
`dependencies`)
|
|
240
|
+
- Removed dependency
|
|
241
|
+
[`@graphql-mesh/types@^0.103.5` ↗︎](https://www.npmjs.com/package/@graphql-mesh/types/v/0.103.5)
|
|
242
|
+
(from `peerDependencies`)
|
|
243
|
+
- Removed dependency
|
|
244
|
+
[`@graphql-mesh/utils@^0.103.5` ↗︎](https://www.npmjs.com/package/@graphql-mesh/utils/v/0.103.5)
|
|
245
|
+
(from `peerDependencies`)
|
|
246
|
+
- Removed dependency [`tslib@^2.4.0` ↗︎](https://www.npmjs.com/package/tslib/v/2.4.0) (from
|
|
247
|
+
`peerDependencies`)
|
|
248
|
+
- Updated dependencies
|
|
249
|
+
[[`2ef651a`](https://github.com/ardatan/graphql-mesh/commit/2ef651a8356b560478f1847399bad975a0c3f0b9),
|
|
250
|
+
[`2ef651a`](https://github.com/ardatan/graphql-mesh/commit/2ef651a8356b560478f1847399bad975a0c3f0b9)]:
|
|
251
|
+
- @graphql-mesh/types@0.103.6
|
|
252
|
+
- @graphql-mesh/utils@0.103.6
|
|
253
|
+
|
|
254
|
+
## 1.3.5
|
|
255
|
+
|
|
256
|
+
### Patch Changes
|
|
257
|
+
|
|
258
|
+
- Updated dependencies
|
|
259
|
+
[[`9f9f6fe`](https://github.com/ardatan/graphql-mesh/commit/9f9f6fe61c74eaa6572866eddd97c348307107a8)]:
|
|
260
|
+
- @graphql-mesh/utils@0.103.5
|
|
261
|
+
- @graphql-mesh/types@0.103.5
|
|
262
|
+
|
|
263
|
+
## 1.3.4
|
|
264
|
+
|
|
265
|
+
### Patch Changes
|
|
266
|
+
|
|
267
|
+
- Updated dependencies
|
|
268
|
+
[[`8fcfe3f`](https://github.com/ardatan/graphql-mesh/commit/8fcfe3f78a0be53e3b474231bfe7ee0594e54f91)]:
|
|
269
|
+
- @graphql-mesh/types@0.103.4
|
|
270
|
+
- @graphql-mesh/utils@0.103.4
|
|
271
|
+
|
|
272
|
+
## 1.3.3
|
|
273
|
+
|
|
274
|
+
### Patch Changes
|
|
275
|
+
|
|
276
|
+
- Updated dependencies
|
|
277
|
+
[[`6360755`](https://github.com/ardatan/graphql-mesh/commit/63607552017ed462c0555ad2e2ec6466c10d7ae4)]:
|
|
278
|
+
- @graphql-mesh/utils@0.103.3
|
|
279
|
+
- @graphql-mesh/types@0.103.3
|
|
280
|
+
|
|
281
|
+
## 1.3.2
|
|
282
|
+
|
|
283
|
+
### Patch Changes
|
|
284
|
+
|
|
285
|
+
- Updated dependencies
|
|
286
|
+
[[`bfd8929`](https://github.com/ardatan/graphql-mesh/commit/bfd89297b0fe4dbdd0fecff8c35c316e874b9a56)]:
|
|
287
|
+
- @graphql-mesh/utils@0.103.2
|
|
288
|
+
- @graphql-mesh/types@0.103.2
|
|
289
|
+
|
|
290
|
+
## 1.3.1
|
|
291
|
+
|
|
292
|
+
### Patch Changes
|
|
293
|
+
|
|
294
|
+
- Updated dependencies
|
|
295
|
+
[[`92d3ce1`](https://github.com/ardatan/graphql-mesh/commit/92d3ce10bcfdb1bbf63165f77bdb5acd713c88ac),
|
|
296
|
+
[`92d3ce1`](https://github.com/ardatan/graphql-mesh/commit/92d3ce10bcfdb1bbf63165f77bdb5acd713c88ac)]:
|
|
297
|
+
- @graphql-mesh/types@0.103.1
|
|
298
|
+
- @graphql-mesh/utils@0.103.1
|
|
299
|
+
|
|
300
|
+
## 1.3.0
|
|
301
|
+
|
|
302
|
+
### Patch Changes
|
|
303
|
+
|
|
304
|
+
- Updated dependencies
|
|
305
|
+
[[`0e49907`](https://github.com/ardatan/graphql-mesh/commit/0e49907cf19d91fe40c28237aa79bd55742b371f),
|
|
306
|
+
[`9873b33`](https://github.com/ardatan/graphql-mesh/commit/9873b33f0cc6c3b3a3c3dc1a0a1cb18c827b8722)]:
|
|
307
|
+
- @graphql-mesh/utils@0.103.0
|
|
308
|
+
- @graphql-mesh/types@0.103.0
|
|
309
|
+
|
|
310
|
+
## 1.2.7
|
|
311
|
+
|
|
312
|
+
### Patch Changes
|
|
313
|
+
|
|
314
|
+
- Updated dependencies []:
|
|
315
|
+
- @graphql-mesh/types@0.102.13
|
|
316
|
+
- @graphql-mesh/utils@0.102.13
|
|
317
|
+
|
|
318
|
+
## 1.2.6
|
|
319
|
+
|
|
320
|
+
### Patch Changes
|
|
321
|
+
|
|
322
|
+
- [#7910](https://github.com/ardatan/graphql-mesh/pull/7910)
|
|
323
|
+
[`e3e6201`](https://github.com/ardatan/graphql-mesh/commit/e3e620120c7754c0e9186b9ed8c32a5c3cb81a3f)
|
|
324
|
+
Thanks [@renovate](https://github.com/apps/renovate)! - Bump underlying Yoga package
|
|
325
|
+
|
|
326
|
+
- Updated dependencies
|
|
327
|
+
[[`eee53b9`](https://github.com/ardatan/graphql-mesh/commit/eee53b9f455653166c39bca627b3261fbefe4eb7)]:
|
|
328
|
+
- @graphql-mesh/utils@0.102.12
|
|
329
|
+
- @graphql-mesh/types@0.102.12
|
|
330
|
+
|
|
331
|
+
## 1.2.5
|
|
332
|
+
|
|
333
|
+
### Patch Changes
|
|
334
|
+
|
|
335
|
+
- Updated dependencies
|
|
336
|
+
[[`de41fc2`](https://github.com/ardatan/graphql-mesh/commit/de41fc2932433f8da35b9de9492720e6c8c100af),
|
|
337
|
+
[`de41fc2`](https://github.com/ardatan/graphql-mesh/commit/de41fc2932433f8da35b9de9492720e6c8c100af)]:
|
|
338
|
+
- @graphql-mesh/types@0.102.11
|
|
339
|
+
- @graphql-mesh/utils@0.102.11
|
|
340
|
+
|
|
341
|
+
## 1.2.4
|
|
342
|
+
|
|
343
|
+
## 1.2.3
|
|
344
|
+
|
|
345
|
+
### Patch Changes
|
|
346
|
+
|
|
347
|
+
- Updated dependencies
|
|
348
|
+
[[`997b81c`](https://github.com/ardatan/graphql-mesh/commit/997b81c8a5d28508057806b4f16eecc5b713cf71),
|
|
349
|
+
[`997b81c`](https://github.com/ardatan/graphql-mesh/commit/997b81c8a5d28508057806b4f16eecc5b713cf71)]:
|
|
350
|
+
- @graphql-mesh/types@0.102.10
|
|
351
|
+
- @graphql-mesh/utils@0.102.10
|
|
352
|
+
|
|
353
|
+
## 1.2.2
|
|
354
|
+
|
|
355
|
+
### Patch Changes
|
|
356
|
+
|
|
357
|
+
- Updated dependencies
|
|
358
|
+
[[`fad4d27`](https://github.com/ardatan/graphql-mesh/commit/fad4d27bfebb80a374c2041b86ffab509845effe)]:
|
|
359
|
+
- @graphql-mesh/utils@0.102.9
|
|
360
|
+
- @graphql-mesh/types@0.102.9
|
|
361
|
+
|
|
362
|
+
## 1.2.1
|
|
363
|
+
|
|
364
|
+
## 1.2.0
|
|
365
|
+
|
|
366
|
+
### Patch Changes
|
|
367
|
+
|
|
368
|
+
- Updated dependencies
|
|
369
|
+
[[`518c42c`](https://github.com/ardatan/graphql-mesh/commit/518c42c5a2bee00e224df95c2beb758a28d1323c),
|
|
370
|
+
[`518c42c`](https://github.com/ardatan/graphql-mesh/commit/518c42c5a2bee00e224df95c2beb758a28d1323c)]:
|
|
371
|
+
- @graphql-mesh/types@0.102.8
|
|
372
|
+
- @graphql-mesh/utils@0.102.8
|
|
373
|
+
|
|
374
|
+
## 1.1.1
|
|
375
|
+
|
|
376
|
+
### Patch Changes
|
|
377
|
+
|
|
378
|
+
- Updated dependencies
|
|
379
|
+
[[`50bf472`](https://github.com/ardatan/graphql-mesh/commit/50bf4723657d27dc196d80407bda40c93aa5c9be),
|
|
380
|
+
[`50bf472`](https://github.com/ardatan/graphql-mesh/commit/50bf4723657d27dc196d80407bda40c93aa5c9be)]:
|
|
381
|
+
- @graphql-mesh/types@0.102.7
|
|
382
|
+
- @graphql-mesh/utils@0.102.7
|
|
383
|
+
|
|
384
|
+
## 1.1.0
|
|
385
|
+
|
|
386
|
+
## 1.0.5
|
|
387
|
+
|
|
388
|
+
### Patch Changes
|
|
389
|
+
|
|
390
|
+
- Updated dependencies
|
|
391
|
+
[[`bf588d3`](https://github.com/ardatan/graphql-mesh/commit/bf588d372c0078378aaa24beea2da794af7949e6)]:
|
|
392
|
+
- @graphql-mesh/utils@0.102.6
|
|
393
|
+
- @graphql-mesh/types@0.102.6
|
|
394
|
+
|
|
395
|
+
## 1.0.4
|
|
396
|
+
|
|
397
|
+
## 1.0.3
|
|
398
|
+
|
|
399
|
+
## 1.0.2
|
|
400
|
+
|
|
401
|
+
## 1.0.1
|
|
402
|
+
|
|
403
|
+
## 1.0.0
|
|
404
|
+
|
|
405
|
+
## 0.4.4
|
|
406
|
+
|
|
407
|
+
## 0.4.3
|
|
408
|
+
|
|
409
|
+
## 0.4.2
|
|
410
|
+
|
|
411
|
+
## 0.4.1
|
|
412
|
+
|
|
413
|
+
## 0.4.0
|
|
414
|
+
|
|
415
|
+
### Minor Changes
|
|
416
|
+
|
|
417
|
+
- [#7580](https://github.com/ardatan/graphql-mesh/pull/7580)
|
|
418
|
+
[`75e9f63`](https://github.com/ardatan/graphql-mesh/commit/75e9f63d09514a0af786f909dc8c32ac09a1a849)
|
|
419
|
+
Thanks [@ardatan](https://github.com/ardatan)! - BREAKING: All types prefixed with `MeshServe`,
|
|
420
|
+
now are prefixed with `Gateway`. e.g. `MeshServeRuntime` -> `GatewayRuntime`
|
|
421
|
+
|
|
422
|
+
Runtime factory is renamed; `createServeRuntime` -> `createGatewayRuntime`
|
|
423
|
+
|
|
424
|
+
The expected export name for config files are renamed from `serveConfig` to `gatewayConfig`
|
|
425
|
+
|
|
426
|
+
RENAMING:
|
|
427
|
+
|
|
428
|
+
You can rename the product, config file name etc by using the following config options;
|
|
429
|
+
|
|
430
|
+
For example;
|
|
431
|
+
|
|
432
|
+
```ts
|
|
433
|
+
productName = 'Mesh Gateway';
|
|
434
|
+
productDescription =
|
|
435
|
+
'Mesh Gateway is a GraphQL Gateway that can be used to serve a supergraph schema.';
|
|
436
|
+
productLogo = '<svg>...</svg>';
|
|
437
|
+
productPackageName = '@graphql-mesh/gateway';
|
|
438
|
+
```
|
|
439
|
+
|
|
440
|
+
### Patch Changes
|
|
441
|
+
|
|
442
|
+
- [#7594](https://github.com/ardatan/graphql-mesh/pull/7594)
|
|
443
|
+
[`9f01438`](https://github.com/ardatan/graphql-mesh/commit/9f01438fbdf327c0a4bfa0cf440d890ec871ffcc)
|
|
444
|
+
Thanks [@ardatan](https://github.com/ardatan)! - Adding these plugins to serve-runtime by default,
|
|
445
|
+
and make them configurable through the configuration;
|
|
446
|
+
|
|
447
|
+
- `useResponseCache`
|
|
448
|
+
- `useContentEncoding`
|
|
449
|
+
- `useDeferStream`
|
|
450
|
+
- `useExecutionCancellation`
|
|
451
|
+
- `useUpstreamCancellation`
|
|
452
|
+
- `useDisableIntrospection`
|
|
453
|
+
- `useCSRFPrevention`
|
|
454
|
+
- `useCustomAgent`
|
|
455
|
+
- `useGenericAuth`
|
|
456
|
+
- `useHMACUpstreamSignature`
|
|
457
|
+
- `useWebhooks`
|
|
458
|
+
|
|
459
|
+
In addition, the following ones are added to the serve-cli:
|
|
460
|
+
|
|
461
|
+
- `useJWT`
|
|
462
|
+
- `usePrometheus`
|
|
463
|
+
- `useOpenTelemetry`
|
|
464
|
+
- `useRateLimit`
|
|
465
|
+
|
|
466
|
+
- Updated dependencies
|
|
467
|
+
[[`3bf14b3`](https://github.com/ardatan/graphql-mesh/commit/3bf14b33ee621cce004a329928b8a04a68218016),
|
|
468
|
+
[`b7f6ebf`](https://github.com/ardatan/graphql-mesh/commit/b7f6ebfa077957c3a1ecad1fed449e972cb09ae0),
|
|
469
|
+
[`0a3e52c`](https://github.com/ardatan/graphql-mesh/commit/0a3e52c2ad2941e7c48f0e80706db41644797c2d)]:
|
|
470
|
+
- @graphql-mesh/utils@0.102.5
|
|
471
|
+
- @graphql-mesh/types@0.102.5
|
|
472
|
+
|
|
473
|
+
## 0.3.6
|
|
474
|
+
|
|
475
|
+
## 0.3.5
|
|
476
|
+
|
|
477
|
+
### Patch Changes
|
|
478
|
+
|
|
479
|
+
- Updated dependencies
|
|
480
|
+
[[`edbc074`](https://github.com/ardatan/graphql-mesh/commit/edbc074523ebc86114bb3342f86b7bcd9268d005),
|
|
481
|
+
[`edbc074`](https://github.com/ardatan/graphql-mesh/commit/edbc074523ebc86114bb3342f86b7bcd9268d005)]:
|
|
482
|
+
- @graphql-mesh/types@0.102.4
|
|
483
|
+
- @graphql-mesh/utils@0.102.4
|
|
484
|
+
|
|
485
|
+
## 0.3.4
|
|
486
|
+
|
|
487
|
+
### Patch Changes
|
|
488
|
+
|
|
489
|
+
- Updated dependencies
|
|
490
|
+
[[`14ec31f`](https://github.com/ardatan/graphql-mesh/commit/14ec31f95bc06e9a3d06fae387fc40cc534e01f4),
|
|
491
|
+
[`14ec31f`](https://github.com/ardatan/graphql-mesh/commit/14ec31f95bc06e9a3d06fae387fc40cc534e01f4)]:
|
|
492
|
+
- @graphql-mesh/types@0.102.3
|
|
493
|
+
- @graphql-mesh/utils@0.102.3
|
|
494
|
+
|
|
495
|
+
## 0.3.3
|
|
496
|
+
|
|
497
|
+
## 0.3.2
|
|
498
|
+
|
|
499
|
+
### Patch Changes
|
|
500
|
+
|
|
501
|
+
- Updated dependencies
|
|
502
|
+
[[`5d95aad`](https://github.com/ardatan/graphql-mesh/commit/5d95aad185448e8e3a004a08e364f98ee9bbee2a)]:
|
|
503
|
+
- @graphql-mesh/utils@0.102.2
|
|
504
|
+
- @graphql-mesh/types@0.102.2
|
|
505
|
+
|
|
506
|
+
## 0.3.1
|
|
507
|
+
|
|
508
|
+
### Patch Changes
|
|
509
|
+
|
|
510
|
+
- Updated dependencies
|
|
511
|
+
[[`e49a7e6`](https://github.com/ardatan/graphql-mesh/commit/e49a7e69475b652a53a0f289a44247e8b7ea96de)]:
|
|
512
|
+
- @graphql-mesh/utils@0.102.1
|
|
513
|
+
- @graphql-mesh/types@0.102.1
|
|
514
|
+
|
|
515
|
+
## 0.3.0
|
|
516
|
+
|
|
517
|
+
### Patch Changes
|
|
518
|
+
|
|
519
|
+
- Updated dependencies
|
|
520
|
+
[[`db41f96`](https://github.com/ardatan/graphql-mesh/commit/db41f96b392de95d5f3aff958df399bf58575373)]:
|
|
521
|
+
- @graphql-mesh/types@0.102.0
|
|
522
|
+
- @graphql-mesh/utils@0.102.0
|
|
523
|
+
|
|
524
|
+
## 0.2.3
|
|
525
|
+
|
|
526
|
+
## 0.2.2
|
|
527
|
+
|
|
528
|
+
## 0.2.1
|
|
529
|
+
|
|
530
|
+
## 0.2.0
|
|
531
|
+
|
|
532
|
+
### Patch Changes
|
|
533
|
+
|
|
534
|
+
- Updated dependencies
|
|
535
|
+
[[`d784488`](https://github.com/ardatan/graphql-mesh/commit/d784488dcf04b3b0bf32f386baf8b48e1f20d27e),
|
|
536
|
+
[`190e9ec`](https://github.com/ardatan/graphql-mesh/commit/190e9ece9bc050a0564f3b5292ab5229e63d40a6),
|
|
537
|
+
[`d784488`](https://github.com/ardatan/graphql-mesh/commit/d784488dcf04b3b0bf32f386baf8b48e1f20d27e),
|
|
538
|
+
[`190e9ec`](https://github.com/ardatan/graphql-mesh/commit/190e9ece9bc050a0564f3b5292ab5229e63d40a6),
|
|
539
|
+
[`d784488`](https://github.com/ardatan/graphql-mesh/commit/d784488dcf04b3b0bf32f386baf8b48e1f20d27e)]:
|
|
540
|
+
- @graphql-mesh/types@0.101.0
|
|
541
|
+
- @graphql-mesh/utils@0.101.0
|
|
542
|
+
|
|
543
|
+
## 0.1.0
|
|
544
|
+
|
|
545
|
+
### Patch Changes
|
|
546
|
+
|
|
547
|
+
- [#7455](https://github.com/ardatan/graphql-mesh/pull/7455)
|
|
548
|
+
[`5d3610a`](https://github.com/ardatan/graphql-mesh/commit/5d3610a85b3d59df5282a31e8972e800973e6963)
|
|
549
|
+
Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
|
|
550
|
+
- Updated dependency
|
|
551
|
+
[`@graphql-yoga/plugin-jwt@^3.0.2` ↗︎](https://www.npmjs.com/package/@graphql-yoga/plugin-jwt/v/3.0.2)
|
|
552
|
+
(from `3.0.1`, in `dependencies`)
|
|
553
|
+
- Updated dependencies
|
|
554
|
+
[[`c06a048`](https://github.com/ardatan/graphql-mesh/commit/c06a0482e7431683f0b75fde3aebbb97aca00c4c),
|
|
555
|
+
[`c06a048`](https://github.com/ardatan/graphql-mesh/commit/c06a0482e7431683f0b75fde3aebbb97aca00c4c),
|
|
556
|
+
[`a324c5e`](https://github.com/ardatan/graphql-mesh/commit/a324c5ef300c25dcfa265f3457453b50af0b83e7),
|
|
557
|
+
[`4d1eb28`](https://github.com/ardatan/graphql-mesh/commit/4d1eb285c2b703c5f80473ad0f316004306fac7f),
|
|
558
|
+
[`a324c5e`](https://github.com/ardatan/graphql-mesh/commit/a324c5ef300c25dcfa265f3457453b50af0b83e7)]:
|
|
559
|
+
- @graphql-mesh/types@0.100.0
|
|
560
|
+
- @graphql-mesh/utils@0.100.0
|
|
561
|
+
|
|
562
|
+
## 0.0.10
|
|
563
|
+
|
|
564
|
+
### Patch Changes
|
|
565
|
+
|
|
566
|
+
- Updated dependencies
|
|
567
|
+
[[`a1bfc49`](https://github.com/ardatan/graphql-mesh/commit/a1bfc492ac3378f22b79a51824407e776b496a84)]:
|
|
568
|
+
- @graphql-mesh/types@0.99.7
|
|
569
|
+
- @graphql-mesh/utils@0.99.7
|
|
570
|
+
|
|
571
|
+
## 0.0.9
|
|
572
|
+
|
|
573
|
+
### Patch Changes
|
|
574
|
+
|
|
575
|
+
- Updated dependencies
|
|
576
|
+
[[`6c67e77`](https://github.com/ardatan/graphql-mesh/commit/6c67e77d3c308615a733577293ecb6dd55793aeb),
|
|
577
|
+
[`6c67e77`](https://github.com/ardatan/graphql-mesh/commit/6c67e77d3c308615a733577293ecb6dd55793aeb),
|
|
578
|
+
[`6c67e77`](https://github.com/ardatan/graphql-mesh/commit/6c67e77d3c308615a733577293ecb6dd55793aeb)]:
|
|
579
|
+
- @graphql-mesh/types@0.99.6
|
|
580
|
+
- @graphql-mesh/utils@0.99.6
|
|
581
|
+
|
|
582
|
+
## 0.0.8
|
|
583
|
+
|
|
584
|
+
## 0.0.7
|
|
585
|
+
|
|
586
|
+
## 0.0.6
|
|
587
|
+
|
|
588
|
+
## 0.0.5
|
|
589
|
+
|
|
590
|
+
### Patch Changes
|
|
591
|
+
|
|
592
|
+
- Updated dependencies
|
|
593
|
+
[[`33c23e8`](https://github.com/ardatan/graphql-mesh/commit/33c23e83a60328df806a8adc8d262a0c6de7e5a4)]:
|
|
594
|
+
- @graphql-mesh/utils@0.99.5
|
|
595
|
+
- @graphql-mesh/types@0.99.5
|
|
596
|
+
|
|
597
|
+
## 0.0.4
|
|
598
|
+
|
|
599
|
+
### Patch Changes
|
|
600
|
+
|
|
601
|
+
- [#7374](https://github.com/ardatan/graphql-mesh/pull/7374)
|
|
602
|
+
[`f427d7f`](https://github.com/ardatan/graphql-mesh/commit/f427d7fec8ab2f374e8e3aa5fd90a400a6792fc5)
|
|
603
|
+
Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates:
|
|
604
|
+
|
|
605
|
+
- Updated dependency
|
|
606
|
+
[`@graphql-yoga/plugin-jwt@3.0.1` ↗︎](https://www.npmjs.com/package/@graphql-yoga/plugin-jwt/v/3.0.1)
|
|
607
|
+
(from `3.0.0`, in `dependencies`)
|
|
608
|
+
|
|
609
|
+
- [#7376](https://github.com/ardatan/graphql-mesh/pull/7376)
|
|
610
|
+
[`bb74e6d`](https://github.com/ardatan/graphql-mesh/commit/bb74e6dc935d9ac13e69c49dbb55a1364faf0e20)
|
|
611
|
+
Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
|
|
612
|
+
- Updated dependency
|
|
613
|
+
[`@graphql-yoga/plugin-jwt@3.0.1` ↗︎](https://www.npmjs.com/package/@graphql-yoga/plugin-jwt/v/3.0.1)
|
|
614
|
+
(from `3.0.0`, in `dependencies`)
|
|
615
|
+
- Updated dependencies
|
|
616
|
+
[[`597e790`](https://github.com/ardatan/graphql-mesh/commit/597e7905e542be06e7f576d8ffde3f94d7b0630b),
|
|
617
|
+
[`597e790`](https://github.com/ardatan/graphql-mesh/commit/597e7905e542be06e7f576d8ffde3f94d7b0630b)]:
|
|
618
|
+
- @graphql-mesh/utils@0.99.4
|
|
619
|
+
- @graphql-mesh/types@0.99.4
|
|
620
|
+
|
|
621
|
+
## 0.0.3
|
|
622
|
+
|
|
623
|
+
### Patch Changes
|
|
624
|
+
|
|
625
|
+
- Updated dependencies
|
|
626
|
+
[[`5e5dec5`](https://github.com/ardatan/graphql-mesh/commit/5e5dec51b571df8d23a4379f61fd7fbd7a3df58e),
|
|
627
|
+
[`5e5dec5`](https://github.com/ardatan/graphql-mesh/commit/5e5dec51b571df8d23a4379f61fd7fbd7a3df58e)]:
|
|
628
|
+
- @graphql-mesh/utils@0.99.3
|
|
629
|
+
- @graphql-mesh/types@0.99.3
|
|
630
|
+
|
|
631
|
+
## 0.0.2
|
|
632
|
+
|
|
633
|
+
### Patch Changes
|
|
634
|
+
|
|
635
|
+
- [#7304](https://github.com/ardatan/graphql-mesh/pull/7304)
|
|
636
|
+
[`f47c900`](https://github.com/ardatan/graphql-mesh/commit/f47c900d19e8c634d39e9dd90bfb1acc4f892a1f)
|
|
637
|
+
Thanks [@dotansimha](https://github.com/dotansimha)! - Initial commit and introduce a new plugin.
|