@graphql-hive/gateway 2.0.3-alpha-a21a51e41781463ed7e0ff919486e6fbbbb50296 → 2.0.3-alpha-f406507bb4896a56ef3c48f7f1a990da47d05240

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,6 +1,6 @@
1
1
  # @graphql-hive/gateway
2
2
 
3
- ## 2.0.3-alpha-a21a51e41781463ed7e0ff919486e6fbbbb50296
3
+ ## 2.0.3-alpha-f406507bb4896a56ef3c48f7f1a990da47d05240
4
4
  ### Patch Changes
5
5
 
6
6
 
@@ -26,57 +26,21 @@
26
26
  - Updated dependency [`dotenv@^17.2.2` ↗︎](https://www.npmjs.com/package/dotenv/v/17.2.2) (from `^17.2.1`, in `dependencies`)
27
27
 
28
28
 
29
- - [#1455](https://github.com/graphql-hive/gateway/pull/1455) [`b6f985b`](https://github.com/graphql-hive/gateway/commit/b6f985b0456ba7556cc299368892ffc5f7d4817e) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
29
+ - [#1454](https://github.com/graphql-hive/gateway/pull/1454) [`f406507`](https://github.com/graphql-hive/gateway/commit/f406507bb4896a56ef3c48f7f1a990da47d05240) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
30
30
 
31
31
  - Updated dependency [`@graphql-mesh/types@^0.104.12` ↗︎](https://www.npmjs.com/package/@graphql-mesh/types/v/0.104.12) (from `^0.104.11`, in `dependencies`)
32
32
  - Updated dependency [`@graphql-mesh/utils@^0.104.12` ↗︎](https://www.npmjs.com/package/@graphql-mesh/utils/v/0.104.12) (from `^0.104.11`, in `dependencies`)
33
-
34
-
35
- - [#1455](https://github.com/graphql-hive/gateway/pull/1455) [`b6f985b`](https://github.com/graphql-hive/gateway/commit/b6f985b0456ba7556cc299368892ffc5f7d4817e) Thanks [@ardatan](https://github.com/ardatan)! - Support client side pubsub operation definition with `@pubsubOperation`
36
-
37
- Instead of `@resolveTo` on the gateway-side configuration with `additionalTypeDefs`, now you can define those operations on the subgraphs directly. Since this is a additional directive provided by Mesh, you need to use `@composeDirective`
38
-
39
- ```graphql
40
- extend schema @link(
41
- url: "https://specs.apollo.dev/federation/v2.6"
42
- import: ["@key", "@composeDirective"]
43
- )
44
- @link(
45
- url: "https://the-guild.dev/mesh/v1.0"
46
- import: ["@pubsubOperation"]
47
- )
48
- @composeDirective(name: "@pubsubOperation")
49
-
50
- directive @pubsubOperation(
51
- pubsubTopic: String!
52
- filterBy: String
53
- result: String
54
- ) on FIELD_DEFINITION
55
-
56
- type Query {
57
- hello: String!
58
- }
59
- type Product @key(fields: "id") {
60
- id: ID!
61
- name: String!
62
- price: Float!
63
- }
64
-
65
- type Subscription {
66
- newProductSubgraph: Product! @pubsubOperation(pubsubTopic: "new_product")
67
- }
68
- ```
69
- - Updated dependencies [[`ab05e3f`](https://github.com/graphql-hive/gateway/commit/ab05e3f899b017067e0eb42301516d4fdf3b816d), [`b0e5568`](https://github.com/graphql-hive/gateway/commit/b0e55688d4fc22d0bfbf664de52e78e9642d7014), [`b6f985b`](https://github.com/graphql-hive/gateway/commit/b6f985b0456ba7556cc299368892ffc5f7d4817e), [`b0e5568`](https://github.com/graphql-hive/gateway/commit/b0e55688d4fc22d0bfbf664de52e78e9642d7014), [`b0e5568`](https://github.com/graphql-hive/gateway/commit/b0e55688d4fc22d0bfbf664de52e78e9642d7014), [`ab05e3f`](https://github.com/graphql-hive/gateway/commit/ab05e3f899b017067e0eb42301516d4fdf3b816d), [`b6f985b`](https://github.com/graphql-hive/gateway/commit/b6f985b0456ba7556cc299368892ffc5f7d4817e), [`ab05e3f`](https://github.com/graphql-hive/gateway/commit/ab05e3f899b017067e0eb42301516d4fdf3b816d), [`b6f985b`](https://github.com/graphql-hive/gateway/commit/b6f985b0456ba7556cc299368892ffc5f7d4817e), [`ab05e3f`](https://github.com/graphql-hive/gateway/commit/ab05e3f899b017067e0eb42301516d4fdf3b816d), [`b6f985b`](https://github.com/graphql-hive/gateway/commit/b6f985b0456ba7556cc299368892ffc5f7d4817e), [`ab05e3f`](https://github.com/graphql-hive/gateway/commit/ab05e3f899b017067e0eb42301516d4fdf3b816d), [`b6f985b`](https://github.com/graphql-hive/gateway/commit/b6f985b0456ba7556cc299368892ffc5f7d4817e), [`ab05e3f`](https://github.com/graphql-hive/gateway/commit/ab05e3f899b017067e0eb42301516d4fdf3b816d), [`b6f985b`](https://github.com/graphql-hive/gateway/commit/b6f985b0456ba7556cc299368892ffc5f7d4817e), [`ab05e3f`](https://github.com/graphql-hive/gateway/commit/ab05e3f899b017067e0eb42301516d4fdf3b816d), [`b6f985b`](https://github.com/graphql-hive/gateway/commit/b6f985b0456ba7556cc299368892ffc5f7d4817e), [`ab05e3f`](https://github.com/graphql-hive/gateway/commit/ab05e3f899b017067e0eb42301516d4fdf3b816d), [`b6f985b`](https://github.com/graphql-hive/gateway/commit/b6f985b0456ba7556cc299368892ffc5f7d4817e), [`b6f985b`](https://github.com/graphql-hive/gateway/commit/b6f985b0456ba7556cc299368892ffc5f7d4817e), [`105c10d`](https://github.com/graphql-hive/gateway/commit/105c10dbe2ef269b83a524927c4ba9e63631b055), [`105c10d`](https://github.com/graphql-hive/gateway/commit/105c10dbe2ef269b83a524927c4ba9e63631b055), [`b0e5568`](https://github.com/graphql-hive/gateway/commit/b0e55688d4fc22d0bfbf664de52e78e9642d7014)]:
70
- - @graphql-hive/gateway-runtime@2.0.3-alpha-a21a51e41781463ed7e0ff919486e6fbbbb50296
71
- - @graphql-hive/logger@1.0.2-alpha-a21a51e41781463ed7e0ff919486e6fbbbb50296
72
- - @graphql-hive/plugin-aws-sigv4@2.0.2-alpha-a21a51e41781463ed7e0ff919486e6fbbbb50296
73
- - @graphql-hive/plugin-opentelemetry@1.0.3-alpha-a21a51e41781463ed7e0ff919486e6fbbbb50296
74
- - @graphql-mesh/hmac-upstream-signature@2.0.1-alpha-a21a51e41781463ed7e0ff919486e6fbbbb50296
75
- - @graphql-mesh/plugin-jwt-auth@2.0.2-alpha-a21a51e41781463ed7e0ff919486e6fbbbb50296
76
- - @graphql-mesh/plugin-prometheus@2.0.3-alpha-a21a51e41781463ed7e0ff919486e6fbbbb50296
77
- - @graphql-mesh/transport-http@1.0.2-alpha-a21a51e41781463ed7e0ff919486e6fbbbb50296
78
- - @graphql-mesh/transport-http-callback@1.0.2-alpha-a21a51e41781463ed7e0ff919486e6fbbbb50296
79
- - @graphql-mesh/transport-ws@2.0.2-alpha-a21a51e41781463ed7e0ff919486e6fbbbb50296
33
+ - Updated dependencies [[`ab05e3f`](https://github.com/graphql-hive/gateway/commit/ab05e3f899b017067e0eb42301516d4fdf3b816d), [`b0e5568`](https://github.com/graphql-hive/gateway/commit/b0e55688d4fc22d0bfbf664de52e78e9642d7014), [`f406507`](https://github.com/graphql-hive/gateway/commit/f406507bb4896a56ef3c48f7f1a990da47d05240), [`b0e5568`](https://github.com/graphql-hive/gateway/commit/b0e55688d4fc22d0bfbf664de52e78e9642d7014), [`b0e5568`](https://github.com/graphql-hive/gateway/commit/b0e55688d4fc22d0bfbf664de52e78e9642d7014), [`ab05e3f`](https://github.com/graphql-hive/gateway/commit/ab05e3f899b017067e0eb42301516d4fdf3b816d), [`f406507`](https://github.com/graphql-hive/gateway/commit/f406507bb4896a56ef3c48f7f1a990da47d05240), [`ab05e3f`](https://github.com/graphql-hive/gateway/commit/ab05e3f899b017067e0eb42301516d4fdf3b816d), [`f406507`](https://github.com/graphql-hive/gateway/commit/f406507bb4896a56ef3c48f7f1a990da47d05240), [`ab05e3f`](https://github.com/graphql-hive/gateway/commit/ab05e3f899b017067e0eb42301516d4fdf3b816d), [`f406507`](https://github.com/graphql-hive/gateway/commit/f406507bb4896a56ef3c48f7f1a990da47d05240), [`ab05e3f`](https://github.com/graphql-hive/gateway/commit/ab05e3f899b017067e0eb42301516d4fdf3b816d), [`f406507`](https://github.com/graphql-hive/gateway/commit/f406507bb4896a56ef3c48f7f1a990da47d05240), [`ab05e3f`](https://github.com/graphql-hive/gateway/commit/ab05e3f899b017067e0eb42301516d4fdf3b816d), [`f406507`](https://github.com/graphql-hive/gateway/commit/f406507bb4896a56ef3c48f7f1a990da47d05240), [`ab05e3f`](https://github.com/graphql-hive/gateway/commit/ab05e3f899b017067e0eb42301516d4fdf3b816d), [`f406507`](https://github.com/graphql-hive/gateway/commit/f406507bb4896a56ef3c48f7f1a990da47d05240), [`ab05e3f`](https://github.com/graphql-hive/gateway/commit/ab05e3f899b017067e0eb42301516d4fdf3b816d), [`f406507`](https://github.com/graphql-hive/gateway/commit/f406507bb4896a56ef3c48f7f1a990da47d05240), [`105c10d`](https://github.com/graphql-hive/gateway/commit/105c10dbe2ef269b83a524927c4ba9e63631b055), [`9a45a9a`](https://github.com/graphql-hive/gateway/commit/9a45a9a21d39d5290c68a5375216017846db17a4), [`105c10d`](https://github.com/graphql-hive/gateway/commit/105c10dbe2ef269b83a524927c4ba9e63631b055), [`e2ad307`](https://github.com/graphql-hive/gateway/commit/e2ad30744402019c3537059313590b487170b369), [`b0e5568`](https://github.com/graphql-hive/gateway/commit/b0e55688d4fc22d0bfbf664de52e78e9642d7014), [`09304e8`](https://github.com/graphql-hive/gateway/commit/09304e84c80896270ce2f3a926d42d74229b2c8a)]:
34
+ - @graphql-hive/gateway-runtime@2.0.3-alpha-f406507bb4896a56ef3c48f7f1a990da47d05240
35
+ - @graphql-hive/logger@1.0.2-alpha-f406507bb4896a56ef3c48f7f1a990da47d05240
36
+ - @graphql-hive/plugin-aws-sigv4@2.0.2-alpha-f406507bb4896a56ef3c48f7f1a990da47d05240
37
+ - @graphql-hive/plugin-opentelemetry@1.0.3-alpha-f406507bb4896a56ef3c48f7f1a990da47d05240
38
+ - @graphql-mesh/hmac-upstream-signature@2.0.1-alpha-f406507bb4896a56ef3c48f7f1a990da47d05240
39
+ - @graphql-mesh/plugin-jwt-auth@2.0.2-alpha-f406507bb4896a56ef3c48f7f1a990da47d05240
40
+ - @graphql-mesh/plugin-prometheus@2.0.3-alpha-f406507bb4896a56ef3c48f7f1a990da47d05240
41
+ - @graphql-mesh/transport-http@1.0.2-alpha-f406507bb4896a56ef3c48f7f1a990da47d05240
42
+ - @graphql-mesh/transport-http-callback@1.0.2-alpha-f406507bb4896a56ef3c48f7f1a990da47d05240
43
+ - @graphql-mesh/transport-ws@2.0.2-alpha-f406507bb4896a56ef3c48f7f1a990da47d05240
80
44
 
81
45
  ## 2.0.2
82
46
  ### 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.3-alpha-a21a51e41781463ed7e0ff919486e6fbbbb50296';
31
+ globalThis.__VERSION__ = '2.0.3-alpha-f406507bb4896a56ef3c48f7f1a990da47d05240';
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.3-alpha-a21a51e41781463ed7e0ff919486e6fbbbb50296';
25
+ globalThis.__VERSION__ = '2.0.3-alpha-f406507bb4896a56ef3c48f7f1a990da47d05240';
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-alpha-a21a51e41781463ed7e0ff919486e6fbbbb50296",
3
+ "version": "2.0.3-alpha-f406507bb4896a56ef3c48f7f1a990da47d05240",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -78,34 +78,34 @@
78
78
  "graphql": "^15.9.0 || ^16.9.0"
79
79
  },
80
80
  "dependencies": {
81
- "@commander-js/extra-typings": "^14.0.0",
81
+ "@commander-js/extra-typings": "^13.1.0",
82
82
  "@envelop/core": "^5.3.1",
83
83
  "@escape.tech/graphql-armor-block-field-suggestions": "^3.0.0",
84
84
  "@escape.tech/graphql-armor-max-depth": "^2.4.2",
85
85
  "@escape.tech/graphql-armor-max-tokens": "^2.5.0",
86
- "@graphql-hive/gateway-runtime": "2.0.3-alpha-a21a51e41781463ed7e0ff919486e6fbbbb50296",
86
+ "@graphql-hive/gateway-runtime": "2.0.3-alpha-f406507bb4896a56ef3c48f7f1a990da47d05240",
87
87
  "@graphql-hive/importer": "^2.0.0",
88
- "@graphql-hive/logger": "1.0.2-alpha-a21a51e41781463ed7e0ff919486e6fbbbb50296",
89
- "@graphql-hive/plugin-aws-sigv4": "2.0.2-alpha-a21a51e41781463ed7e0ff919486e6fbbbb50296",
90
- "@graphql-hive/plugin-opentelemetry": "1.0.3-alpha-a21a51e41781463ed7e0ff919486e6fbbbb50296",
88
+ "@graphql-hive/logger": "1.0.2-alpha-f406507bb4896a56ef3c48f7f1a990da47d05240",
89
+ "@graphql-hive/plugin-aws-sigv4": "2.0.2-alpha-f406507bb4896a56ef3c48f7f1a990da47d05240",
90
+ "@graphql-hive/plugin-opentelemetry": "1.0.3-alpha-f406507bb4896a56ef3c48f7f1a990da47d05240",
91
91
  "@graphql-hive/pubsub": "^2.1.0",
92
92
  "@graphql-mesh/cache-cfw-kv": "^0.105.11",
93
93
  "@graphql-mesh/cache-localforage": "^0.105.12",
94
94
  "@graphql-mesh/cache-redis": "^0.104.11",
95
95
  "@graphql-mesh/cache-upstash-redis": "^0.1.11",
96
96
  "@graphql-mesh/cross-helpers": "^0.4.10",
97
- "@graphql-mesh/hmac-upstream-signature": "2.0.1-alpha-a21a51e41781463ed7e0ff919486e6fbbbb50296",
97
+ "@graphql-mesh/hmac-upstream-signature": "2.0.1-alpha-f406507bb4896a56ef3c48f7f1a990da47d05240",
98
98
  "@graphql-mesh/plugin-http-cache": "^0.105.12",
99
99
  "@graphql-mesh/plugin-jit": "^0.2.11",
100
- "@graphql-mesh/plugin-jwt-auth": "2.0.2-alpha-a21a51e41781463ed7e0ff919486e6fbbbb50296",
101
- "@graphql-mesh/plugin-prometheus": "2.0.3-alpha-a21a51e41781463ed7e0ff919486e6fbbbb50296",
100
+ "@graphql-mesh/plugin-jwt-auth": "2.0.2-alpha-f406507bb4896a56ef3c48f7f1a990da47d05240",
101
+ "@graphql-mesh/plugin-prometheus": "2.0.3-alpha-f406507bb4896a56ef3c48f7f1a990da47d05240",
102
102
  "@graphql-mesh/plugin-rate-limit": "^0.104.11",
103
103
  "@graphql-mesh/plugin-snapshot": "^0.104.11",
104
- "@graphql-mesh/transport-http": "1.0.2-alpha-a21a51e41781463ed7e0ff919486e6fbbbb50296",
105
- "@graphql-mesh/transport-http-callback": "1.0.2-alpha-a21a51e41781463ed7e0ff919486e6fbbbb50296",
106
- "@graphql-mesh/transport-ws": "2.0.2-alpha-a21a51e41781463ed7e0ff919486e6fbbbb50296",
107
- "@graphql-mesh/types": "^0.104.12",
108
- "@graphql-mesh/utils": "^0.104.12",
104
+ "@graphql-mesh/transport-http": "1.0.2-alpha-f406507bb4896a56ef3c48f7f1a990da47d05240",
105
+ "@graphql-mesh/transport-http-callback": "1.0.2-alpha-f406507bb4896a56ef3c48f7f1a990da47d05240",
106
+ "@graphql-mesh/transport-ws": "2.0.2-alpha-f406507bb4896a56ef3c48f7f1a990da47d05240",
107
+ "@graphql-mesh/types": "^0.104.11",
108
+ "@graphql-mesh/utils": "^0.104.11",
109
109
  "@graphql-tools/code-file-loader": "^8.1.22",
110
110
  "@graphql-tools/graphql-file-loader": "^8.1.1",
111
111
  "@graphql-tools/load": "^8.1.2",
@@ -124,7 +124,7 @@
124
124
  "@opentelemetry/sdk-logs": "^0.203.0",
125
125
  "@opentelemetry/sdk-metrics": "^2.0.1",
126
126
  "@opentelemetry/sdk-trace-base": "^2.0.1",
127
- "commander": "^14.0.0",
127
+ "commander": "^13.1.0",
128
128
  "dotenv": "^17.2.2",
129
129
  "graphql-ws": "^6.0.6",
130
130
  "graphql-yoga": "^5.15.1",
@@ -132,7 +132,7 @@
132
132
  "ws": "^8.18.3"
133
133
  },
134
134
  "devDependencies": {
135
- "@graphql-mesh/transport-common": "1.0.2-alpha-a21a51e41781463ed7e0ff919486e6fbbbb50296",
135
+ "@graphql-mesh/transport-common": "1.0.2-alpha-f406507bb4896a56ef3c48f7f1a990da47d05240",
136
136
  "@graphql-mesh/transport-soap": "^0.10.12",
137
137
  "@graphql-tools/executor": "^1.4.9",
138
138
  "@rollup/plugin-commonjs": "^28.0.0",