@graphql-hive/plugin-deduplicate-request 2.1.0 → 3.0.0-alpha-21ea30a5d1ffb13aad5ca0842c40d66e47fc5b9b

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 CHANGED
@@ -1,5 +1,29 @@
1
1
  # @graphql-hive/plugin-deduplicate-request
2
2
 
3
+ ## 3.0.0-alpha-21ea30a5d1ffb13aad5ca0842c40d66e47fc5b9b
4
+ ### Major Changes
5
+
6
+
7
+
8
+ - [#2670](https://github.com/graphql-hive/gateway/pull/2670) [`65d8347`](https://github.com/graphql-hive/gateway/commit/65d83475672f9a81122a0c1b33834655ff1379e6) 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) [`631ee11`](https://github.com/graphql-hive/gateway/commit/631ee11fd98d3a255815bbfcaccb55edcb2e45ec) 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) [`21ea30a`](https://github.com/graphql-hive/gateway/commit/21ea30a5d1ffb13aad5ca0842c40d66e47fc5b9b) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates:
24
+
25
+ - Updated dependency [`graphql@^16.12.0 || ^17.0.0` ↗︎](https://www.npmjs.com/package/graphql/v/16.12.0) (from `^16.12.0`, in `peerDependencies`)
26
+
3
27
  ## 2.1.0
4
28
  ### Minor Changes
5
29
 
package/dist/index.d.cts CHANGED
@@ -5,7 +5,7 @@ import { GraphQLSchema, OperationTypeNode, GraphQLFieldResolver, GraphQLResolveI
5
5
  import DataLoader from 'dataloader';
6
6
  import { GraphQLResolveInfo as GraphQLResolveInfo$1, GraphQLOutputType as GraphQLOutputType$1 } from 'graphql/type';
7
7
  import { Plugin, YogaInitialContext, Instrumentation as Instrumentation$2 } from 'graphql-yoga';
8
- import { MeshFetch, KeyValueCache, MeshFetchRequestInit, Logger as Logger$1 } from '@graphql-mesh/types';
8
+ import { MeshFetch, KeyValueCache, MeshFetchRequestInit } from '@graphql-mesh/types';
9
9
  import { FetchInstrumentation } from '@graphql-mesh/utils';
10
10
 
11
11
  type MaybeLazy<T> = T | (() => T);
@@ -405,8 +405,6 @@ interface OnFetchHookPayload<TContext> {
405
405
  context: (GatewayContext & TContext) | {
406
406
  log: Logger;
407
407
  };
408
- /** @deprecated Please use `log` from the {@link context} instead. */
409
- logger: Logger$1;
410
408
  info: GraphQLResolveInfo$1;
411
409
  fetchFn: MeshFetch;
412
410
  setFetchFn: (fetchFn: MeshFetch) => void;
package/dist/index.d.ts CHANGED
@@ -5,7 +5,7 @@ import { GraphQLSchema, OperationTypeNode, GraphQLFieldResolver, GraphQLResolveI
5
5
  import DataLoader from 'dataloader';
6
6
  import { GraphQLResolveInfo as GraphQLResolveInfo$1, GraphQLOutputType as GraphQLOutputType$1 } from 'graphql/type';
7
7
  import { Plugin, YogaInitialContext, Instrumentation as Instrumentation$2 } from 'graphql-yoga';
8
- import { MeshFetch, KeyValueCache, MeshFetchRequestInit, Logger as Logger$1 } from '@graphql-mesh/types';
8
+ import { MeshFetch, KeyValueCache, MeshFetchRequestInit } from '@graphql-mesh/types';
9
9
  import { FetchInstrumentation } from '@graphql-mesh/utils';
10
10
 
11
11
  type MaybeLazy<T> = T | (() => T);
@@ -405,8 +405,6 @@ interface OnFetchHookPayload<TContext> {
405
405
  context: (GatewayContext & TContext) | {
406
406
  log: Logger;
407
407
  };
408
- /** @deprecated Please use `log` from the {@link context} instead. */
409
- logger: Logger$1;
410
408
  info: GraphQLResolveInfo$1;
411
409
  fetchFn: MeshFetch;
412
410
  setFetchFn: (fetchFn: MeshFetch) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-hive/plugin-deduplicate-request",
3
- "version": "2.1.0",
3
+ "version": "3.0.0-alpha-21ea30a5d1ffb13aad5ca0842c40d66e47fc5b9b",
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": ">=20.0.0"
17
+ "node": ">=22.15.0"
18
18
  },
19
19
  "main": "./dist/index.js",
20
20
  "types": "./dist/index.d.ts",
@@ -39,7 +39,7 @@
39
39
  "prepack": "yarn build"
40
40
  },
41
41
  "peerDependencies": {
42
- "graphql": "^16.12.0"
42
+ "graphql": "^16.12.0 || ^17.0.0"
43
43
  },
44
44
  "dependencies": {
45
45
  "@graphql-mesh/utils": "^0.107.1",
@@ -47,7 +47,7 @@
47
47
  "@whatwg-node/promise-helpers": "^1.3.2"
48
48
  },
49
49
  "devDependencies": {
50
- "@graphql-hive/gateway-runtime": "2.11.0",
50
+ "@graphql-hive/gateway-runtime": "3.0.0-alpha-21ea30a5d1ffb13aad5ca0842c40d66e47fc5b9b",
51
51
  "@graphql-mesh/types": "^0.107.1",
52
52
  "@whatwg-node/fetch": "^0.10.13",
53
53
  "graphql": "^16.12.0",