@graphql-tools/batch-execute 9.0.17 → 9.0.18-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.
Files changed (2) hide show
  1. package/CHANGELOG.md +7 -22
  2. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @graphql-tools/batch-execute
2
2
 
3
+ ## 9.0.18-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
+
3
10
  ## 9.0.17
4
11
 
5
12
  ### Patch Changes
@@ -17,7 +24,6 @@
17
24
  ### Patch Changes
18
25
 
19
26
  - [#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:
20
-
21
27
  - 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`)
22
28
 
23
29
  ## 9.0.14
@@ -25,7 +31,6 @@
25
31
  ### Patch Changes
26
32
 
27
33
  - [#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:
28
-
29
34
  - 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`)
30
35
 
31
36
  ## 9.0.13
@@ -33,7 +38,6 @@
33
38
  ### Patch Changes
34
39
 
35
40
  - [#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:
36
-
37
41
  - Added dependency [`@whatwg-node/promise-helpers@^1.0.0` ↗︎](https://www.npmjs.com/package/@whatwg-node/promise-helpers/v/1.0.0) (to `dependencies`)
38
42
 
39
43
  ## 9.0.12
@@ -41,7 +45,6 @@
41
45
  ### Patch Changes
42
46
 
43
47
  - [#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:
44
-
45
48
  - 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`)
46
49
 
47
50
  ## 9.0.11
@@ -49,7 +52,6 @@
49
52
  ### Patch Changes
50
53
 
51
54
  - [#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:
52
-
53
55
  - 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`)
54
56
 
55
57
  ## 9.0.10
@@ -57,7 +59,6 @@
57
59
  ### Patch Changes
58
60
 
59
61
  - [#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:
60
-
61
62
  - Updated dependency [`tslib@^2.8.1` ↗︎](https://www.npmjs.com/package/tslib/v/2.8.1) (from `^2.4.0`, in `dependencies`)
62
63
 
63
64
  ## 9.0.9
@@ -65,11 +66,9 @@
65
66
  ### Patch Changes
66
67
 
67
68
  - [#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:
68
-
69
69
  - Updated dependency [`dataloader@^2.2.3` ↗︎](https://www.npmjs.com/package/dataloader/v/2.2.3) (from `^2.2.2`, in `dependencies`)
70
70
 
71
71
  - [#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:
72
-
73
72
  - 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`)
74
73
 
75
74
  ## 9.0.8
@@ -120,15 +119,12 @@
120
119
  ### Patch Changes
121
120
 
122
121
  - [#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:
123
-
124
122
  - 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`)
125
123
 
126
124
  - [#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:
127
-
128
125
  - Removed dependency [`value-or-promise@^1.0.12` ↗︎](https://www.npmjs.com/package/value-or-promise/v/1.0.12) (from `dependencies`)
129
126
 
130
127
  - [#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:
131
-
132
128
  - Removed dependency [`value-or-promise@^1.0.12` ↗︎](https://www.npmjs.com/package/value-or-promise/v/1.0.12) (from `dependencies`)
133
129
 
134
130
  ## 9.0.5
@@ -217,7 +213,6 @@
217
213
  - [#5202](https://github.com/ardatan/graphql-tools/pull/5202)
218
214
  [`05c97eb8`](https://github.com/ardatan/graphql-tools/commit/05c97eb888cd4b1ffbd9adb32722cd5b609292a0)
219
215
  Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
220
-
221
216
  - Updated dependency [`dataloader@^2.2.2` ↗︎](https://www.npmjs.com/package/dataloader/v/2.2.2)
222
217
  (from `2.2.2`, in `dependencies`)
223
218
  - Updated dependency
@@ -629,7 +624,6 @@
629
624
  rootValue property is now a part of the Request type.
630
625
 
631
626
  When delegating with delegateToSchema, rootValue can be set multiple ways:
632
-
633
627
  - when using a custom executor, the custom executor can utilize a rootValue in whichever custom
634
628
  way it specifies.
635
629
  - when using the default executor (execute/subscribe from graphql-js): -- rootValue can be passed
@@ -640,7 +634,6 @@
640
634
  function which can pass whatever rootValue it wants to delegateToSchema as above.
641
635
 
642
636
  - c42e811d: BREAKING CHANGES;
643
-
644
637
  - Rename `Request` to `ExecutionRequest`
645
638
  - Add required `operationType: OperationTypeNode` field in `ExecutionRequest`
646
639
  - Add `context` in `createRequest` and `createRequestInfo` instead of `delegateToSchema`
@@ -651,7 +644,6 @@
651
644
  > https://github.com/ardatan/graphql-tools/pull/3166/files#diff-d4824895ea613dcc1f710c3ac82e952fe0ca12391b671f70d9f2d90d5656fdceR38
652
645
 
653
646
  Improvements;
654
-
655
647
  - Memoize `defaultExecutor` for a single `GraphQLSchema` so allow `getBatchingExecutor` to memoize
656
648
  `batchingExecutor` correctly.
657
649
  - And there is no different `defaultExecutor` is created for `subscription` and other operation
@@ -717,7 +709,6 @@
717
709
  - be1a1575: ## Breaking Changes:
718
710
 
719
711
  #### Schema Generation and Decoration API (`@graphql-tools/schema`)
720
-
721
712
  - Resolver validation options should now be set to `error`, `warn` or `ignore` rather than `true`
722
713
  or `false`. In previous versions, some of the validators caused errors to be thrown, while some
723
714
  issued warnings. This changes brings consistency to validator behavior.
@@ -727,7 +718,6 @@
727
718
  `requireResolversToMatchSchema` is `error`, matching the previous behavior.
728
719
 
729
720
  #### Schema Delegation (`delegateToSchema` & `@graphql-tools/delegate`)
730
-
731
721
  - The `delegateToSchema` return value has matured and been formalized as an `ExternalObject`, in
732
722
  which all errors are integrated into the GraphQL response, preserving their initial path. Those
733
723
  advanced users accessing the result directly will note the change in error handling. This also
@@ -757,7 +747,6 @@
757
747
  parameters above.
758
748
 
759
749
  #### Remote Schemas & Wrapping (`wrapSchema`, `makeRemoteExecutableSchema`, and `@graphql-tools/wrap`)
760
-
761
750
  - `wrapSchema` and `generateProxyingResolvers` now only take a single options argument with named
762
751
  properties of type `SubschemaConfig`. The previously possible shorthand version with first
763
752
  argument consisting of a `GraphQLSchema` and second argument representing the transforms should
@@ -793,7 +782,6 @@
793
782
  `parseSelectionSet` function from `@graphql-tools/utils`.
794
783
 
795
784
  #### Schema Stitching (`stitchSchemas` & `@graphql-tools/stitch`)
796
-
797
785
  - `stitchSchemas`'s `mergeTypes` option is now true by default! This causes the `onTypeConflict`
798
786
  option to be ignored by default. To use `onTypeConflict` to select a specific type instead of
799
787
  simply merging, simply set `mergeTypes` to false.
@@ -814,13 +802,11 @@
814
802
  property name change for `onTypeConflict` from `schema` to `subschema`.
815
803
 
816
804
  #### Mocking (`addMocksToSchema` and `@graphql-tools/mock`)
817
-
818
805
  - Mocks returning objects with fields set as functions are now operating according to upstream
819
806
  graphql-js convention, i.e. these functions take three arguments, `args`, `context`, and `info`
820
807
  with `parent` available as `this` rather than as the first argument.
821
808
 
822
809
  #### Other Utilities (`@graphql-tools/utils`)
823
-
824
810
  - `filterSchema`'s `fieldFilter` will now filter _all_ fields across Object, Interface, and Input
825
811
  types. For the previous Object-only behavior, switch to the `objectFieldFilter` option.
826
812
  - Unused `fieldNodes` utility functions have been removed.
@@ -832,7 +818,6 @@
832
818
  removed from the `utils` package, as they are implemented elsewhere or no longer necessary.
833
819
 
834
820
  ## Related Issues
835
-
836
821
  - proxy all the errors: #1047, #1641
837
822
  - better error handling for merges #2016, #2062
838
823
  - fix typings #1614
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-tools/batch-execute",
3
- "version": "9.0.17",
3
+ "version": "9.0.18-alpha-89d42ec0efc406b96c7a0c909121dbefc352ab99",
4
4
  "type": "module",
5
5
  "description": "A set of utils for faster development of GraphQL tools",
6
6
  "repository": {
@@ -38,14 +38,14 @@
38
38
  "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
39
39
  },
40
40
  "dependencies": {
41
- "@graphql-tools/utils": "^10.8.1",
41
+ "@graphql-tools/utils": "^10.9.0",
42
42
  "@whatwg-node/promise-helpers": "^1.3.0",
43
43
  "dataloader": "^2.2.3",
44
44
  "tslib": "^2.8.1"
45
45
  },
46
46
  "devDependencies": {
47
47
  "graphql": "^16.9.0",
48
- "pkgroll": "2.12.2"
48
+ "pkgroll": "2.14.3"
49
49
  },
50
50
  "sideEffects": false
51
51
  }