@graphql-tools/batch-delegate 9.0.39 → 9.0.40-alpha-89d42ec0efc406b96c7a0c909121dbefc352ab99
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 +10 -21
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @graphql-tools/batch-delegate
|
|
2
2
|
|
|
3
|
+
## 9.0.40-alpha-89d42ec0efc406b96c7a0c909121dbefc352ab99
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1344](https://github.com/graphql-hive/gateway/pull/1344) [`89d42ec`](https://github.com/graphql-hive/gateway/commit/89d42ec0efc406b96c7a0c909121dbefc352ab99) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates:
|
|
8
|
+
- Updated dependency [`@graphql-tools/utils@^10.9.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.9.0) (from `^10.8.1`, in `dependencies`)
|
|
9
|
+
|
|
10
|
+
- Updated dependencies [[`89d42ec`](https://github.com/graphql-hive/gateway/commit/89d42ec0efc406b96c7a0c909121dbefc352ab99)]:
|
|
11
|
+
- @graphql-tools/delegate@10.2.22-alpha-89d42ec0efc406b96c7a0c909121dbefc352ab99
|
|
12
|
+
|
|
3
13
|
## 9.0.39
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -44,7 +54,6 @@
|
|
|
44
54
|
### Patch Changes
|
|
45
55
|
|
|
46
56
|
- [#532](https://github.com/graphql-hive/gateway/pull/532) [`4e33933`](https://github.com/graphql-hive/gateway/commit/4e339333945f4c4547d9ae719e67b4671fe89f04) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
|
|
47
|
-
|
|
48
57
|
- Updated dependency [`@whatwg-node/promise-helpers@^1.3.0` ↗︎](https://www.npmjs.com/package/@whatwg-node/promise-helpers/v/1.3.0) (from `^1.2.5`, in `dependencies`)
|
|
49
58
|
|
|
50
59
|
- Updated dependencies [[`4e33933`](https://github.com/graphql-hive/gateway/commit/4e339333945f4c4547d9ae719e67b4671fe89f04)]:
|
|
@@ -55,7 +64,6 @@
|
|
|
55
64
|
### Patch Changes
|
|
56
65
|
|
|
57
66
|
- [#862](https://github.com/graphql-hive/gateway/pull/862) [`278618a`](https://github.com/graphql-hive/gateway/commit/278618a1383a01016041ce0a40adec8803c62448) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
|
|
58
|
-
|
|
59
67
|
- Updated dependency [`@whatwg-node/promise-helpers@^1.2.5` ↗︎](https://www.npmjs.com/package/@whatwg-node/promise-helpers/v/1.2.5) (from `^1.0.0`, in `dependencies`)
|
|
60
68
|
|
|
61
69
|
- Updated dependencies [[`278618a`](https://github.com/graphql-hive/gateway/commit/278618a1383a01016041ce0a40adec8803c62448)]:
|
|
@@ -66,7 +74,6 @@
|
|
|
66
74
|
### Patch Changes
|
|
67
75
|
|
|
68
76
|
- [#726](https://github.com/graphql-hive/gateway/pull/726) [`6334b2e`](https://github.com/graphql-hive/gateway/commit/6334b2e5d4942693121ab7d44a96fa80408aace1) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
|
|
69
|
-
|
|
70
77
|
- Added dependency [`@whatwg-node/promise-helpers@^1.0.0` ↗︎](https://www.npmjs.com/package/@whatwg-node/promise-helpers/v/1.0.0) (to `dependencies`)
|
|
71
78
|
|
|
72
79
|
- [#742](https://github.com/graphql-hive/gateway/pull/742) [`2a54e85`](https://github.com/graphql-hive/gateway/commit/2a54e85f2848aea7525703ea33918a21db96b26b) Thanks [@kathrynkodama](https://github.com/kathrynkodama)! - Remove the index from the batched error;
|
|
@@ -90,7 +97,6 @@
|
|
|
90
97
|
### Patch Changes
|
|
91
98
|
|
|
92
99
|
- [#620](https://github.com/graphql-hive/gateway/pull/620) [`d72209a`](https://github.com/graphql-hive/gateway/commit/d72209ad82ec53689f93ce5d81bfa52493919ad9) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
|
|
93
|
-
|
|
94
100
|
- Updated dependency [`@graphql-tools/utils@^10.8.1` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.8.1) (from `^10.7.0`, in `dependencies`)
|
|
95
101
|
|
|
96
102
|
- Updated dependencies [[`d72209a`](https://github.com/graphql-hive/gateway/commit/d72209ad82ec53689f93ce5d81bfa52493919ad9)]:
|
|
@@ -189,7 +195,6 @@
|
|
|
189
195
|
### Patch Changes
|
|
190
196
|
|
|
191
197
|
- [#373](https://github.com/graphql-hive/gateway/pull/373) [`e606975`](https://github.com/graphql-hive/gateway/commit/e60697593290255fb9ac407e591ae3e8cb752df2) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
|
|
192
|
-
|
|
193
198
|
- Updated dependency [`@graphql-tools/utils@^10.7.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.7.0) (from `^10.6.2`, in `dependencies`)
|
|
194
199
|
|
|
195
200
|
- Updated dependencies [[`e606975`](https://github.com/graphql-hive/gateway/commit/e60697593290255fb9ac407e591ae3e8cb752df2)]:
|
|
@@ -207,7 +212,6 @@
|
|
|
207
212
|
### Patch Changes
|
|
208
213
|
|
|
209
214
|
- [#291](https://github.com/graphql-hive/gateway/pull/291) [`34d1224`](https://github.com/graphql-hive/gateway/commit/34d12249ead65b8277df976f6318dca757df1151) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
|
|
210
|
-
|
|
211
215
|
- Updated dependency [`tslib@^2.8.1` ↗︎](https://www.npmjs.com/package/tslib/v/2.8.1) (from `^2.4.0`, in `dependencies`)
|
|
212
216
|
|
|
213
217
|
- Updated dependencies [[`34d1224`](https://github.com/graphql-hive/gateway/commit/34d12249ead65b8277df976f6318dca757df1151)]:
|
|
@@ -218,15 +222,12 @@
|
|
|
218
222
|
### Patch Changes
|
|
219
223
|
|
|
220
224
|
- [#264](https://github.com/graphql-hive/gateway/pull/264) [`6f56083`](https://github.com/graphql-hive/gateway/commit/6f56083028402780f505db1492b9e84ab4227a4f) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
|
|
221
|
-
|
|
222
225
|
- Updated dependency [`dataloader@2.2.3` ↗︎](https://www.npmjs.com/package/dataloader/v/2.2.3) (from `2.2.2`, in `dependencies`)
|
|
223
226
|
|
|
224
227
|
- [#268](https://github.com/graphql-hive/gateway/pull/268) [`7df2215`](https://github.com/graphql-hive/gateway/commit/7df2215abd309dc1dfd91f4ec91ce975f3982c62) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
|
|
225
|
-
|
|
226
228
|
- Updated dependency [`dataloader@^2.2.3` ↗︎](https://www.npmjs.com/package/dataloader/v/2.2.3) (from `2.2.3`, in `dependencies`)
|
|
227
229
|
|
|
228
230
|
- [#269](https://github.com/graphql-hive/gateway/pull/269) [`cdca511`](https://github.com/graphql-hive/gateway/commit/cdca5116ce30c2bfced1130c9fbead67280af9d4) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
|
|
229
|
-
|
|
230
231
|
- Updated dependency [`@graphql-tools/utils@^10.6.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.6.2) (from `^10.6.0`, in `dependencies`)
|
|
231
232
|
|
|
232
233
|
- Updated dependencies [[`7df2215`](https://github.com/graphql-hive/gateway/commit/7df2215abd309dc1dfd91f4ec91ce975f3982c62), [`cdca511`](https://github.com/graphql-hive/gateway/commit/cdca5116ce30c2bfced1130c9fbead67280af9d4)]:
|
|
@@ -265,15 +266,12 @@
|
|
|
265
266
|
### Patch Changes
|
|
266
267
|
|
|
267
268
|
- [#164](https://github.com/graphql-hive/gateway/pull/164) [`310613d`](https://github.com/graphql-hive/gateway/commit/310613d68d1df3e2bceafbd0730084a4c83527bf) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
|
|
268
|
-
|
|
269
269
|
- Updated dependency [`@graphql-tools/utils@^10.6.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.6.0) (from `^10.5.6`, in `dependencies`)
|
|
270
270
|
|
|
271
271
|
- [#185](https://github.com/graphql-hive/gateway/pull/185) [`f0b6921`](https://github.com/graphql-hive/gateway/commit/f0b69219fefc1b24c5511a1c623a5e3bbaf5ca0b) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
|
|
272
|
-
|
|
273
272
|
- Removed dependency [`value-or-promise@^1.0.12` ↗︎](https://www.npmjs.com/package/value-or-promise/v/1.0.12) (from `dependencies`)
|
|
274
273
|
|
|
275
274
|
- [#188](https://github.com/graphql-hive/gateway/pull/188) [`f71366d`](https://github.com/graphql-hive/gateway/commit/f71366d234fe8f30a419814fe1460f1e22663241) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
|
|
276
|
-
|
|
277
275
|
- Removed dependency [`value-or-promise@^1.0.12` ↗︎](https://www.npmjs.com/package/value-or-promise/v/1.0.12) (from `dependencies`)
|
|
278
276
|
|
|
279
277
|
- Updated dependencies [[`310613d`](https://github.com/graphql-hive/gateway/commit/310613d68d1df3e2bceafbd0730084a4c83527bf)]:
|
|
@@ -453,7 +451,6 @@
|
|
|
453
451
|
- [#5205](https://github.com/ardatan/graphql-tools/pull/5205)
|
|
454
452
|
[`a33097f7`](https://github.com/ardatan/graphql-tools/commit/a33097f734992105ca13e1774da90842780c6467)
|
|
455
453
|
Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
|
|
456
|
-
|
|
457
454
|
- Added dependency
|
|
458
455
|
[`value-or-promise@^1.0.12` ↗︎](https://www.npmjs.com/package/value-or-promise/v/1.0.12) (to
|
|
459
456
|
`dependencies`)
|
|
@@ -746,7 +743,6 @@
|
|
|
746
743
|
- [#4640](https://github.com/ardatan/graphql-tools/pull/4640)
|
|
747
744
|
[`27bdc237`](https://github.com/ardatan/graphql-tools/commit/27bdc23713a5176485ac940fc5431256b4f2de8d)
|
|
748
745
|
Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
|
|
749
|
-
|
|
750
746
|
- Updated dependency
|
|
751
747
|
[`@graphql-tools/delegate@9.0.3` ↗︎](https://www.npmjs.com/package/@graphql-tools/delegate/v/9.0.3)
|
|
752
748
|
(was `9.0.2`, in `dependencies`)
|
|
@@ -1120,7 +1116,6 @@
|
|
|
1120
1116
|
rootValue property is now a part of the Request type.
|
|
1121
1117
|
|
|
1122
1118
|
When delegating with delegateToSchema, rootValue can be set multiple ways:
|
|
1123
|
-
|
|
1124
1119
|
- when using a custom executor, the custom executor can utilize a rootValue in whichever custom
|
|
1125
1120
|
way it specifies.
|
|
1126
1121
|
- when using the default executor (execute/subscribe from graphql-js): -- rootValue can be passed
|
|
@@ -1178,11 +1173,9 @@
|
|
|
1178
1173
|
- a9254491: - Resolver validation options should now be set to `error`, `warn` or `ignore` rather
|
|
1179
1174
|
than `true` or `false`. In previous versions, some of the validators caused errors to be thrown,
|
|
1180
1175
|
while some issued warnings. This changes brings consistency to validator behavior.
|
|
1181
|
-
|
|
1182
1176
|
- The `allowResolversNotInSchema` has been renamed to `requireResolversToMatchSchema`, to
|
|
1183
1177
|
harmonize the naming convention of all the validators. The default setting of
|
|
1184
1178
|
`requireResolversToMatchSchema` is `error`, matching the previous behavior.
|
|
1185
|
-
|
|
1186
1179
|
* The `delegateToSchema` return value has matured and been formalized as an `ExternalObject`, in
|
|
1187
1180
|
which all errors are integrated into the GraphQL response, preserving their initial path. Those
|
|
1188
1181
|
advanced users accessing the result directly will note the change in error handling. This also
|
|
@@ -1210,7 +1203,6 @@
|
|
|
1210
1203
|
|
|
1211
1204
|
* `applySchemaTransforms` parameters have been updated to match and support the `transformSchema`
|
|
1212
1205
|
parameters above.
|
|
1213
|
-
|
|
1214
1206
|
- `wrapSchema` and `generateProxyingResolvers` now only take a single options argument with named
|
|
1215
1207
|
properties of type `SubschemaConfig`. The previously possible shorthand version with first
|
|
1216
1208
|
argument consisting of a `GraphQLSchema` and second argument representing the transforms should
|
|
@@ -1244,7 +1236,6 @@
|
|
|
1244
1236
|
parsed SDL rather than strings, to nudge end users to parse these strings at build time (when
|
|
1245
1237
|
possible), rather than at runtime. Parsing of selection set strings can be performed using the
|
|
1246
1238
|
`parseSelectionSet` function from `@graphql-tools/utils`.
|
|
1247
|
-
|
|
1248
1239
|
* `stitchSchemas`'s `mergeTypes` option is now true by default! This causes the `onTypeConflict`
|
|
1249
1240
|
option to be ignored by default. To use `onTypeConflict` to select a specific type instead of
|
|
1250
1241
|
simply merging, simply set `mergeTypes` to false.
|
|
@@ -1263,11 +1254,9 @@
|
|
|
1263
1254
|
used. Signatures of the `onTypeConflict`, `fieldConfigMerger`, and `inputFieldConfigMerger` have
|
|
1264
1255
|
been updated to include metadata related to the original and transformed subschemas. Note the
|
|
1265
1256
|
property name change for `onTypeConflict` from `schema` to `subschema`.
|
|
1266
|
-
|
|
1267
1257
|
- Mocks returning objects with fields set as functions are now operating according to upstream
|
|
1268
1258
|
graphql-js convention, i.e. these functions take three arguments, `args`, `context`, and `info`
|
|
1269
1259
|
with `parent` available as `this` rather than as the first argument.
|
|
1270
|
-
|
|
1271
1260
|
* `filterSchema`'s `fieldFilter` will now filter _all_ fields across Object, Interface, and Input
|
|
1272
1261
|
types. For the previous Object-only behavior, switch to the `objectFieldFilter` option.
|
|
1273
1262
|
* Unused `fieldNodes` utility functions have been removed.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-tools/batch-delegate",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.40-alpha-89d42ec0efc406b96c7a0c909121dbefc352ab99",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A set of utils for faster development of GraphQL tools",
|
|
6
6
|
"repository": {
|
|
@@ -38,16 +38,16 @@
|
|
|
38
38
|
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@graphql-tools/delegate": "
|
|
42
|
-
"@graphql-tools/utils": "^10.
|
|
41
|
+
"@graphql-tools/delegate": "10.2.22-alpha-89d42ec0efc406b96c7a0c909121dbefc352ab99",
|
|
42
|
+
"@graphql-tools/utils": "^10.9.0",
|
|
43
43
|
"@whatwg-node/promise-helpers": "^1.3.0",
|
|
44
44
|
"dataloader": "^2.2.3",
|
|
45
45
|
"tslib": "^2.8.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@graphql-tools/schema": "^10.0.
|
|
48
|
+
"@graphql-tools/schema": "^10.0.24",
|
|
49
49
|
"graphql": "^16.9.0",
|
|
50
|
-
"pkgroll": "2.
|
|
50
|
+
"pkgroll": "2.14.3"
|
|
51
51
|
},
|
|
52
52
|
"sideEffects": false
|
|
53
53
|
}
|