Skip to content

Releases: graphql-hive/gateway

January 07, 2026

07 Jan 02:27
7a80a4f

Choose a tag to compare

@graphql-tools/[email protected]

Patch Changes

@graphql-tools/[email protected]

Patch Changes

  • #1835 dcd8f0e Thanks @ardatan! - Delegate variable values correctly;

    When delegating requests with variables that include nested arrays, ensure that null values are preserved and passed correctly to the subschema. This fix addresses issues where null values in nested arrays were not handled properly during delegation.

    Let's say we have the following schema;

    makeExecutableSchema({
        typeDefs: /* GraphQL */ `
            type Query {
                test(input: InputType!): [String!]
            }
            input InputType {
                value: [String!]
            }
        `,
        resolvers: {
            Query: {
                test: (_, args) => {
                    // Returns the incoming variable value
                    return args.input.value;
                },
            },
        }
    });

    When delegating a query with a variable like:

    {
        "query": "query Test($value: [String!]) { test(input: { value: $value } ) }",
        "variables": { "value": null }
    }

    And the result was

    {
        "data": {
            "test": []
        }
    }

    But with this fix, the result will correctly be:

    {
        "data": {
            "test": null
        }
    }

@graphql-tools/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-tools/[email protected]

Patch Changes

@graphql-tools/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-tools/[email protected]

Patch Changes

[email protected]

07 Jan 02:31
7a80a4f

Choose a tag to compare

Pre-built binaries of the Hive Gateway for the @graphql-hive/[email protected] release.

December 18, 2025

18 Dec 13:57
43e716f

Choose a tag to compare

@graphql-hive/[email protected]

Minor Changes

  • #1791 071b1e0 Thanks @EmrysMyrddin! - New attributes on http, graphql operation and subgraph execution to make it easier to find those "root" spans.

    • HTTP span: hive.request: true and hive.request.id: <request-id> if requestId exists
    • GraphQL operation : hive.graphql: true
    • Subgraph Execution : hive.upstream: true
  • #1791 071b1e0 Thanks @EmrysMyrddin! - Added @graphql-hive/gateway/opentelemetry/attributes module entrypoint exposing graphql and hive
    specific attributes. This was already exposed by the default entrypoint, but it now also has its own one.

    This fixes an issue with some bundler (like vite) that doesn't support importing non existent .js
    when only a .d.ts file exists.

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-hive/[email protected]

Minor Changes

  • #1786 abd350b Thanks @ardatan! - Respect both `graphql-client-name` and `x-graphql-client-name` for client name header, and both `graphql-client-version` and `x-graphql-client-version` for client version header by default if not configured otherwise.

  • #1791 071b1e0 Thanks @EmrysMyrddin! - New attributes on http, graphql operation and subgraph execution to make it easier to find those "root" spans.

    • HTTP span: hive.request: true and hive.request.id: <request-id> if requestId exists
    • GraphQL operation : hive.graphql: true
    • Subgraph Execution : hive.upstream: true
  • #1791 071b1e0 Thanks @EmrysMyrddin! - Added @graphql-hive/plugin-opentelemetry/attributes module entrypoint exposing graphql and hive
    specific attributes. This was already exposed by the default entrypoint, but it now also has its own one.

    This fixes an issue with some bundler (like vite) that doesn't support importing non existent .js
    when only a .d.ts file exists.

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-hive/[email protected]

Minor Changes

  • #1786 abd350b Thanks @ardatan! - Respect both `graphql-client-name` and `x-graphql-client-name` for client name header, and both `graphql-client-version` and `x-graphql-client-version` for client version header by default if not configured otherwise.

Patch Changes

@graphql-hive/[email protected]

Patch Changes

[email protected]

18 Dec 14:01
43e716f

Choose a tag to compare

Pre-built binaries of the Hive Gateway for the @graphql-hive/[email protected] release.

December 10, 2025

10 Dec 19:27
5998fa1

Choose a tag to compare

@graphql-hive/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

[email protected]

10 Dec 19:31
5998fa1

Choose a tag to compare

Pre-built binaries of the Hive Gateway for the @graphql-hive/[email protected] release.

December 03, 2025

03 Dec 13:13
3db9b25

Choose a tag to compare

@graphql-tools/[email protected]

Patch Changes

@graphql-tools/[email protected]

Patch Changes

  • da8b8e3 Thanks @ardatan! - Use getDefinedRootType instead of schema.getRootType for GraphQL v15 compatibility

@graphql-tools/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-hive/[email protected]

Minor Changes

  • #1738 2cab632 Thanks @EmrysMyrddin! - New Hive CDN mirror and circuit breaker

    Hive CDN introduced a new CDN mirror and circuit breaker to mitigate the risk related to Cloudflare
    services failures.

    You can now provide multiple endpoint in Hive Console related features, and configure the circuit
    breaker handling CDN failure and how it switches to the CDN mirror.

    Usage

    To enable this feature, please provide the mirror endpoint in supergraph and persistedDocument
    options:

    import { defineConfig } from '@graphql-hive/gateway'
    
    export const gatewayConfig = defineConfig({
      supergraph: {
        type: 'hive',
    -   endpoint: 'https://cdn.graphql-hive.com/artifacts/v1/<target-id>/supergraph',
    +   endpoint: [
    +     'https://cdn.graphql-hive.com/artifacts/v1/<target-id>/supergraph',
    +     'https://cdn-mirror.graphql-hive.com/artifacts/v1/<target-id>/supergraph'
    +   ]
      },
    
      persistedDocuments: {
    -   endpoint: 'https://cdn.graphql-hive.com/<target-id>',
    +   endpoint: [
    +     'https://cdn.graphql-hive.com/<target-id>',
    +     'https://cdn-mirror.graphql-hive.com/<target-id>'
    +   ]
      }
    })

    Configuration

    The circuit breaker has production ready default configuration, but you customize its behavior:

    import { defineConfig, CircuitBreakerConfiguration } from '@graphql-hive/gateway';
    
    const circuitBreaker: CircuitBreakerConfiguration = {
        resetTimeout: 30_000; // 30s
        errorThresholdPercentage: 50;
        volumeThreshold: 5;
    }
    
    export const gatewayConfig = defineConfig({
      supergraph: {
        type: 'hive',
        endpoint: [...],
        circuitBreaker,
      },
    
      persistedDocuments: {
        type: 'hive',
        endpoint: [...],
        circuitBreaker,
      },
    });

Patch Changes

@graphql-tools/[email protected]

Patch Changes

@graphql-tools/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-tools/[email protected]

Patch Changes

[email protected]

03 Dec 13:16
3db9b25

Choose a tag to compare

Pre-built binaries of the Hive Gateway for the @graphql-hive/[email protected] release.

December 01, 2025

01 Dec 12:09
db55937

Choose a tag to compare

@graphql-tools/[email protected]

Patch Changes

@graphql-tools/[email protected]

Patch Changes

@graphql-tools/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-tools/[email protected]

Patch Changes

@graphql-tools/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-tools/[email protected]

Patch Changes

December 01, 2025

01 Dec 11:06
32b02ab

Choose a tag to compare

@graphql-tools/[email protected]

Patch Changes

@graphql-tools/[email protected]

Major Changes

  • #1708 bc6cddd Thanks @ardatan! - Breaking changes in createRequest function;

    • No more sourceParentType, sourceFieldName, variableDefinitions, variableValues and targetRootValue
    • targetRootValue has been renamed to rootValue
    • targetSchema is a required option now and args is also accepted as a map of the arguments of the target field
    • fragments is now an array of FragmentDefinitionNode instead of a record { [fragmentName: string]: FragmentDefinitionNode }

    Breaking changes in delegateRequest and delegateToSchema functions;

    • No more transformedSchema option, it has been renamed to targetSchema
    • targetSchema is a required option now

Patch Changes

  • #1727 1dbc653 Thanks @ardatan! - Avoid extra __typename in the root selection

    query {
    - __typename
      hello
    }
  • #1743 b520eb2 Thanks @ardatan! - Handle leftovers recursively but in async
    Fixes requires-circular test suite's second case on federation audit repository

@graphql-tools/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Minor Changes

  • #1708 bc6cddd Thanks @ardatan! - Export getSubgraph method so other handlers can use extracted transforms and subgraph schema

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-hive/[email protected]

Minor Changes

Patch Changes

@graphql-hive/[email protected]

Patch Changes

Read more