@graphql-hive/gateway
Version:
602 lines (449 loc) • 129 kB
Markdown
# @graphql-hive/gateway
## 1.16.3-alpha-cd12c8ada0500da1601c7b556442de73d21cbdb6
### Patch Changes
- [#1383](https://github.com/graphql-hive/gateway/pull/1383) [`a832e7b`](https://github.com/graphql-hive/gateway/commit/a832e7bf9a8f92c48fb9df8ca1bff5a008dcf420) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates:
- Updated dependency [`@graphql-mesh/cache-cfw-kv@^0.105.7` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-cfw-kv/v/0.105.7) (from `^0.105.5`, in `dependencies`)
- Updated dependency [`@graphql-mesh/cache-localforage@^0.105.8` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-localforage/v/0.105.8) (from `^0.105.6`, in `dependencies`)
- Updated dependency [`@graphql-mesh/cache-redis@^0.104.7` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-redis/v/0.104.7) (from `^0.104.5`, in `dependencies`)
- Updated dependency [`@graphql-mesh/cache-upstash-redis@^0.1.7` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-upstash-redis/v/0.1.7) (from `^0.1.5`, in `dependencies`)
- Updated dependency [`@graphql-mesh/plugin-http-cache@^0.105.8` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-http-cache/v/0.105.8) (from `^0.105.6`, in `dependencies`)
- Updated dependency [`@graphql-mesh/plugin-jit@^0.2.7` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-jit/v/0.2.7) (from `^0.2.5`, in `dependencies`)
- Updated dependency [`@graphql-mesh/plugin-mock@^0.105.8` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-mock/v/0.105.8) (from `^0.105.6`, in `dependencies`)
- Updated dependency [`@graphql-mesh/plugin-rate-limit@^0.104.7` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-rate-limit/v/0.104.7) (from `^0.104.5`, in `dependencies`)
- Updated dependency [`@graphql-mesh/plugin-snapshot@^0.104.7` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-snapshot/v/0.104.7) (from `^0.104.5`, in `dependencies`)
- Updated dependency [`@graphql-mesh/types@^0.104.7` ↗︎](https://www.npmjs.com/package/@graphql-mesh/types/v/0.104.7) (from `^0.104.5`, in `dependencies`)
- Updated dependency [`@graphql-mesh/utils@^0.104.7` ↗︎](https://www.npmjs.com/package/@graphql-mesh/utils/v/0.104.7) (from `^0.104.5`, in `dependencies`)
- Updated dependencies [[`a832e7b`](https://github.com/graphql-hive/gateway/commit/a832e7bf9a8f92c48fb9df8ca1bff5a008dcf420), [`bed67a6`](https://github.com/graphql-hive/gateway/commit/bed67a6eaf57b2aa6c7d08d1137b3bd8c4d4b066), [`a832e7b`](https://github.com/graphql-hive/gateway/commit/a832e7bf9a8f92c48fb9df8ca1bff5a008dcf420), [`a832e7b`](https://github.com/graphql-hive/gateway/commit/a832e7bf9a8f92c48fb9df8ca1bff5a008dcf420), [`a832e7b`](https://github.com/graphql-hive/gateway/commit/a832e7bf9a8f92c48fb9df8ca1bff5a008dcf420), [`a832e7b`](https://github.com/graphql-hive/gateway/commit/a832e7bf9a8f92c48fb9df8ca1bff5a008dcf420), [`a832e7b`](https://github.com/graphql-hive/gateway/commit/a832e7bf9a8f92c48fb9df8ca1bff5a008dcf420), [`a832e7b`](https://github.com/graphql-hive/gateway/commit/a832e7bf9a8f92c48fb9df8ca1bff5a008dcf420), [`a832e7b`](https://github.com/graphql-hive/gateway/commit/a832e7bf9a8f92c48fb9df8ca1bff5a008dcf420), [`a832e7b`](https://github.com/graphql-hive/gateway/commit/a832e7bf9a8f92c48fb9df8ca1bff5a008dcf420)]:
- @graphql-hive/gateway-runtime@1.10.3-alpha-cd12c8ada0500da1601c7b556442de73d21cbdb6
- @graphql-hive/plugin-aws-sigv4@1.0.18-alpha-cd12c8ada0500da1601c7b556442de73d21cbdb6
- @graphql-hive/plugin-deduplicate-request@1.0.4-alpha-cd12c8ada0500da1601c7b556442de73d21cbdb6
- @graphql-mesh/hmac-upstream-signature@1.2.31-alpha-cd12c8ada0500da1601c7b556442de73d21cbdb6
- @graphql-mesh/plugin-jwt-auth@1.5.8-alpha-cd12c8ada0500da1601c7b556442de73d21cbdb6
- @graphql-mesh/plugin-opentelemetry@1.3.66-alpha-cd12c8ada0500da1601c7b556442de73d21cbdb6
- @graphql-mesh/plugin-prometheus@1.3.54-alpha-cd12c8ada0500da1601c7b556442de73d21cbdb6
- @graphql-mesh/transport-http@0.7.2-alpha-cd12c8ada0500da1601c7b556442de73d21cbdb6
- @graphql-mesh/transport-http-callback@0.7.2-alpha-cd12c8ada0500da1601c7b556442de73d21cbdb6
- @graphql-mesh/transport-ws@1.1.2-alpha-cd12c8ada0500da1601c7b556442de73d21cbdb6
## 1.16.2
### Patch Changes
- [#1358](https://github.com/graphql-hive/gateway/pull/1358) [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates:
- Updated dependency [`@graphql-tools/code-file-loader@^8.1.22` ↗︎](https://www.npmjs.com/package/@graphql-tools/code-file-loader/v/8.1.22) (from `^8.1.21`, in `dependencies`)
- Updated dependency [`@graphql-tools/graphql-file-loader@^8.0.22` ↗︎](https://www.npmjs.com/package/@graphql-tools/graphql-file-loader/v/8.0.22) (from `^8.0.21`, in `dependencies`)
- Updated dependency [`@graphql-tools/load@^8.1.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/load/v/8.1.2) (from `^8.1.1`, in `dependencies`)
- 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`)
- Updated dependency [`dotenv@^17.2.1` ↗︎](https://www.npmjs.com/package/dotenv/v/17.2.1) (from `^17.2.0`, in `dependencies`)
- [#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`;
So you can use credentials providers from `@aws-sdk/credential-providers` package.
[See more](https://www.npmjs.com/package/@aws-sdk/credential-providers#fromnodeproviderchain).
```ts
import { fromNodeProviderChain } from '@aws-sdk/credential-providers';
import { defineConfig } from '@graphql-hive/gateway';
const config = defineConfig({
plugins: [
useAWSSigv4({
outgoing: fromNodeProviderChain({
// This provider accepts any input of fromEnv(), fromSSO(), fromTokenFile(),
// fromIni(), fromProcess(), fromInstanceMetadata(), fromContainerMetadata()
// that exist in the default credential chain.
// Optional client overrides. This is passed to an inner credentials client
// that may be STS, SSO, or other instantiated to resolve the credentials.
// Region and profile are inherited from the upper client if present
// unless overridden, so it should not be necessary to set those.
//
// Warning: setting a region here may override the region set in
// the config file for the selected profile if profile-based
// credentials are used.
clientConfig: {},
}),
}),
],
});
```
- 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)]:
- @graphql-hive/gateway-runtime@1.10.2
- @graphql-hive/plugin-aws-sigv4@1.0.17
- @graphql-hive/plugin-deduplicate-request@1.0.3
- @graphql-mesh/hmac-upstream-signature@1.2.30
- @graphql-mesh/plugin-opentelemetry@1.3.65
- @graphql-mesh/plugin-prometheus@1.3.53
- @graphql-mesh/transport-http@0.7.1
- @graphql-mesh/transport-http-callback@0.7.1
- @graphql-mesh/transport-ws@1.1.1
## 1.16.1
### Patch Changes
- Updated dependencies [[`352e89d`](https://github.com/graphql-hive/gateway/commit/352e89d496ecd19db02cbaa2ade58c2da77d69c6)]:
- @graphql-hive/gateway-runtime@1.10.1
- @graphql-hive/plugin-aws-sigv4@1.0.16
- @graphql-hive/plugin-deduplicate-request@1.0.2
- @graphql-mesh/hmac-upstream-signature@1.2.29
- @graphql-mesh/plugin-opentelemetry@1.3.64
- @graphql-mesh/plugin-prometheus@1.3.52
## 1.16.0
### Minor Changes
- [#1310](https://github.com/graphql-hive/gateway/pull/1310) [`2fa0c8f`](https://github.com/graphql-hive/gateway/commit/2fa0c8f1dd074c9da8e6ac4086eb3009be9fdf07) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Added new `withState` plugin utility for easy data sharing between hooks.
## New plugin utility to ease data sharing between hooks
Sometimes, plugins can grow in complexity and need to share data between its hooks.
A way to solve this can be to mutate the graphql context, but this context is not always available
in all hooks in Yoga or Hive Gateway plugins. Moreover, mutating the context gives access to your
internal data to all other plugins and graphql resolvers, without mentioning performance impact on
field access on this object.
The recommended approach to this problem was to use a `WeakMap` with a stable key (often the
`context` or `request` object). While it works, it's not very convenient for plugin developers, and
is prone to error with the choice of key.
The new `withState` utility solves this DX issue by providing an easy and straightforward API for
data sharing between hooks.
```ts
import { withState } from '@graphql-hive/gateway';
type State = { foo: string };
const myPlugin = () =>
withState<Plugin, State>(() => ({
onParse({ state }) {
state.forOperation.foo = 'foo';
},
onValidate({ state }) {
const { foo } = state.forOperation;
console.log('foo', foo);
},
}));
```
The `state` payload field will be available in all relevant hooks, making it easy to access shared
data. It also forces the developer to choose the scope for the data:
- `forOperation` for a data scoped to GraphQL operation (Envelop, Yoga and Hive Gateway)
- `forRequest` for a data scoped to HTTP request (Yoga and Hive Gateway)
- `forSubgraphExecution` for a data scoped to the subgraph execution (Hive Gateway)
Not all scopes are available in all hooks, the type reflects which scopes are available
Under the hood, those states are kept in memory using `WeakMap`, which avoid any memory leaks.
It is also possible to manually retrieve the state with the `getState` function:
```ts
const myPlugin = () =>
withState((getState) => ({
onParse({ context }) {
// You can provide a payload, which will dictate which scope you have access to.
// The scope can contain `context`, `request` and `executionRequest` fields.
const state = getState({ context });
// Use the state elsewhere.
},
}));
```
### Patch Changes
- [#1318](https://github.com/graphql-hive/gateway/pull/1318) [`7dafdeb`](https://github.com/graphql-hive/gateway/commit/7dafdebc803e49373fe9d53997113483e512fdb0) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates:
- Updated dependency [`@graphql-yoga/render-graphiql@^5.15.1` ↗︎](https://www.npmjs.com/package/@graphql-yoga/render-graphiql/v/5.15.1) (from `^5.13.5`, in `dependencies`)
- Updated dependency [`graphql-yoga@^5.15.1` ↗︎](https://www.npmjs.com/package/graphql-yoga/v/5.15.1) (from `^5.13.5`, in `dependencies`)
- [#1321](https://github.com/graphql-hive/gateway/pull/1321) [`6215001`](https://github.com/graphql-hive/gateway/commit/6215001b1d650ad865331661532bcc4f7bad6b40) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates:
- Updated dependency [`@envelop/core@^5.3.0` ↗︎](https://www.npmjs.com/package/@envelop/core/v/5.3.0) (from `^5.2.3`, in `dependencies`)
- Updated dependency [`ws@^8.18.3` ↗︎](https://www.npmjs.com/package/ws/v/8.18.3) (from `^8.18.0`, in `dependencies`)
- [#1325](https://github.com/graphql-hive/gateway/pull/1325) [`910ff77`](https://github.com/graphql-hive/gateway/commit/910ff777ce787297cece37ec66c3382bc292412b) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates:
- Updated dependency [`dotenv@^17.2.0` ↗︎](https://www.npmjs.com/package/dotenv/v/17.2.0) (from `^16.4.7`, in `dependencies`)
- [#1329](https://github.com/graphql-hive/gateway/pull/1329) [`ce99e43`](https://github.com/graphql-hive/gateway/commit/ce99e43b9fec43c665836bd3a282ce6d4302481d) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates:
- Updated dependency [`graphql-ws@^6.0.6` ↗︎](https://www.npmjs.com/package/graphql-ws/v/6.0.6) (from `^6.0.4`, in `dependencies`)
- [#1344](https://github.com/graphql-hive/gateway/pull/1344) [`a71236d`](https://github.com/graphql-hive/gateway/commit/a71236d6ba356741bc85fe27757bea45576dcf1a) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates:
- Updated dependency [`@graphql-tools/code-file-loader@^8.1.21` ↗︎](https://www.npmjs.com/package/@graphql-tools/code-file-loader/v/8.1.21) (from `^8.1.15`, in `dependencies`)
- Updated dependency [`@graphql-tools/graphql-file-loader@^8.0.21` ↗︎](https://www.npmjs.com/package/@graphql-tools/graphql-file-loader/v/8.0.21) (from `^8.0.20`, in `dependencies`)
- Updated dependency [`@graphql-tools/load@^8.1.1` ↗︎](https://www.npmjs.com/package/@graphql-tools/load/v/8.1.1) (from `^8.0.14`, in `dependencies`)
- 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`)
- [#1333](https://github.com/graphql-hive/gateway/pull/1333) [`ffa3753`](https://github.com/graphql-hive/gateway/commit/ffa3753ccb9045c5b2d62af05edc7f1d78336cb3) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Isomorphic environment variable getter with truthy value parsing
- Updated dependencies [[`7dafdeb`](https://github.com/graphql-hive/gateway/commit/7dafdebc803e49373fe9d53997113483e512fdb0), [`6215001`](https://github.com/graphql-hive/gateway/commit/6215001b1d650ad865331661532bcc4f7bad6b40), [`f12f2b7`](https://github.com/graphql-hive/gateway/commit/f12f2b78163fbef797a42b5999a0b5a8ef6b2c98), [`ce99e43`](https://github.com/graphql-hive/gateway/commit/ce99e43b9fec43c665836bd3a282ce6d4302481d), [`a71236d`](https://github.com/graphql-hive/gateway/commit/a71236d6ba356741bc85fe27757bea45576dcf1a), [`6215001`](https://github.com/graphql-hive/gateway/commit/6215001b1d650ad865331661532bcc4f7bad6b40), [`a71236d`](https://github.com/graphql-hive/gateway/commit/a71236d6ba356741bc85fe27757bea45576dcf1a), [`a71236d`](https://github.com/graphql-hive/gateway/commit/a71236d6ba356741bc85fe27757bea45576dcf1a), [`a71236d`](https://github.com/graphql-hive/gateway/commit/a71236d6ba356741bc85fe27757bea45576dcf1a), [`7dafdeb`](https://github.com/graphql-hive/gateway/commit/7dafdebc803e49373fe9d53997113483e512fdb0), [`a71236d`](https://github.com/graphql-hive/gateway/commit/a71236d6ba356741bc85fe27757bea45576dcf1a), [`7dafdeb`](https://github.com/graphql-hive/gateway/commit/7dafdebc803e49373fe9d53997113483e512fdb0), [`a71236d`](https://github.com/graphql-hive/gateway/commit/a71236d6ba356741bc85fe27757bea45576dcf1a), [`a71236d`](https://github.com/graphql-hive/gateway/commit/a71236d6ba356741bc85fe27757bea45576dcf1a), [`7287ffa`](https://github.com/graphql-hive/gateway/commit/7287ffa2ac0f08801c3058e96a7c4eba7102c1d0), [`a71236d`](https://github.com/graphql-hive/gateway/commit/a71236d6ba356741bc85fe27757bea45576dcf1a), [`6215001`](https://github.com/graphql-hive/gateway/commit/6215001b1d650ad865331661532bcc4f7bad6b40), [`ce99e43`](https://github.com/graphql-hive/gateway/commit/ce99e43b9fec43c665836bd3a282ce6d4302481d), [`a71236d`](https://github.com/graphql-hive/gateway/commit/a71236d6ba356741bc85fe27757bea45576dcf1a), [`ffa3753`](https://github.com/graphql-hive/gateway/commit/ffa3753ccb9045c5b2d62af05edc7f1d78336cb3), [`1fe005f`](https://github.com/graphql-hive/gateway/commit/1fe005f270c9fd0f8fcd2d0c3ffc27d722638f57), [`2fa0c8f`](https://github.com/graphql-hive/gateway/commit/2fa0c8f1dd074c9da8e6ac4086eb3009be9fdf07), [`9b230f3`](https://github.com/graphql-hive/gateway/commit/9b230f35b47afbf3b253e4c21720e836c5a2a8d1), [`b59a266`](https://github.com/graphql-hive/gateway/commit/b59a26628c368272b50380bab57553070e2edf6e)]:
- @graphql-hive/gateway-runtime@1.10.0
- @graphql-hive/plugin-aws-sigv4@1.0.16
- @graphql-hive/plugin-deduplicate-request@1.0.2
- @graphql-mesh/hmac-upstream-signature@1.2.29
- @graphql-mesh/plugin-jwt-auth@1.5.7
- @graphql-mesh/plugin-opentelemetry@1.3.63
- @graphql-mesh/plugin-prometheus@1.3.51
- @graphql-mesh/transport-http@0.7.0
- @graphql-mesh/transport-http-callback@0.7.0
- @graphql-mesh/transport-ws@1.1.0
## 1.15.4
### Patch Changes
- Updated dependencies []:
- @graphql-hive/gateway-runtime@1.9.4
- @graphql-hive/plugin-aws-sigv4@1.0.15
- @graphql-hive/plugin-deduplicate-request@1.0.1
- @graphql-mesh/hmac-upstream-signature@1.2.28
- @graphql-mesh/plugin-opentelemetry@1.3.62
- @graphql-mesh/plugin-prometheus@1.3.50
## 1.15.3
### Patch Changes
- Updated dependencies []:
- @graphql-hive/gateway-runtime@1.9.3
- @graphql-hive/plugin-aws-sigv4@1.0.14
- @graphql-hive/plugin-deduplicate-request@1.0.1
- @graphql-mesh/hmac-upstream-signature@1.2.28
- @graphql-mesh/plugin-opentelemetry@1.3.61
- @graphql-mesh/plugin-prometheus@1.3.49
## 1.15.2
### Patch Changes
- [#1245](https://github.com/graphql-hive/gateway/pull/1245) [`29f537f`](https://github.com/graphql-hive/gateway/commit/29f537f7dfcf17f3911efd5845d7af1e532d2e85) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates:
- Updated dependency [`@graphql-mesh/utils@^0.104.5` ↗︎](https://www.npmjs.com/package/@graphql-mesh/utils/v/0.104.5) (from `^0.104.2`, in `dependencies`)
- [#1258](https://github.com/graphql-hive/gateway/pull/1258) [`3d24beb`](https://github.com/graphql-hive/gateway/commit/3d24beb7b15fd8109f86bbb3dfd514f6b8202741) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates:
- Updated dependency [`@graphql-mesh/cache-cfw-kv@^0.105.5` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-cfw-kv/v/0.105.5) (from `^0.105.0`, in `dependencies`)
- Updated dependency [`@graphql-mesh/cache-localforage@^0.105.6` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-localforage/v/0.105.6) (from `^0.105.3`, in `dependencies`)
- Updated dependency [`@graphql-mesh/cache-redis@^0.104.5` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-redis/v/0.104.5) (from `^0.104.0`, in `dependencies`)
- Updated dependency [`@graphql-mesh/cache-upstash-redis@^0.1.5` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-upstash-redis/v/0.1.5) (from `^0.1.0`, in `dependencies`)
- Updated dependency [`@graphql-mesh/plugin-http-cache@^0.105.6` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-http-cache/v/0.105.6) (from `^0.105.2`, in `dependencies`)
- Updated dependency [`@graphql-mesh/plugin-jit@^0.2.5` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-jit/v/0.2.5) (from `^0.2.0`, in `dependencies`)
- Updated dependency [`@graphql-mesh/plugin-mock@^0.105.6` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-mock/v/0.105.6) (from `^0.105.0`, in `dependencies`)
- Updated dependency [`@graphql-mesh/plugin-rate-limit@^0.104.5` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-rate-limit/v/0.104.5) (from `^0.104.0`, in `dependencies`)
- Updated dependency [`@graphql-mesh/plugin-snapshot@^0.104.5` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-snapshot/v/0.104.5) (from `^0.104.0`, in `dependencies`)
- Updated dependency [`@graphql-mesh/types@^0.104.5` ↗︎](https://www.npmjs.com/package/@graphql-mesh/types/v/0.104.5) (from `^0.104.0`, in `dependencies`)
- [#1245](https://github.com/graphql-hive/gateway/pull/1245) [`29f537f`](https://github.com/graphql-hive/gateway/commit/29f537f7dfcf17f3911efd5845d7af1e532d2e85) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Propagate headers even from cache
- Updated dependencies [[`931d576`](https://github.com/graphql-hive/gateway/commit/931d5763c1f8c6d7fdc299bd87a634fecdd70b15), [`29f537f`](https://github.com/graphql-hive/gateway/commit/29f537f7dfcf17f3911efd5845d7af1e532d2e85), [`3d24beb`](https://github.com/graphql-hive/gateway/commit/3d24beb7b15fd8109f86bbb3dfd514f6b8202741), [`931d576`](https://github.com/graphql-hive/gateway/commit/931d5763c1f8c6d7fdc299bd87a634fecdd70b15), [`3dc8ab2`](https://github.com/graphql-hive/gateway/commit/3dc8ab25d40b6a6191c1b4185e97882caef4e8d6), [`ed323fa`](https://github.com/graphql-hive/gateway/commit/ed323fa06d196c1df128a493006238078bf69fc6), [`29f537f`](https://github.com/graphql-hive/gateway/commit/29f537f7dfcf17f3911efd5845d7af1e532d2e85), [`29f537f`](https://github.com/graphql-hive/gateway/commit/29f537f7dfcf17f3911efd5845d7af1e532d2e85), [`3d24beb`](https://github.com/graphql-hive/gateway/commit/3d24beb7b15fd8109f86bbb3dfd514f6b8202741), [`29f537f`](https://github.com/graphql-hive/gateway/commit/29f537f7dfcf17f3911efd5845d7af1e532d2e85), [`3d24beb`](https://github.com/graphql-hive/gateway/commit/3d24beb7b15fd8109f86bbb3dfd514f6b8202741), [`29f537f`](https://github.com/graphql-hive/gateway/commit/29f537f7dfcf17f3911efd5845d7af1e532d2e85), [`3d24beb`](https://github.com/graphql-hive/gateway/commit/3d24beb7b15fd8109f86bbb3dfd514f6b8202741), [`29f537f`](https://github.com/graphql-hive/gateway/commit/29f537f7dfcf17f3911efd5845d7af1e532d2e85), [`3d24beb`](https://github.com/graphql-hive/gateway/commit/3d24beb7b15fd8109f86bbb3dfd514f6b8202741), [`29f537f`](https://github.com/graphql-hive/gateway/commit/29f537f7dfcf17f3911efd5845d7af1e532d2e85), [`3d24beb`](https://github.com/graphql-hive/gateway/commit/3d24beb7b15fd8109f86bbb3dfd514f6b8202741), [`29f537f`](https://github.com/graphql-hive/gateway/commit/29f537f7dfcf17f3911efd5845d7af1e532d2e85), [`3d24beb`](https://github.com/graphql-hive/gateway/commit/3d24beb7b15fd8109f86bbb3dfd514f6b8202741), [`29f537f`](https://github.com/graphql-hive/gateway/commit/29f537f7dfcf17f3911efd5845d7af1e532d2e85), [`3d24beb`](https://github.com/graphql-hive/gateway/commit/3d24beb7b15fd8109f86bbb3dfd514f6b8202741), [`29f537f`](https://github.com/graphql-hive/gateway/commit/29f537f7dfcf17f3911efd5845d7af1e532d2e85), [`1023f3d`](https://github.com/graphql-hive/gateway/commit/1023f3db8bdca8b0a9004841c7341dc3d18b1858), [`29f537f`](https://github.com/graphql-hive/gateway/commit/29f537f7dfcf17f3911efd5845d7af1e532d2e85), [`1023f3d`](https://github.com/graphql-hive/gateway/commit/1023f3db8bdca8b0a9004841c7341dc3d18b1858)]:
- @graphql-hive/gateway-runtime@1.9.2
- @graphql-hive/plugin-aws-sigv4@1.0.13
- @graphql-hive/plugin-deduplicate-request@1.0.1
- @graphql-mesh/hmac-upstream-signature@1.2.28
- @graphql-mesh/plugin-jwt-auth@1.5.6
- @graphql-mesh/plugin-opentelemetry@1.3.60
- @graphql-mesh/plugin-prometheus@1.3.48
- @graphql-mesh/transport-http@0.6.43
- @graphql-mesh/transport-http-callback@0.6.2
- @graphql-mesh/transport-ws@1.0.10
## 1.15.1
### Patch Changes
- [#1215](https://github.com/graphql-hive/gateway/pull/1215) [`33b7f35`](https://github.com/graphql-hive/gateway/commit/33b7f355df25d03069ed3836336c71334c5ba20c) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Upgrade Debian dependencies containing CVEs in Docker image
- Updated dependencies [[`cdc959c`](https://github.com/graphql-hive/gateway/commit/cdc959c57dd770fd5f0bcd05a5de7e3102dacfe2), [`cdc959c`](https://github.com/graphql-hive/gateway/commit/cdc959c57dd770fd5f0bcd05a5de7e3102dacfe2), [`4bab6a3`](https://github.com/graphql-hive/gateway/commit/4bab6a3048cd6a9b20b221d625ed94a1e2cf8689)]:
- @graphql-hive/gateway-runtime@1.9.1
- @graphql-hive/plugin-aws-sigv4@1.0.12
- @graphql-hive/plugin-deduplicate-request@1.0.0
- @graphql-mesh/hmac-upstream-signature@1.2.27
- @graphql-mesh/plugin-opentelemetry@1.3.59
- @graphql-mesh/plugin-prometheus@1.3.47
## 1.15.0
### Minor Changes
- [#1172](https://github.com/graphql-hive/gateway/pull/1172) [`dacad53`](https://github.com/graphql-hive/gateway/commit/dacad5390e4ab54a74bb7ee0d86ebc5a014c55a8) Thanks [@ardatan](https://github.com/ardatan)! - Serve GraphiQL offline by default instead of fetching it from CDN
### Patch Changes
- [#1156](https://github.com/graphql-hive/gateway/pull/1156) [`fb74009`](https://github.com/graphql-hive/gateway/commit/fb740098652dba2e9107981d1f4e362143478451) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates:
- Updated dependency [`graphql-yoga@^5.13.5` ↗︎](https://www.npmjs.com/package/graphql-yoga/v/5.13.5) (from `^5.13.4`, in `dependencies`)
- [#1158](https://github.com/graphql-hive/gateway/pull/1158) [`a5d18da`](https://github.com/graphql-hive/gateway/commit/a5d18da95716c8e5ed231244c7dcae4f11843c08) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates:
- Updated dependency [`@commander-js/extra-typings@^14.0.0` ↗︎](https://www.npmjs.com/package/@commander-js/extra-typings/v/14.0.0) (from `^13.1.0`, in `dependencies`)
- [#1161](https://github.com/graphql-hive/gateway/pull/1161) [`3be8206`](https://github.com/graphql-hive/gateway/commit/3be82065790f1cb24cbe0655d7e8b90207fff52e) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates:
- Updated dependency [`@commander-js/extra-typings@^13.1.0` ↗︎](https://www.npmjs.com/package/@commander-js/extra-typings/v/13.1.0) (from `^14.0.0`, in `dependencies`)
- [#1172](https://github.com/graphql-hive/gateway/pull/1172) [`dacad53`](https://github.com/graphql-hive/gateway/commit/dacad5390e4ab54a74bb7ee0d86ebc5a014c55a8) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
- Added dependency [`@graphql-yoga/render-graphiql@^5.13.5` ↗︎](https://www.npmjs.com/package/@graphql-yoga/render-graphiql/v/5.13.5) (to `dependencies`)
- [#1182](https://github.com/graphql-hive/gateway/pull/1182) [`f3615ca`](https://github.com/graphql-hive/gateway/commit/f3615cab4e8b596e5ba21b03fddb66e9a3090e31) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates:
- Updated dependency [`@graphql-tools/graphql-file-loader@^8.0.20` ↗︎](https://www.npmjs.com/package/@graphql-tools/graphql-file-loader/v/8.0.20) (from `^8.0.14`, in `dependencies`)
- [#1141](https://github.com/graphql-hive/gateway/pull/1141) [`d8892f2`](https://github.com/graphql-hive/gateway/commit/d8892f2713388fcea37dfa74a8ae42294f07d362) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - **Security Update:** The Docker image have been updated to fix a CVE affecting `passwd` command. This CVE was not directly affecting Hive Gateway software, since it's not using impacted components.
- Updated dependencies [[`11cff4f`](https://github.com/graphql-hive/gateway/commit/11cff4f8ff28ca7d709b5b962029e17d5843110e), [`54beb7a`](https://github.com/graphql-hive/gateway/commit/54beb7acde7558eee81ec0e20c123717865b8e18), [`fb74009`](https://github.com/graphql-hive/gateway/commit/fb740098652dba2e9107981d1f4e362143478451), [`f3615ca`](https://github.com/graphql-hive/gateway/commit/f3615cab4e8b596e5ba21b03fddb66e9a3090e31), [`d459f37`](https://github.com/graphql-hive/gateway/commit/d459f3702c500c321164abec826700120649c180), [`fb74009`](https://github.com/graphql-hive/gateway/commit/fb740098652dba2e9107981d1f4e362143478451), [`fb74009`](https://github.com/graphql-hive/gateway/commit/fb740098652dba2e9107981d1f4e362143478451), [`fb74009`](https://github.com/graphql-hive/gateway/commit/fb740098652dba2e9107981d1f4e362143478451), [`54beb7a`](https://github.com/graphql-hive/gateway/commit/54beb7acde7558eee81ec0e20c123717865b8e18), [`b4ba778`](https://github.com/graphql-hive/gateway/commit/b4ba778776140b66b8368daf0299105fd8035e46), [`11cff4f`](https://github.com/graphql-hive/gateway/commit/11cff4f8ff28ca7d709b5b962029e17d5843110e)]:
- @graphql-hive/gateway-runtime@1.9.0
- @graphql-hive/plugin-aws-sigv4@1.0.11
- @graphql-mesh/plugin-jwt-auth@1.5.5
- @graphql-mesh/plugin-prometheus@1.3.46
- @graphql-mesh/transport-http-callback@0.6.1
- @graphql-hive/plugin-deduplicate-request@1.0.0
- @graphql-mesh/hmac-upstream-signature@1.2.27
- @graphql-mesh/plugin-opentelemetry@1.3.58
- @graphql-mesh/transport-http@0.6.42
## 1.14.2
### Patch Changes
- [#1113](https://github.com/graphql-hive/gateway/pull/1113) [`88c9369`](https://github.com/graphql-hive/gateway/commit/88c9369abfdcb8e5ed8331c12a42a90e3b6b211b) Thanks [@ardatan](https://github.com/ardatan)! - Do not print warnings for missing `gatewayConfig` export for `mesh.config` files
- Updated dependencies [[`162693e`](https://github.com/graphql-hive/gateway/commit/162693ebceca9dba0eb748d36549e4af0cbfd91b), [`4acd5ca`](https://github.com/graphql-hive/gateway/commit/4acd5ca8d591c442eed151d2dcf2fffee55f57e8), [`88c9369`](https://github.com/graphql-hive/gateway/commit/88c9369abfdcb8e5ed8331c12a42a90e3b6b211b), [`faffc17`](https://github.com/graphql-hive/gateway/commit/faffc17e72f8893e7e717d5a425205a6364e4d44)]:
- @graphql-hive/gateway-runtime@1.8.3
- @graphql-hive/plugin-aws-sigv4@1.0.10
- @graphql-hive/plugin-deduplicate-request@1.0.0
- @graphql-mesh/hmac-upstream-signature@1.2.27
- @graphql-mesh/plugin-opentelemetry@1.3.57
- @graphql-mesh/plugin-prometheus@1.3.45
- @graphql-mesh/transport-http@0.6.41
## 1.14.1
### Patch Changes
- [#1088](https://github.com/graphql-hive/gateway/pull/1088) [`305dbc4`](https://github.com/graphql-hive/gateway/commit/305dbc4ce08f53508f400e8e2610cb32e68002bc) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates:
- Added dependency [`@graphql-hive/plugin-deduplicate-request@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/plugin-deduplicate-request/v/workspace:^) (to `dependencies`)
- Removed dependency [`@graphql-mesh/plugin-deduplicate-request@^0.104.0` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-deduplicate-request/v/0.104.0) (from `dependencies`)
- [#1088](https://github.com/graphql-hive/gateway/pull/1088) [`305dbc4`](https://github.com/graphql-hive/gateway/commit/305dbc4ce08f53508f400e8e2610cb32e68002bc) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Use request deduplication plugin specifically made for Hive Gateway
- Updated dependencies [[`2dc5fd8`](https://github.com/graphql-hive/gateway/commit/2dc5fd89a292811e7ea845d14e0ddacecfa83e9f), [`305dbc4`](https://github.com/graphql-hive/gateway/commit/305dbc4ce08f53508f400e8e2610cb32e68002bc), [`305dbc4`](https://github.com/graphql-hive/gateway/commit/305dbc4ce08f53508f400e8e2610cb32e68002bc), [`2dc5fd8`](https://github.com/graphql-hive/gateway/commit/2dc5fd89a292811e7ea845d14e0ddacecfa83e9f)]:
- @graphql-hive/gateway-runtime@1.8.2
- @graphql-hive/plugin-deduplicate-request@1.0.0
- @graphql-hive/plugin-aws-sigv4@1.0.9
- @graphql-mesh/hmac-upstream-signature@1.2.27
- @graphql-mesh/plugin-opentelemetry@1.3.56
- @graphql-mesh/plugin-prometheus@1.3.44
## 1.14.0
### Minor Changes
- [#1083](https://github.com/graphql-hive/gateway/pull/1083) [`695251a`](https://github.com/graphql-hive/gateway/commit/695251a5e2eb565e325b48c8d79761149c5aa3b0) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Support watching supergraph file out-of-box
No extra dependency of `@parcel/watcher` is needed. After upgrading, you can uninstall it.
### Patch Changes
- [#1057](https://github.com/graphql-hive/gateway/pull/1057) [`20e120b`](https://github.com/graphql-hive/gateway/commit/20e120b2e3269907187ec0626c7651bc248efc53) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates:
- Updated dependency [`@graphql-mesh/plugin-jwt-auth@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-jwt-auth/v/workspace:^) (from `^1.5.0`, in `dependencies`)
- [#1083](https://github.com/graphql-hive/gateway/pull/1083) [`695251a`](https://github.com/graphql-hive/gateway/commit/695251a5e2eb565e325b48c8d79761149c5aa3b0) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates:
- Removed dependency [`@parcel/watcher@^2.1.0` ↗︎](https://www.npmjs.com/package/@parcel/watcher/v/2.1.0) (from `peerDependencies`)
- Updated dependencies [[`20e120b`](https://github.com/graphql-hive/gateway/commit/20e120b2e3269907187ec0626c7651bc248efc53)]:
- @graphql-mesh/plugin-jwt-auth@1.5.4
- @graphql-hive/plugin-aws-sigv4@1.0.8
- @graphql-hive/gateway-runtime@1.8.1
- @graphql-mesh/hmac-upstream-signature@1.2.27
- @graphql-mesh/plugin-opentelemetry@1.3.55
- @graphql-mesh/plugin-prometheus@1.3.43
## 1.13.6
### Patch Changes
- [#1015](https://github.com/graphql-hive/gateway/pull/1015) [`9a120c8`](https://github.com/graphql-hive/gateway/commit/9a120c85ac67654f63e374cf420ac4b73da21228) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
- Updated dependency [`graphql-yoga@^5.13.3` ↗︎](https://www.npmjs.com/package/graphql-yoga/v/5.13.3) (from `^5.13.2`, in `dependencies`)
- [#1045](https://github.com/graphql-hive/gateway/pull/1045) [`da47a0e`](https://github.com/graphql-hive/gateway/commit/da47a0effcc0e3c2b934bc97ab10e6e86ef8cd93) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates:
- Updated dependency [`graphql-yoga@^5.13.4` ↗︎](https://www.npmjs.com/package/graphql-yoga/v/5.13.4) (from `^5.13.3`, in `dependencies`)
- [#1045](https://github.com/graphql-hive/gateway/pull/1045) [`da47a0e`](https://github.com/graphql-hive/gateway/commit/da47a0effcc0e3c2b934bc97ab10e6e86ef8cd93) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Update graphql-yoga and whatwg-node packages
In light of https://github.com/ardatan/whatwg-node/pull/2305. Please upgrade as soon as possible!
- Updated dependencies [[`9a120c8`](https://github.com/graphql-hive/gateway/commit/9a120c85ac67654f63e374cf420ac4b73da21228), [`da47a0e`](https://github.com/graphql-hive/gateway/commit/da47a0effcc0e3c2b934bc97ab10e6e86ef8cd93), [`da47a0e`](https://github.com/graphql-hive/gateway/commit/da47a0effcc0e3c2b934bc97ab10e6e86ef8cd93), [`da47a0e`](https://github.com/graphql-hive/gateway/commit/da47a0effcc0e3c2b934bc97ab10e6e86ef8cd93), [`f797304`](https://github.com/graphql-hive/gateway/commit/f797304fe27fb4174cea5a50d9869a91b08b5e0d), [`4cf75cb`](https://github.com/graphql-hive/gateway/commit/4cf75cbf1f14169826d1917532ee73ee45c002d5), [`0f70298`](https://github.com/graphql-hive/gateway/commit/0f70298d420766f56398a198d9d91c12884f033d)]:
- @graphql-hive/gateway-runtime@1.8.0
- @graphql-mesh/transport-http-callback@0.6.0
- @graphql-mesh/hmac-upstream-signature@1.2.27
- @graphql-mesh/plugin-opentelemetry@1.3.54
- @graphql-mesh/plugin-prometheus@1.3.42
- @graphql-hive/plugin-aws-sigv4@1.0.7
- @graphql-mesh/transport-http@0.6.40
## 1.13.5
### Patch Changes
- [#1000](https://github.com/graphql-hive/gateway/pull/1000) [`c53e40e`](https://github.com/graphql-hive/gateway/commit/c53e40eabb7b6ca16efa02aa05892fd6b72ab230) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates:
- Updated dependency [`@graphql-mesh/cache-localforage@^0.105.3` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-localforage/v/0.105.3) (from `^0.105.0`, in `dependencies`)
- [#946](https://github.com/graphql-hive/gateway/pull/946) [`7d771d8`](https://github.com/graphql-hive/gateway/commit/7d771d89ff6d731b1025acfc5eb197541a6d5d35) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
- Updated dependency [`@graphql-mesh/utils@^0.104.2` ↗︎](https://www.npmjs.com/package/@graphql-mesh/utils/v/0.104.2) (from `^0.104.1`, in `dependencies`)
- [#950](https://github.com/graphql-hive/gateway/pull/950) [`c7ea2c5`](https://github.com/graphql-hive/gateway/commit/c7ea2c5ae71b6b338ef22edd927a3fc93803965f) Thanks [@kroupacz](https://github.com/kroupacz)! - Errors should not be swallowed when it is thrown from the shared root
- Updated dependencies [[`7d771d8`](https://github.com/graphql-hive/gateway/commit/7d771d89ff6d731b1025acfc5eb197541a6d5d35), [`7d771d8`](https://github.com/graphql-hive/gateway/commit/7d771d89ff6d731b1025acfc5eb197541a6d5d35), [`7d771d8`](https://github.com/graphql-hive/gateway/commit/7d771d89ff6d731b1025acfc5eb197541a6d5d35), [`c31234a`](https://github.com/graphql-hive/gateway/commit/c31234a44cc4a580837ea22cbabf21d62fea871d), [`7d771d8`](https://github.com/graphql-hive/gateway/commit/7d771d89ff6d731b1025acfc5eb197541a6d5d35), [`7d771d8`](https://github.com/graphql-hive/gateway/commit/7d771d89ff6d731b1025acfc5eb197541a6d5d35), [`7d771d8`](https://github.com/graphql-hive/gateway/commit/7d771d89ff6d731b1025acfc5eb197541a6d5d35), [`7d771d8`](https://github.com/graphql-hive/gateway/commit/7d771d89ff6d731b1025acfc5eb197541a6d5d35), [`7d771d8`](https://github.com/graphql-hive/gateway/commit/7d771d89ff6d731b1025acfc5eb197541a6d5d35), [`7d771d8`](https://github.com/graphql-hive/gateway/commit/7d771d89ff6d731b1025acfc5eb197541a6d5d35), [`c31234a`](https://github.com/graphql-hive/gateway/commit/c31234a44cc4a580837ea22cbabf21d62fea871d), [`7d771d8`](https://github.com/graphql-hive/gateway/commit/7d771d89ff6d731b1025acfc5eb197541a6d5d35), [`7d771d8`](https://github.com/graphql-hive/gateway/commit/7d771d89ff6d731b1025acfc5eb197541a6d5d35)]:
- @graphql-hive/gateway-runtime@1.7.0
- @graphql-mesh/hmac-upstream-signature@1.2.26
- @graphql-mesh/plugin-opentelemetry@1.3.53
- @graphql-mesh/plugin-prometheus@1.3.41
- @graphql-mesh/transport-http@0.6.39
- @graphql-mesh/transport-http-callback@0.5.26
- @graphql-mesh/transport-ws@1.0.9
- @graphql-hive/plugin-aws-sigv4@1.0.6
## 1.13.4
### Patch Changes
- [#933](https://github.com/graphql-hive/gateway/pull/933) [`a374bfc`](https://github.com/graphql-hive/gateway/commit/a374bfcf4309f5953b8c8304fba8e079b6f6b6dc) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates:
- Added dependency [`@graphql-hive/pubsub@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/pubsub/v/workspace:^) (to `dependencies`)
- Updated dependencies [[`a374bfc`](https://github.com/graphql-hive/gateway/commit/a374bfcf4309f5953b8c8304fba8e079b6f6b6dc), [`a374bfc`](https://github.com/graphql-hive/gateway/commit/a374bfcf4309f5953b8c8304fba8e079b6f6b6dc), [`a374bfc`](https://github.com/graphql-hive/gateway/commit/a374bfcf4309f5953b8c8304fba8e079b6f6b6dc)]:
- @graphql-hive/gateway-runtime@1.6.6
- @graphql-hive/pubsub@1.0.0
- @graphql-hive/plugin-aws-sigv4@1.0.5
- @graphql-mesh/hmac-upstream-signature@1.2.25
- @graphql-mesh/plugin-opentelemetry@1.3.52
- @graphql-mesh/plugin-prometheus@1.3.40
- @graphql-mesh/transport-http@0.6.38
- @graphql-mesh/transport-http-callback@0.5.25
- @graphql-mesh/transport-ws@1.0.8
## 1.13.3
### Patch Changes
- Updated dependencies [[`ab96392`](https://github.com/graphql-hive/gateway/commit/ab96392b3561de62cf6a57280e4c3ac0ec98d88b), [`ab96392`](https://github.com/graphql-hive/gateway/commit/ab96392b3561de62cf6a57280e4c3ac0ec98d88b)]:
- @graphql-mesh/plugin-opentelemetry@1.3.51
- @graphql-mesh/hmac-upstream-signature@1.2.25
- @graphql-hive/gateway-runtime@1.6.5
- @graphql-hive/plugin-aws-sigv4@1.0.4
- @graphql-mesh/plugin-prometheus@1.3.39
## 1.13.2
### Patch Changes
- [#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:
- Updated dependency [`graphql-yoga@^5.13.2` ↗︎](https://www.npmjs.com/package/graphql-yoga/v/5.13.2) (from `^5.13.1`, in `dependencies`)
- Updated dependencies [[`4e33933`](https://github.com/graphql-hive/gateway/commit/4e339333945f4c4547d9ae719e67b4671fe89f04), [`c9cd206`](https://github.com/graphql-hive/gateway/commit/c9cd20666a740514a5c17ecd6d0c000ad0dd7106), [`4e33933`](https://github.com/graphql-hive/gateway/commit/4e339333945f4c4547d9ae719e67b4671fe89f04), [`4e33933`](https://github.com/graphql-hive/gateway/commit/4e339333945f4c4547d9ae719e67b4671fe89f04), [`4e33933`](https://github.com/graphql-hive/gateway/commit/4e339333945f4c4547d9ae719e67b4671fe89f04), [`4e33933`](https://github.com/graphql-hive/gateway/commit/4e339333945f4c4547d9ae719e67b4671fe89f04), [`4e33933`](https://github.com/graphql-hive/gateway/commit/4e339333945f4c4547d9ae719e67b4671fe89f04), [`c9cd206`](https://github.com/graphql-hive/gateway/commit/c9cd20666a740514a5c17ecd6d0c000ad0dd7106)]:
- @graphql-hive/gateway-runtime@1.6.4
- @graphql-hive/plugin-aws-sigv4@1.0.3
- @graphql-mesh/hmac-upstream-signature@1.2.24
- @graphql-mesh/plugin-opentelemetry@1.3.50
- @graphql-mesh/transport-http@0.6.37
- @graphql-mesh/transport-http-callback@0.5.24
- @graphql-mesh/plugin-prometheus@1.3.38
- @graphql-mesh/transport-ws@1.0.7
## 1.13.1
### Patch Changes
- [#908](https://github.com/graphql-hive/gateway/pull/908) [`2e83074`](https://github.com/graphql-hive/gateway/commit/2e830742df0d8dd16826e440e41f8f75fce81513) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
- Updated dependency [`@graphql-mesh/plugin-http-cache@^0.105.2` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-http-cache/v/0.105.2) (from `^0.105.0`, in `dependencies`)
- Updated dependencies [[`1950f44`](https://github.com/graphql-hive/gateway/commit/1950f44d9180c8cd8a73917487c087ab1d1b74fa), [`df1bce6`](https://github.com/graphql-hive/gateway/commit/df1bce649e3f468435aa34d9141b4c20d8d26699), [`df1bce6`](https://github.com/graphql-hive/gateway/commit/df1bce649e3f468435aa34d9141b4c20d8d26699)]:
- @graphql-hive/gateway-runtime@1.6.3
- @graphql-hive/plugin-aws-sigv4@1.0.2
- @graphql-mesh/hmac-upstream-signature@1.2.23
- @graphql-mesh/plugin-opentelemetry@1.3.49
- @graphql-mesh/plugin-prometheus@1.3.37
## 1.13.0
### Minor Changes
- [#871](https://github.com/graphql-hive/gateway/pull/871) [`d8a7e9e`](https://github.com/graphql-hive/gateway/commit/d8a7e9e4f0492268f07301a87f1e102400fae921) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Introduce built-in armor security features
The following built-in features are introduced:
- `maxTokens`: Limit the number of tokens in a GraphQL document.
Defaults to `1000` tokens.
- `maxDepth`: Limit the depth of a GraphQL document.
Defaults to `6` levels.
- `blockFieldSuggestions`: Prevent returning field suggestions and leaking your schema to unauthorized actors.
Defaults to `true`
They are all **disabled** by default. You can enable or configure them individually. Only basic configuration options are allowed - security features needing more configuration should instead have the plugin installed and used manually.
#### Disable all (default)
```ts
import { defineConfig } from '@graphql-hive/gateway';
export const gatewayConfig = defineConfig();
```
#### Enable all
```ts
import { defineConfig } from '@graphql-hive/gateway';
export const gatewayConfig = defineConfig({
maxTokens: true,
maxDepth: true,
blockFieldSuggestions: true,
});
```
#### Configure
```ts
import { defineConfig } from '@graphql-hive/gateway';
export const gatewayConfig = defineConfig({
maxTokens: 3000,
maxDepth: 10,
blockFieldSuggestions: false,
});
```
#### Advanced configuration
```sh
npm i @escape.tech/graphql-armor-max-depth
```
```ts
import { maxDepthRule } from '@escape.tech/graphql-armor-max-depth';
import { defineConfig } from '@graphql-hive/gateway';
export const gatewayConfig = defineConfig({
// disable maxDepth feature by omitting it or setting it to false
plugins: () => [
maxDepthRule({
ignoreIntrospection: false,
flattenFragments: true,
}),
],
});
```
### Patch Changes
- [#871](https://github.com/graphql-hive/gateway/pull/871) [`d8a7e9e`](https://github.com/graphql-hive/gateway/commit/d8a7e9e4f0492268f07301a87f1e102400fae921) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates:
- Added dependency [`@escape.tech/graphql-armor-block-field-suggestions@^3.0.0` ↗︎](https://www.npmjs.com/package/@escape.tech/graphql-armor-block-field-suggestions/v/3.0.0) (to `dependencies`)
- Added dependency [`@escape.tech/graphql-armor-max-depth@^2.4.0` ↗︎](https://www.npmjs.com/package/@escape.tech/graphql-armor-max-depth/v/2.4.0) (to `dependencies`)
- Added dependency [`@escape.tech/graphql-armor-max-tokens@^2.5.0` ↗︎](https://www.npmjs.com/package/@escape.tech/graphql-armor-max-tokens/v/2.5.0) (to `dependencies`)
- [#865](https://github.com/graphql-hive/gateway/pull/865) [`dc8c4ce`](https://github.com/graphql-hive/gateway/commit/dc8c4ce642ecc8bb47d14002b196981f67c78c3c) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Allow importing user installed modules from the root gateway
- Updated dependencies [[`278618a`](https://github.com/graphql-hive/gateway/commit/278618a1383a01016041ce0a40adec8803c62448), [`278618a`](https://github.com/graphql-hive/gateway/commit/278618a1383a01016041ce0a40adec8803c62448), [`278618a`](https://github.com/graphql-hive/gateway/commit/278618a1383a01016041ce0a40adec8803c62448), [`278618a`](https://github.com/graphql-hive/gateway/commit/278618a1383a01016041ce0a40adec8803c62448), [`278618a`](https://github.com/graphql-hive/gateway/commit/278618a1383a01016041ce0a40adec8803c62448), [`278618a`](https://github.com/graphql-hive/gateway/commit/278618a1383a01016041ce0a40adec8803c62448), [`278618a`](https://github.com/graphql-hive/gateway/commit/278618a1383a01016041ce0a40adec8803c62448), [`dc8c4ce`](https://github.com/graphql-hive/gateway/commit/dc8c4ce642ecc8bb47d14002b196981f67c78c3c), [`278618a`](https://github.com/graphql-hive/gateway/commit/278618a1383a01016041ce0a40adec8803c62448), [`e6b4faa`](https://github.com/graphql-hive/gateway/commit/e6b4faa9813a6d17278feb7c8729433eb77ddf40)]:
- @graphql-hive/gateway-runtime@1.6.2
- @graphql-hive/plugin-aws-sigv4@1.0.2
- @graphql-mesh/hmac-upstream-signature@1.2.23
- @graphql-mesh/plugin-opentelemetry@1.3.48
- @graphql-mesh/transport-http@0.6.36
- @graphql-mesh/transport-http-callback@0.5.23
- @graphql-hive/importer@1.1.0
- @graphql-mesh/plugin-prometheus@1.3.36
- @graphql-mesh/transport-ws@1.0.6
## 1.12.2
### Patch Changes
- [#853](https://github.com/graphql-hive/gateway/pull/853) [`6a8e0de`](https://github.com/graphql-hive/gateway/commit/6a8e0de49089179458a1c011de05ee30c5167fbb) Thanks [@enisdenjo](https://github.com/enisdenjo)! - This release does not contain any code changes.
It's an empty release only fixing the partially failing release process.
## 1.12.1
### Patch Changes
- [#838](https://github.com/graphql-hive/gateway/pull/838) [`b19309b`](https://github.com/graphql-hive/gateway/commit/b19309b450482c203b1c71fb5762320c7e5fa739) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Dispose of cache on teardown
- Updated dependencies [[`b19309b`](https://github.com/graphql-hive/gateway/commit/b19309b450482c203b1c71fb5762320c7e5fa739), [`b19309b`](https://github.com/graphql-hive/gateway/commit/b19309b450482c203b1c71fb5762320c7e5fa739), [`b19309b`](https://github.com/graphql-hive/gateway/commit/b19309b450482c203b1c71fb5762320c7e5fa739), [`115a1f1`](https://github.com/graphql-hive/gateway/commit/115a1f16791e5de39b14a41b375d061113844a1b)]:
- @graphql-mesh/plugin-opentelemetry@1.3.47
- @graphql-mesh/plugin-prometheus@1.3.35
- @graphql-hive/gateway-runtime@1.6.1
- @graphql-hive/plugin-aws-sigv4@1.0.1
- @graphql-mesh/hmac-upstream-signature@1.2.22
## 1.12.0
### Minor Changes
- [#809](https://github.com/graphql-hive/gateway/pull/809) [`17cfa19`](https://github.com/graphql-hive/gateway/commit/17cfa190bf7965681716e5e1ec601793a85935d8) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Introduce `target` as a new Hive reporting option
Deprecate the `--hive-registry-token` CLI option in favour of `--hive-usage-target` and `--hive-usage-access-token` options. [Read more on Hive's product update page.](https://the-guild.dev/graphql/hive/product-updates/2025-03-10-new-access-tokens)
### Patch Changes
- Updated dependencies [[`17cfa19`](https://github.com/graphql-hive/gateway/commit/17cfa190bf7965681716e5e1ec601793a85935d8), [`17cfa19`](https://github.com/graphql-hive/gateway/commit/17cfa190bf7965681716e5e1ec601793a85935d8)]:
- @graphql-hive/gateway-runtime@1.6.0
- @graphql-hive/plugin-aws-sigv4@1.0.0
- @graphql-mesh/hmac-upstream-signature@1.2.22
- @graphql-mesh/plugin-opentelemetry@1.3.46
- @graphql-mesh/plugin-prometheus@1.3.34
## 1.11.0
### Minor Changes
- [#745](https://github.com/graphql-hive/gateway/pull/745) [`bbc98c5`](https://github.com/graphql-hive/gateway/commit/bbc98c58277283f064ba826a3d844709f75ac451) Thanks [@ardatan](https://github.com/ardatan)! - **_New plugin/feature:_**
Demand Control a.k.a. Cost Limit including the implementation of `@cost` and `@listSize` directives
[See the documentation to learn more](https://the-guild.dev/graphql/hive/docs/gateway/other-features/security/demand-control)
- [#746](https://github.com/graphql-hive/gateway/pull/746) [`09de0ba`](https://github.com/graphql-hive/gateway/commit/09de0bae281be40f8d8cc462d9c447d03141a5fa) Thanks [@ardatan](https://github.com/ardatan)! - Support for subgraph request authentication via [AWS Signature Version 4 (SigV4)](https://docs.aws.amazon.com/Am