Update dependency @graphql-hive/gateway to v2 #37
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.7.3->^2.0.0Release Notes
graphql-hive/gateway (@graphql-hive/gateway)
v2.1.9Compare Source
Patch Changes
#1572
a79f81eThanks @dependabot! - dependencies updates:dotenv@^17.2.3↗︎ (from^17.2.2, independencies)#1576
458db4cThanks @dependabot! - Update OpenSSL in Docker images to address security vulnerabilities;Updated dependencies [
a79f81e,458db4c,91a848b,883cd5a,91a848b,a79f81e,91a848b,ad8ff45]:v2.1.8Compare Source
Patch Changes
#1548
f6938a5Thanks @dependabot! - dependencies updates:@graphql-tools/graphql-file-loader@^8.1.2↗︎ (from^8.1.1, independencies)#1565
1a0d955Thanks @enisdenjo! - Include also system CA certificates for Node in Docker imageIn light of the cert removals from https://nodejs.org/en/blog/release/v24.7.0
Updated dependencies [
f6938a5,9c610b9,a6a203c]:v2.1.7Compare Source
Patch Changes
#1541
5e511caThanks @dependabot! - dependencies updates:@graphql-yoga/render-graphiql@^5.16.0↗︎ (from^5.15.2, independencies)graphql-yoga@^5.16.0↗︎ (from^5.15.2, independencies)Updated dependencies [
5e511ca,5e511ca,5e511ca,5e511ca,5e511ca,0a349fb]:v2.1.6Compare Source
Patch Changes
v2.1.5Compare Source
Patch Changes
#1524
d7b48a7Thanks @enisdenjo! - dependencies updates:@envelop/core@^5.3.2↗︎ (from^5.3.1, independencies)@graphql-mesh/cache-cfw-kv@^0.105.13↗︎ (from^0.105.12, independencies)@graphql-mesh/cache-localforage@^0.105.14↗︎ (from^0.105.13, independencies)@graphql-mesh/cache-redis@^0.104.13↗︎ (from^0.104.12, independencies)@graphql-mesh/cache-upstash-redis@^0.1.13↗︎ (from^0.1.12, independencies)@graphql-mesh/plugin-http-cache@^0.105.14↗︎ (from^0.105.13, independencies)@graphql-mesh/plugin-jit@^0.2.13↗︎ (from^0.2.12, independencies)@graphql-mesh/plugin-rate-limit@^0.105.1↗︎ (from^0.104.12, independencies)@graphql-mesh/plugin-snapshot@^0.104.13↗︎ (from^0.104.12, independencies)@graphql-mesh/types@^0.104.13↗︎ (from^0.104.12, independencies)@graphql-mesh/utils@^0.104.13↗︎ (from^0.104.12, independencies)#1524
d7b48a7Thanks @enisdenjo! - Improve performance of rate limiter#1489
7ab184cThanks @EmrysMyrddin! - Support nested imports of package.json#exports definitions in DockerUpdated dependencies [
706b6f4,bb2621c,d7b48a7,bb2621c,706b6f4,bb2621c,d7b48a7,d7b48a7,d7b48a7,d7b48a7,d7b48a7,d7b48a7,d7b48a7,9da33f9]:v2.1.4Compare Source
Patch Changes
#1472
8080944Thanks @dependabot! - dependencies updates:@opentelemetry/api-logs@^0.205.0↗︎ (from^0.203.0, independencies)@opentelemetry/context-async-hooks@^2.1.0↗︎ (from^2.0.1, independencies)@opentelemetry/context-zone@^2.1.0↗︎ (from^2.0.1, independencies)@opentelemetry/core@^2.1.0↗︎ (from^2.0.1, independencies)@opentelemetry/exporter-jaeger@^2.1.0↗︎ (from^2.0.1, independencies)@opentelemetry/exporter-zipkin@^2.1.0↗︎ (from^2.0.1, independencies)@opentelemetry/propagator-b3@​^2.1.0↗︎ (from^2.0.1, independencies)@opentelemetry/propagator-jaeger@^2.1.0↗︎ (from^2.0.1, independencies)@opentelemetry/sampler-jaeger-remote@^0.205.0↗︎ (from^0.203.0, independencies)@opentelemetry/sdk-logs@^0.205.0↗︎ (from^0.203.0, independencies)@opentelemetry/sdk-metrics@^2.1.0↗︎ (from^2.0.1, independencies)@opentelemetry/sdk-trace-base@^2.1.0↗︎ (from^2.0.1, independencies)#1505
1fcec98Thanks @dependabot! - dependencies updates:commander@^14.0.1↗︎ (from^14.0.0, independencies)Updated dependencies [
babf7db,59739ea,8080944,b343aad]:v2.1.3Compare Source
Patch Changes
#1471
3751dbfThanks @dependabot! - dependencies updates:@graphql-mesh/cache-cfw-kv@^0.105.12↗︎ (from^0.105.11, independencies)@graphql-mesh/cache-localforage@^0.105.13↗︎ (from^0.105.12, independencies)@graphql-mesh/cache-redis@^0.104.12↗︎ (from^0.104.11, independencies)@graphql-mesh/cache-upstash-redis@^0.1.12↗︎ (from^0.1.11, independencies)@graphql-mesh/plugin-http-cache@^0.105.13↗︎ (from^0.105.12, independencies)@graphql-mesh/plugin-jit@^0.2.12↗︎ (from^0.2.11, independencies)@graphql-mesh/plugin-rate-limit@^0.104.12↗︎ (from^0.104.11, independencies)@graphql-mesh/plugin-snapshot@^0.104.12↗︎ (from^0.104.11, independencies)Updated dependencies [
3751dbf,838ffec,950ebd1,d722331,950ebd1,fe99f74,838ffec,950ebd1,fe99f74,838ffec,838ffec,838ffec,950ebd1,950ebd1,838ffec,838ffec,9b60107,856f012]:v2.1.2Compare Source
Patch Changes
70c5010]:v2.1.1Compare Source
Patch Changes
7212b86]:v2.1.0Compare Source
Minor Changes
#1458
6495780Thanks @ardatan! - New directive@pubsubPublishto publish the payload to the pubsub engine directlyPatch Changes
#1463
bcb9407Thanks @ardatan! - dependencies updates:@graphql-yoga/render-graphiql@^5.15.2↗︎ (from^5.15.1, independencies)graphql-yoga@^5.15.2↗︎ (from^5.15.1, independencies)#1462
0061547Thanks @ardatan! - Export RedisPubSub and NATSPubSub from@graphql-hive/gatewaypackageUpdated dependencies [
bcb9407,e758071,7020674,7020674,6495780,7020674]:v2.0.4Compare Source
Patch Changes
a6cb800]:v2.0.3Compare Source
Patch Changes
#1450
ab05e3fThanks @dependabot! - dependencies updates:@graphql-mesh/cache-cfw-kv@^0.105.11↗︎ (from^0.105.8, independencies)@graphql-mesh/cache-localforage@^0.105.12↗︎ (from^0.105.9, independencies)@graphql-mesh/cache-redis@^0.104.11↗︎ (from^0.104.8, independencies)@graphql-mesh/cache-upstash-redis@^0.1.11↗︎ (from^0.1.8, independencies)@graphql-mesh/plugin-http-cache@^0.105.12↗︎ (from^0.105.8, independencies)@graphql-mesh/plugin-jit@^0.2.11↗︎ (from^0.2.7, independencies)@graphql-mesh/plugin-rate-limit@^0.104.11↗︎ (from^0.104.7, independencies)@graphql-mesh/plugin-snapshot@^0.104.11↗︎ (from^0.104.7, independencies)@graphql-mesh/types@^0.104.11↗︎ (from^0.104.8, independencies)#1452
b0e5568Thanks @dependabot! - dependencies updates:@envelop/core@^5.3.1↗︎ (from^5.3.0, independencies)@escape.tech/graphql-armor-max-depth@^2.4.2↗︎ (from^2.4.0, independencies)@graphql-tools/graphql-file-loader@^8.1.1↗︎ (from^8.0.22, independencies)dotenv@^17.2.2↗︎ (from^17.2.1, independencies)#1455
b6f985bThanks @ardatan! - dependencies updates:@graphql-mesh/types@^0.104.12↗︎ (from^0.104.11, independencies)@graphql-mesh/utils@^0.104.12↗︎ (from^0.104.11, independencies)#1455
b6f985bThanks @ardatan! - Support client side pubsub operation definition with@pubsubOperationInstead of
@resolveToon the gateway-side configuration withadditionalTypeDefs, now you can define those operations on the subgraphs directly. Since this is a additional directive provided by Mesh, you need to use@composeDirectiveUpdated dependencies [
ab05e3f,b0e5568,b6f985b,b0e5568,b0e5568,ab05e3f,b6f985b,ab05e3f,b6f985b,ab05e3f,b6f985b,ab05e3f,b6f985b,ab05e3f,b6f985b,ab05e3f,b6f985b,ab05e3f,b6f985b,b6f985b,105c10d,105c10d,b0e5568]:v2.0.2Compare Source
Patch Changes
20f4880]:v2.0.1Compare Source
Patch Changes
#1441
2b3946fThanks @enisdenjo! - maxDepth and maxTokens disabled by defaultOther 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,65eef45,65eef45,65eef45]:v2.0.0Compare Source
Major Changes
#956
46d2661Thanks @EmrysMyrddin! - Sane security defaults, max token and depths limits enabled by defaultMax token limit defaults to 1000 (can be configured via
maxTokensoption) and max depth limit defaults to 8 (can be configured viamaxDepthoption).#956
46d2661Thanks @EmrysMyrddin! - Drop Node 18 supportLeast supported Node version is now v20.
#956
46d2661Thanks @EmrysMyrddin! -useDeduplicateRequest()plugin has been removed in favour of the built-in inflight request deduplicationTo migrate, simply remove the plugin from your configuration and you're good to go!
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:
#956
46d2661Thanks @EmrysMyrddin! - Introduce and use the new Hive LoggerRead more about it on the Hive Logger documentation here.
If coming from Hive Gateway v1, read the migration guide here.
#956
46d2661Thanks @EmrysMyrddin! - Disable forking even if NODE_ENV=productionForking 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
46d2661Thanks @EmrysMyrddin! - Remove mocking plugin from Hive Gateway built-insThere is no need to provide the
useMockplugin alongside Hive Gateway built-ins. Not only is the mock plugin 2MB in size (minified), but installing and using it is very simple.#956
46d2661Thanks @EmrysMyrddin! - Load schema on initializationFailing to start if the schema is not loaded for whatever reason.
Minor Changes
46d2661Thanks @EmrysMyrddin! - ThedefineConfigaccepts a TContext genericPatch Changes
#956
46d2661Thanks @EmrysMyrddin! - dependencies updates:@graphql-hive/logger@workspace:^↗︎ (todependencies)#956
46d2661Thanks @EmrysMyrddin! - dependencies updates:@opentelemetry/api@^1.9.0↗︎ (todependencies)@opentelemetry/context-zone@^2.0.1↗︎ (todependencies)@opentelemetry/core@^2.0.1↗︎ (todependencies)@opentelemetry/exporter-jaeger@^2.0.1↗︎ (todependencies)@opentelemetry/exporter-zipkin@^2.0.1↗︎ (todependencies)@opentelemetry/propagator-b3@​^2.0.1↗︎ (todependencies)@opentelemetry/propagator-jaeger@^2.0.1↗︎ (todependencies)@opentelemetry/sampler-jaeger-remote@^0.202.0↗︎ (todependencies)@opentelemetry/sdk-metrics@^2.0.1↗︎ (todependencies)#956
46d2661Thanks @EmrysMyrddin! - dependencies updates:@opentelemetry/api-logs@^0.202.0↗︎ (todependencies)@opentelemetry/sdk-logs@^0.202.0↗︎ (todependencies)#956
46d2661Thanks @EmrysMyrddin! - dependencies updates:@opentelemetry/context-async-hooks@^2.0.1↗︎ (todependencies)@opentelemetry/sdk-trace-base@^2.0.1↗︎ (todependencies)#956
46d2661Thanks @EmrysMyrddin! - dependencies updates:@graphql-hive/plugin-deduplicate-request@workspace:^↗︎ (fromdependencies)#956
46d2661Thanks @EmrysMyrddin! - dependencies updates:@graphql-hive/logger@workspace:^↗︎ (todependencies)@graphql-hive/plugin-opentelemetry@workspace:^↗︎ (todependencies)@opentelemetry/api@^1.9.0↗︎ (todependencies)@opentelemetry/api-logs@^0.203.0↗︎ (todependencies)@opentelemetry/context-async-hooks@^2.0.1↗︎ (todependencies)@opentelemetry/context-zone@^2.0.1↗︎ (todependencies)@opentelemetry/core@^2.0.1↗︎ (todependencies)@opentelemetry/exporter-jaeger@^2.0.1↗︎ (todependencies)@opentelemetry/exporter-zipkin@^2.0.1↗︎ (todependencies)@opentelemetry/propagator-b3@​^2.0.1↗︎ (todependencies)@opentelemetry/propagator-jaeger@^2.0.1↗︎ (todependencies)@opentelemetry/sampler-jaeger-remote@^0.203.0↗︎ (todependencies)@opentelemetry/sdk-logs@^0.203.0↗︎ (todependencies)@opentelemetry/sdk-metrics@^2.0.1↗︎ (todependencies)@opentelemetry/sdk-trace-base@^2.0.1↗︎ (todependencies)@graphql-hive/plugin-deduplicate-request@workspace:^↗︎ (fromdependencies)@graphql-mesh/plugin-mock@^0.105.8↗︎ (fromdependencies)@graphql-mesh/plugin-opentelemetry@workspace:^↗︎ (fromdependencies)#956
46d2661Thanks @EmrysMyrddin! - Inflight request deduplicationUpdated dependencies [
46d2661,46d2661,46d2661,46d2661,46d2661,46d2661,46d2661,46d2661,46d2661,46d2661,46d2661, [46d2661](https://redConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.