Skip to content

Conversation

@enisdenjo
Copy link
Member

@enisdenjo enisdenjo commented Oct 26, 2025

#snapshot-npm-tag "hive-router-query-planner"

Ref ROUTER-33
Related graphql-hive/router#527

How to use?

npm i @graphql-hive/router-runtime
// gateway.config.ts
import { defineConfig } from '@graphql-hive/gateway';
import { unifiedGraphHandler } from '@graphql-hive/router-runtime';

export const gatewayConfig = defineConfig({
  unifiedGraphHandler,
});

Why this way?

  • No unnecessarely increased package size
  • Improves and gives user the control
    • I.e. with an integratied approach, users could only activate/deactivate through env vars
  • Installing an extra package is explicit, clear and visual
    • Also allows users to separately update and maintain package versions
    • Separate updates also separates releases on our side
  • Allows users to use the integration outside the CLI, like when using the gateway programatically

TODO

  • Pass all federation audit tests
  • Optional installation and clear use of the new qp
  • Run unit tests using hive router qp
  • Run leak tests using hive router qp
  • Run bun tests using hive router qp
  • Run e2e tests using hive router qp
  • Run federation-example memtests using hive router qp
  • Run rest of memtests using hive router qp
  • Make enabling JIT be a no-op when using new qp (we dont use executable schemas)
  • Progressive Override
  • Document

@enisdenjo enisdenjo changed the title [EXPERIMENTAL] Use Hive Router query planner Use Hive Router query planner Oct 26, 2025
@enisdenjo enisdenjo changed the title Use Hive Router query planner Use Query Planner from Hive Router Oct 26, 2025
@theguild-bot
Copy link
Collaborator

theguild-bot commented Oct 26, 2025

🚀 Snapshot Release (hive-router-query-planner)

The latest changes of this PR are available as hive-router-query-planner on npm (based on the declared changesets):

Package Version Info
@graphql-tools/batch-delegate 10.0.4-hive-router-query-planner-f62294138eac986b09ff16ff426e42989a1ab9f4 npm ↗︎ unpkg ↗︎
@graphql-tools/batch-execute 10.0.3-hive-router-query-planner-f62294138eac986b09ff16ff426e42989a1ab9f4 npm ↗︎ unpkg ↗︎
@graphql-tools/delegate 11.1.2-hive-router-query-planner-f62294138eac986b09ff16ff426e42989a1ab9f4 npm ↗︎ unpkg ↗︎
@graphql-tools/executor-common 1.0.4-hive-router-query-planner-f62294138eac986b09ff16ff426e42989a1ab9f4 npm ↗︎ unpkg ↗︎
@graphql-tools/executor-graphql-ws 3.1.2-hive-router-query-planner-f62294138eac986b09ff16ff426e42989a1ab9f4 npm ↗︎ unpkg ↗︎
@graphql-tools/executor-http 3.0.6-hive-router-query-planner-f62294138eac986b09ff16ff426e42989a1ab9f4 npm ↗︎ unpkg ↗︎
@graphql-tools/federation 4.2.2-hive-router-query-planner-f62294138eac986b09ff16ff426e42989a1ab9f4 npm ↗︎ unpkg ↗︎
@graphql-mesh/fusion-runtime 1.5.0-hive-router-query-planner-f62294138eac986b09ff16ff426e42989a1ab9f4 npm ↗︎ unpkg ↗︎
@graphql-hive/gateway 2.1.14-hive-router-query-planner-f62294138eac986b09ff16ff426e42989a1ab9f4 npm ↗︎ unpkg ↗︎
@graphql-hive/nestjs 2.0.19-hive-router-query-planner-f62294138eac986b09ff16ff426e42989a1ab9f4 npm ↗︎ unpkg ↗︎
@graphql-hive/plugin-aws-sigv4 2.0.14-hive-router-query-planner-f62294138eac986b09ff16ff426e42989a1ab9f4 npm ↗︎ unpkg ↗︎
@graphql-hive/plugin-deduplicate-request 2.0.6-hive-router-query-planner-f62294138eac986b09ff16ff426e42989a1ab9f4 npm ↗︎ unpkg ↗︎
@graphql-mesh/hmac-upstream-signature 2.0.6-hive-router-query-planner-f62294138eac986b09ff16ff426e42989a1ab9f4 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-jwt-auth 2.0.8-hive-router-query-planner-f62294138eac986b09ff16ff426e42989a1ab9f4 npm ↗︎ unpkg ↗︎
@graphql-hive/plugin-opentelemetry 1.1.0-hive-router-query-planner-f62294138eac986b09ff16ff426e42989a1ab9f4 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-prometheus 2.1.0-hive-router-query-planner-f62294138eac986b09ff16ff426e42989a1ab9f4 npm ↗︎ unpkg ↗︎
@graphql-hive/router-runtime 0.0.1-hive-router-query-planner-f62294138eac986b09ff16ff426e42989a1ab9f4 npm ↗︎ unpkg ↗︎
@graphql-hive/gateway-runtime 2.3.2-hive-router-query-planner-f62294138eac986b09ff16ff426e42989a1ab9f4 npm ↗︎ unpkg ↗︎
@graphql-tools/stitch 10.1.2-hive-router-query-planner-f62294138eac986b09ff16ff426e42989a1ab9f4 npm ↗︎ unpkg ↗︎
@graphql-tools/stitching-directives 4.0.4-hive-router-query-planner-f62294138eac986b09ff16ff426e42989a1ab9f4 npm ↗︎ unpkg ↗︎
@graphql-hive/gateway-testing 2.0.2-hive-router-query-planner-f62294138eac986b09ff16ff426e42989a1ab9f4 npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-common 1.0.10-hive-router-query-planner-f62294138eac986b09ff16ff426e42989a1ab9f4 npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-http 1.0.10-hive-router-query-planner-f62294138eac986b09ff16ff426e42989a1ab9f4 npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-http-callback 1.0.10-hive-router-query-planner-f62294138eac986b09ff16ff426e42989a1ab9f4 npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-ws 2.0.10-hive-router-query-planner-f62294138eac986b09ff16ff426e42989a1ab9f4 npm ↗︎ unpkg ↗︎
@graphql-tools/wrap 11.0.4-hive-router-query-planner-f62294138eac986b09ff16ff426e42989a1ab9f4 npm ↗︎ unpkg ↗︎

@theguild-bot
Copy link
Collaborator

theguild-bot commented Oct 26, 2025

🚀 Snapshot Release (Binary for macOS-ARM64)

The latest changes of this PR are available for download (based on the declared changesets).

Download

@theguild-bot
Copy link
Collaborator

theguild-bot commented Oct 26, 2025

🚀 Snapshot Release (Binary for Linux-ARM64)

The latest changes of this PR are available for download (based on the declared changesets).

Download

@theguild-bot
Copy link
Collaborator

theguild-bot commented Oct 26, 2025

🚀 Snapshot Release (Binary for Linux-X64)

The latest changes of this PR are available for download (based on the declared changesets).

Download

@theguild-bot
Copy link
Collaborator

theguild-bot commented Oct 26, 2025

🚀 Snapshot Release (Binary for macOS-X64)

The latest changes of this PR are available for download (based on the declared changesets).

Download

@theguild-bot
Copy link
Collaborator

theguild-bot commented Oct 26, 2025

🚀 Snapshot Release (Bun Docker Image)

The latest changes of this PR are available as image on GitHub Container Registry (based on the declared changesets):

ghcr.io/graphql-hive/gateway:2.1.14-hive-router-query-planner-f62294138eac986b09ff16ff426e42989a1ab9f4-bun

@theguild-bot
Copy link
Collaborator

theguild-bot commented Oct 26, 2025

🚀 Snapshot Release (Node Docker Image)

The latest changes of this PR are available as image on GitHub Container Registry (based on the declared changesets):

ghcr.io/graphql-hive/gateway:2.1.14-hive-router-query-planner-f62294138eac986b09ff16ff426e42989a1ab9f4

@theguild-bot
Copy link
Collaborator

theguild-bot commented Oct 26, 2025

🚀 Snapshot Release (Binary for Windows-X64)

The latest changes of this PR are available for download (based on the declared changesets).

Download

@enisdenjo enisdenjo marked this pull request as ready for review November 6, 2025 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants