@graphql-hive/gateway 1.16.2-rc-71ac88a356ed5c90c1778025a9eaa7fd14de9bd0 → 1.16.2

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 +43 -11
  2. package/package.json +12 -12
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @graphql-hive/gateway
2
2
 
3
- ## 1.16.2-rc-71ac88a356ed5c90c1778025a9eaa7fd14de9bd0
3
+ ## 1.16.2
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -11,16 +11,48 @@
11
11
  - Updated dependency [`@graphql-tools/utils@^10.9.1` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.9.1) (from `^10.9.0`, in `dependencies`)
12
12
  - Updated dependency [`dotenv@^17.2.1` ↗︎](https://www.npmjs.com/package/dotenv/v/17.2.1) (from `^17.2.0`, in `dependencies`)
13
13
 
14
- - Updated dependencies [[`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`6cedc05`](https://github.com/graphql-hive/gateway/commit/6cedc056ef4070bc1719fbe222d60c0d48af5a71)]:
15
- - @graphql-hive/gateway-runtime@1.10.2-rc-71ac88a356ed5c90c1778025a9eaa7fd14de9bd0
16
- - @graphql-hive/plugin-deduplicate-request@1.0.3-rc-71ac88a356ed5c90c1778025a9eaa7fd14de9bd0
17
- - @graphql-mesh/hmac-upstream-signature@1.2.30-rc-71ac88a356ed5c90c1778025a9eaa7fd14de9bd0
18
- - @graphql-mesh/plugin-opentelemetry@1.3.65-rc-71ac88a356ed5c90c1778025a9eaa7fd14de9bd0
19
- - @graphql-mesh/plugin-prometheus@1.3.53-rc-71ac88a356ed5c90c1778025a9eaa7fd14de9bd0
20
- - @graphql-mesh/transport-http@0.7.1-rc-71ac88a356ed5c90c1778025a9eaa7fd14de9bd0
21
- - @graphql-mesh/transport-http-callback@0.7.1-rc-71ac88a356ed5c90c1778025a9eaa7fd14de9bd0
22
- - @graphql-mesh/transport-ws@1.1.1-rc-71ac88a356ed5c90c1778025a9eaa7fd14de9bd0
23
- - @graphql-hive/plugin-aws-sigv4@1.0.17-rc-71ac88a356ed5c90c1778025a9eaa7fd14de9bd0
14
+ - [#1368](https://github.com/graphql-hive/gateway/pull/1368) [`a6aeed2`](https://github.com/graphql-hive/gateway/commit/a6aeed298de71271e59f86d3effc14ae0f65c703) Thanks [@ardatan](https://github.com/ardatan)! - Support `Promise` as a result of `outgoing`;
15
+
16
+ So you can use credentials providers from `@aws-sdk/credential-providers` package.
17
+ [See more](https://www.npmjs.com/package/@aws-sdk/credential-providers#fromnodeproviderchain).
18
+
19
+ ```ts
20
+ import { fromNodeProviderChain } from '@aws-sdk/credential-providers';
21
+ import { defineConfig } from '@graphql-hive/gateway';
22
+
23
+ const config = defineConfig({
24
+ plugins: [
25
+ useAWSSigv4({
26
+ outgoing: fromNodeProviderChain({
27
+ // This provider accepts any input of fromEnv(), fromSSO(), fromTokenFile(),
28
+ // fromIni(), fromProcess(), fromInstanceMetadata(), fromContainerMetadata()
29
+ // that exist in the default credential chain.
30
+
31
+ // Optional client overrides. This is passed to an inner credentials client
32
+ // that may be STS, SSO, or other instantiated to resolve the credentials.
33
+ // Region and profile are inherited from the upper client if present
34
+ // unless overridden, so it should not be necessary to set those.
35
+ //
36
+ // Warning: setting a region here may override the region set in
37
+ // the config file for the selected profile if profile-based
38
+ // credentials are used.
39
+ clientConfig: {},
40
+ }),
41
+ }),
42
+ ],
43
+ });
44
+ ```
45
+
46
+ - Updated dependencies [[`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`38e5173`](https://github.com/graphql-hive/gateway/commit/38e51731e31e9e8bcdbeb370ae7cac5657a6f6d3), [`bfe2ac7`](https://github.com/graphql-hive/gateway/commit/bfe2ac7fbb40b3a1fc22c8be9d52b95c68ee4fe3), [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`6cedc05`](https://github.com/graphql-hive/gateway/commit/6cedc056ef4070bc1719fbe222d60c0d48af5a71), [`a6aeed2`](https://github.com/graphql-hive/gateway/commit/a6aeed298de71271e59f86d3effc14ae0f65c703)]:
47
+ - @graphql-hive/gateway-runtime@1.10.2
48
+ - @graphql-hive/plugin-aws-sigv4@1.0.17
49
+ - @graphql-hive/plugin-deduplicate-request@1.0.3
50
+ - @graphql-mesh/hmac-upstream-signature@1.2.30
51
+ - @graphql-mesh/plugin-opentelemetry@1.3.65
52
+ - @graphql-mesh/plugin-prometheus@1.3.53
53
+ - @graphql-mesh/transport-http@0.7.1
54
+ - @graphql-mesh/transport-http-callback@0.7.1
55
+ - @graphql-mesh/transport-ws@1.1.1
24
56
 
25
57
  ## 1.16.1
26
58
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-hive/gateway",
3
- "version": "1.16.2-rc-71ac88a356ed5c90c1778025a9eaa7fd14de9bd0",
3
+ "version": "1.16.2",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -53,28 +53,28 @@
53
53
  "@escape.tech/graphql-armor-block-field-suggestions": "^3.0.0",
54
54
  "@escape.tech/graphql-armor-max-depth": "^2.4.0",
55
55
  "@escape.tech/graphql-armor-max-tokens": "^2.5.0",
56
- "@graphql-hive/gateway-runtime": "1.10.2-rc-71ac88a356ed5c90c1778025a9eaa7fd14de9bd0",
56
+ "@graphql-hive/gateway-runtime": "^1.10.2",
57
57
  "@graphql-hive/importer": "^1.1.0",
58
- "@graphql-hive/plugin-aws-sigv4": "1.0.17-rc-71ac88a356ed5c90c1778025a9eaa7fd14de9bd0",
59
- "@graphql-hive/plugin-deduplicate-request": "1.0.3-rc-71ac88a356ed5c90c1778025a9eaa7fd14de9bd0",
58
+ "@graphql-hive/plugin-aws-sigv4": "^1.0.17",
59
+ "@graphql-hive/plugin-deduplicate-request": "^1.0.3",
60
60
  "@graphql-hive/pubsub": "^1.0.0",
61
61
  "@graphql-mesh/cache-cfw-kv": "^0.105.5",
62
62
  "@graphql-mesh/cache-localforage": "^0.105.6",
63
63
  "@graphql-mesh/cache-redis": "^0.104.5",
64
64
  "@graphql-mesh/cache-upstash-redis": "^0.1.5",
65
65
  "@graphql-mesh/cross-helpers": "^0.4.10",
66
- "@graphql-mesh/hmac-upstream-signature": "1.2.30-rc-71ac88a356ed5c90c1778025a9eaa7fd14de9bd0",
66
+ "@graphql-mesh/hmac-upstream-signature": "^1.2.30",
67
67
  "@graphql-mesh/plugin-http-cache": "^0.105.6",
68
68
  "@graphql-mesh/plugin-jit": "^0.2.5",
69
69
  "@graphql-mesh/plugin-jwt-auth": "^1.5.7",
70
70
  "@graphql-mesh/plugin-mock": "^0.105.6",
71
- "@graphql-mesh/plugin-opentelemetry": "1.3.65-rc-71ac88a356ed5c90c1778025a9eaa7fd14de9bd0",
72
- "@graphql-mesh/plugin-prometheus": "1.3.53-rc-71ac88a356ed5c90c1778025a9eaa7fd14de9bd0",
71
+ "@graphql-mesh/plugin-opentelemetry": "^1.3.65",
72
+ "@graphql-mesh/plugin-prometheus": "^1.3.53",
73
73
  "@graphql-mesh/plugin-rate-limit": "^0.104.5",
74
74
  "@graphql-mesh/plugin-snapshot": "^0.104.5",
75
- "@graphql-mesh/transport-http": "0.7.1-rc-71ac88a356ed5c90c1778025a9eaa7fd14de9bd0",
76
- "@graphql-mesh/transport-http-callback": "0.7.1-rc-71ac88a356ed5c90c1778025a9eaa7fd14de9bd0",
77
- "@graphql-mesh/transport-ws": "1.1.1-rc-71ac88a356ed5c90c1778025a9eaa7fd14de9bd0",
75
+ "@graphql-mesh/transport-http": "^0.7.1",
76
+ "@graphql-mesh/transport-http-callback": "^0.7.1",
77
+ "@graphql-mesh/transport-ws": "^1.1.1",
78
78
  "@graphql-mesh/types": "^0.104.5",
79
79
  "@graphql-mesh/utils": "^0.104.5",
80
80
  "@graphql-tools/code-file-loader": "^8.1.22",
@@ -90,7 +90,7 @@
90
90
  "ws": "^8.18.3"
91
91
  },
92
92
  "devDependencies": {
93
- "@graphql-mesh/transport-common": "0.7.37-rc-71ac88a356ed5c90c1778025a9eaa7fd14de9bd0",
93
+ "@graphql-mesh/transport-common": "^0.7.37",
94
94
  "@graphql-mesh/transport-soap": "^0.10.6",
95
95
  "@graphql-tools/executor": "^1.4.9",
96
96
  "@rollup/plugin-commonjs": "^28.0.0",
@@ -106,7 +106,7 @@
106
106
  "bun": "^1.2.18",
107
107
  "graphql": "^16.9.0",
108
108
  "parse-duration": "^2.0.0",
109
- "pkgroll": "2.14.5",
109
+ "pkgroll": "2.15.0",
110
110
  "postject": "^1.0.0-alpha.6",
111
111
  "rimraf": "^6.0.1",
112
112
  "rollup": "4.44.0",