@graphql-hive/gateway
Version:
544 lines (397 loc) • 149 kB
Markdown
# @graphql-hive/gateway
## 2.0.1
### Patch Changes
- [#1441](https://github.com/graphql-hive/gateway/pull/1441) [`2b3946f`](https://github.com/graphql-hive/gateway/commit/2b3946f418b0fb018ca792ff6a2c14fef7abb01d) Thanks [@enisdenjo](https://github.com/enisdenjo)! - maxDepth and maxTokens disabled by default
Other gateways out there don't have these defaults and they might be too limiting, let's leave it for the users to decide. No new breaking change because it's too early for significant adoption.
- Updated dependencies [[`2b3946f`](https://github.com/graphql-hive/gateway/commit/2b3946f418b0fb018ca792ff6a2c14fef7abb01d), [`65eef45`](https://github.com/graphql-hive/gateway/commit/65eef45eb372f20afa7907a2be1c9cef345bb893), [`65eef45`](https://github.com/graphql-hive/gateway/commit/65eef45eb372f20afa7907a2be1c9cef345bb893), [`65eef45`](https://github.com/graphql-hive/gateway/commit/65eef45eb372f20afa7907a2be1c9cef345bb893)]:
- @graphql-hive/pubsub@2.1.0
- @graphql-hive/plugin-opentelemetry@1.0.1
- @graphql-mesh/plugin-jwt-auth@2.0.1
- @graphql-hive/gateway-runtime@2.0.1
- @graphql-hive/plugin-aws-sigv4@2.0.1
- @graphql-mesh/hmac-upstream-signature@2.0.0
- @graphql-mesh/plugin-prometheus@2.0.1
- @graphql-mesh/transport-http@1.0.1
- @graphql-mesh/transport-http-callback@1.0.1
- @graphql-mesh/transport-ws@2.0.1
## 2.0.0
### Major Changes
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Sane security defaults, max token and depths limits enabled by default
Max token limit defaults to 1000 (can be configured via `maxTokens` option) and max depth limit defaults to 8 (can be configured via `maxDepth` option).
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Drop Node 18 support
Least supported Node version is now v20.
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - `useDeduplicateRequest()` plugin has been removed in favour of the built-in inflight request deduplication
To migrate, simply remove the plugin from your configuration and you're good to go!
```diff
import {
defineConfig,
- useDeduplicateRequest,
} from '@graphql-hive/gateway'
export const gatewayConfig = defineConfig({
- plugins: ctx => [useDeduplicateRequest(ctx)]
})
```
If you still want to use the deprecated plugin, you need to install it separately and use it as before:
```sh
npm i @graphql-hive/plugin-deduplicate-request
```
```ts
import {
defineConfig,
useDeduplicateRequest,
type HTTPTransportOptions, // only for typedefs, otherwise not necessary
} from '@graphql-hive/gateway'
import { useDeduplicateRequest } from '@graphql-hive/plugin-deduplicate-request'
export const gatewayConfig = defineConfig({
transportEntries: {
'*.http': {
options: {
// disable the built in deduplication
deduplicateInflightRequests: false,
} as HTTPTransportOptions,
},
},
plugins: ctx => [useDeduplicateRequest(ctx)]
})
```
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Introduce and use the new Hive Logger
- [Read more about it on the Hive Logger documentation here.](https://the-guild.dev/graphql/hive/docs/logger)
- If coming from Hive Gateway v1, [read the migration guide here.](https://the-guild.dev/graphql/hive/docs/migration-guides/gateway-v1-v2)
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Disable forking even if NODE_ENV=production
Forking workers for concurrent processing is a delicate process and if not done carefully can lead to performance degradations. It should be configured with careful consideration by advanced users.
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Remove mocking plugin from Hive Gateway built-ins
There is no need to provide the `useMock` plugin alongside Hive Gateway built-ins. Not only is the mock plugin 2MB in size (minified), but installing and using it is very simple.
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Load schema on initialization
Failing to start if the schema is not loaded for whatever reason.
### Minor Changes
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - The `defineConfig` accepts a TContext generic
### Patch Changes
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
- Added dependency [`@graphql-hive/logger@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/logger/v/workspace:^) (to `dependencies`)
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
- Added dependency [`@opentelemetry/api@^1.9.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/api/v/1.9.0) (to `dependencies`)
- Added dependency [`@opentelemetry/context-zone@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/context-zone/v/2.0.1) (to `dependencies`)
- Added dependency [`@opentelemetry/core@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/core/v/2.0.1) (to `dependencies`)
- Added dependency [`@opentelemetry/exporter-jaeger@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/exporter-jaeger/v/2.0.1) (to `dependencies`)
- Added dependency [`@opentelemetry/exporter-zipkin@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/exporter-zipkin/v/2.0.1) (to `dependencies`)
- Added dependency [`@opentelemetry/propagator-b3@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/propagator-b3/v/2.0.1) (to `dependencies`)
- Added dependency [`@opentelemetry/propagator-jaeger@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/propagator-jaeger/v/2.0.1) (to `dependencies`)
- Added dependency [`@opentelemetry/sampler-jaeger-remote@^0.202.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/sampler-jaeger-remote/v/0.202.0) (to `dependencies`)
- Added dependency [`@opentelemetry/sdk-metrics@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-metrics/v/2.0.1) (to `dependencies`)
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
- Added dependency [`@opentelemetry/api-logs@^0.202.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/api-logs/v/0.202.0) (to `dependencies`)
- Added dependency [`@opentelemetry/sdk-logs@^0.202.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-logs/v/0.202.0) (to `dependencies`)
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
- Added dependency [`@opentelemetry/context-async-hooks@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/context-async-hooks/v/2.0.1) (to `dependencies`)
- Added dependency [`@opentelemetry/sdk-trace-base@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-trace-base/v/2.0.1) (to `dependencies`)
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
- Removed dependency [`@graphql-hive/plugin-deduplicate-request@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/plugin-deduplicate-request/v/workspace:^) (from `dependencies`)
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
- Added dependency [`@graphql-hive/logger@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/logger/v/workspace:^) (to `dependencies`)
- Added dependency [`@graphql-hive/plugin-opentelemetry@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/plugin-opentelemetry/v/workspace:^) (to `dependencies`)
- Added dependency [`@opentelemetry/api@^1.9.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/api/v/1.9.0) (to `dependencies`)
- Added dependency [`@opentelemetry/api-logs@^0.203.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/api-logs/v/0.203.0) (to `dependencies`)
- Added dependency [`@opentelemetry/context-async-hooks@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/context-async-hooks/v/2.0.1) (to `dependencies`)
- Added dependency [`@opentelemetry/context-zone@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/context-zone/v/2.0.1) (to `dependencies`)
- Added dependency [`@opentelemetry/core@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/core/v/2.0.1) (to `dependencies`)
- Added dependency [`@opentelemetry/exporter-jaeger@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/exporter-jaeger/v/2.0.1) (to `dependencies`)
- Added dependency [`@opentelemetry/exporter-zipkin@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/exporter-zipkin/v/2.0.1) (to `dependencies`)
- Added dependency [`@opentelemetry/propagator-b3@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/propagator-b3/v/2.0.1) (to `dependencies`)
- Added dependency [`@opentelemetry/propagator-jaeger@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/propagator-jaeger/v/2.0.1) (to `dependencies`)
- Added dependency [`@opentelemetry/sampler-jaeger-remote@^0.203.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/sampler-jaeger-remote/v/0.203.0) (to `dependencies`)
- Added dependency [`@opentelemetry/sdk-logs@^0.203.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-logs/v/0.203.0) (to `dependencies`)
- Added dependency [`@opentelemetry/sdk-metrics@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-metrics/v/2.0.1) (to `dependencies`)
- Added dependency [`@opentelemetry/sdk-trace-base@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-trace-base/v/2.0.1) (to `dependencies`)
- Removed dependency [`@graphql-hive/plugin-deduplicate-request@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/plugin-deduplicate-request/v/workspace:^) (from `dependencies`)
- Removed dependency [`@graphql-mesh/plugin-mock@^0.105.8` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-mock/v/0.105.8) (from `dependencies`)
- Removed dependency [`@graphql-mesh/plugin-opentelemetry@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-opentelemetry/v/workspace:^) (from `dependencies`)
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Inflight request deduplication
- Updated dependencies [[`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a)]:
- @graphql-hive/gateway-runtime@2.0.0
- @graphql-hive/plugin-opentelemetry@1.0.0
- @graphql-hive/pubsub@2.0.0
- @graphql-mesh/plugin-prometheus@2.0.0
- @graphql-mesh/hmac-upstream-signature@2.0.0
- @graphql-mesh/transport-http-callback@1.0.0
- @graphql-hive/plugin-aws-sigv4@2.0.0
- @graphql-mesh/plugin-jwt-auth@2.0.0
- @graphql-mesh/transport-http@1.0.0
- @graphql-mesh/transport-ws@2.0.0
- @graphql-hive/importer@2.0.0
- @graphql-hive/logger@1.0.1
## 1.16.5
### Patch Changes
- [#1428](https://github.com/graphql-hive/gateway/pull/1428) [`5660dab`](https://github.com/graphql-hive/gateway/commit/5660dab0398deed34809ef71e9a0292cfd4ddefb) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Resolve to latest @envelop/core that includes instrumentation changes
- Updated dependencies [[`5660dab`](https://github.com/graphql-hive/gateway/commit/5660dab0398deed34809ef71e9a0292cfd4ddefb)]:
- @graphql-mesh/plugin-jwt-auth@1.5.10
- @graphql-hive/gateway-runtime@1.11.1
- @graphql-hive/plugin-aws-sigv4@1.0.19
- @graphql-hive/plugin-deduplicate-request@1.0.5
- @graphql-mesh/hmac-upstream-signature@1.2.32
## 1.16.4
### Patch Changes
- [#1408](https://github.com/graphql-hive/gateway/pull/1408) [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates:
- Updated dependency [`@graphql-mesh/cache-cfw-kv@^0.105.8` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-cfw-kv/v/0.105.8) (from `^0.105.7`, in `dependencies`)
- Updated dependency [`@graphql-mesh/cache-localforage@^0.105.9` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-localforage/v/0.105.9) (from `^0.105.8`, in `dependencies`)
- Updated dependency [`@graphql-mesh/cache-redis@^0.104.8` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-redis/v/0.104.8) (from `^0.104.7`, in `dependencies`)
- Updated dependency [`@graphql-mesh/cache-upstash-redis@^0.1.8` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-upstash-redis/v/0.1.8) (from `^0.1.7`, in `dependencies`)
- Updated dependency [`@graphql-mesh/types@^0.104.8` ↗︎](https://www.npmjs.com/package/@graphql-mesh/types/v/0.104.8) (from `^0.104.7`, in `dependencies`)
- Updated dependency [`@graphql-mesh/utils@^0.104.8` ↗︎](https://www.npmjs.com/package/@graphql-mesh/utils/v/0.104.8) (from `^0.104.7`, in `dependencies`)
- [#1424](https://github.com/graphql-hive/gateway/pull/1424) [`fe9b42f`](https://github.com/graphql-hive/gateway/commit/fe9b42f02ca6e3fbe6defd83e21e283dedf7481a) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates:
- Updated dependency [`@graphql-mesh/utils@^0.104.11` ↗︎](https://www.npmjs.com/package/@graphql-mesh/utils/v/0.104.11) (from `^0.104.8`, in `dependencies`)
- Updated dependencies [[`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`37113d1`](https://github.com/graphql-hive/gateway/commit/37113d1a446748fd83da9823e27a0f56872317df), [`fe9b42f`](https://github.com/graphql-hive/gateway/commit/fe9b42f02ca6e3fbe6defd83e21e283dedf7481a), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`fe9b42f`](https://github.com/graphql-hive/gateway/commit/fe9b42f02ca6e3fbe6defd83e21e283dedf7481a), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`fe9b42f`](https://github.com/graphql-hive/gateway/commit/fe9b42f02ca6e3fbe6defd83e21e283dedf7481a), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`fe9b42f`](https://github.com/graphql-hive/gateway/commit/fe9b42f02ca6e3fbe6defd83e21e283dedf7481a), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`fe9b42f`](https://github.com/graphql-hive/gateway/commit/fe9b42f02ca6e3fbe6defd83e21e283dedf7481a), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`fe9b42f`](https://github.com/graphql-hive/gateway/commit/fe9b42f02ca6e3fbe6defd83e21e283dedf7481a), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`fe9b42f`](https://github.com/graphql-hive/gateway/commit/fe9b42f02ca6e3fbe6defd83e21e283dedf7481a), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`37113d1`](https://github.com/graphql-hive/gateway/commit/37113d1a446748fd83da9823e27a0f56872317df), [`fe9b42f`](https://github.com/graphql-hive/gateway/commit/fe9b42f02ca6e3fbe6defd83e21e283dedf7481a), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`fe9b42f`](https://github.com/graphql-hive/gateway/commit/fe9b42f02ca6e3fbe6defd83e21e283dedf7481a), [`e5eb881`](https://github.com/graphql-hive/gateway/commit/e5eb881e8a063accc55b750e613f4baefa21dda5), [`e5eb881`](https://github.com/graphql-hive/gateway/commit/e5eb881e8a063accc55b750e613f4baefa21dda5)]:
- @graphql-hive/gateway-runtime@1.11.0
- @graphql-hive/plugin-deduplicate-request@1.0.5
- @graphql-mesh/hmac-upstream-signature@1.2.32
- @graphql-mesh/plugin-jwt-auth@1.5.9
- @graphql-mesh/plugin-opentelemetry@1.3.67
- @graphql-mesh/plugin-prometheus@1.3.55
- @graphql-mesh/transport-http@0.7.3
- @graphql-mesh/transport-http-callback@0.7.3
- @graphql-mesh/transport-ws@1.1.3
- @graphql-hive/plugin-aws-sigv4@1.0.19
## 1.16.3
### 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), [`34294ea`](https://github.com/graphql-hive/gateway/commit/34294eaa26d82da0ac7018da081b2dca46bd90f4)]:
- @graphql-hive/gateway-runtime@1.10.3
- @graphql-hive/plugin-aws-sigv4@1.0.18
- @graphql-hive/plugin-deduplicate-request@1.0.4
- @graphql-mesh/hmac-upstream-signature@1.2.31
- @graphql-mesh/plugin-jwt-auth@1.5.8
- @graphql-mesh/plugin-opentelemetry@1.3.66
- @graphql-mesh/plugin-prometheus@1.3.54
- @graphql-mesh/transport-http@0.7.2
- @graphql-mesh/transport-http-callback@0.7.2
- @graphql-mesh/transport-ws@1.1.2
## 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.