Skip to content

Releases: graphql-hive/graphql-yoga

December 18, 2025

18 Dec 14:50
1c43572

Choose a tag to compare

@graphql-yoga/[email protected]

@graphql-yoga/[email protected]

[email protected]

Minor Changes

  • #4312
    3eabd17
    Thanks @ardatan! - Export GraphiQLRenderer type which is the
    signature for renderGraphiQL option of Yoga configuration

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

  • #4312
    3eabd17
    Thanks @ardatan! - - Add target option that allows you to choose
    which HTML element you want to render Apollo Sandbox
    • Set it to #embedded-sandbox by default
    • Use GraphiQLRenderer type from graphql-yoga package to prevent typing regressions
    • Fix renderGraphiQL option type
    • Set initialEndpoint based on graphiqlOpts.endpoint if provided
    • Set includeCookies based on graphiqlOpts.credentials if provided
    • Fix margin and size issues in the rendered HTML
  • Updated dependencies
    [3eabd17]:

@graphql-yoga/[email protected]

Patch Changes

December 02, 2025

02 Dec 00:13
c801618

Choose a tag to compare

@graphql-yoga/[email protected]

@graphql-yoga/[email protected]

[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

November 28, 2025

28 Nov 11:05
e1079f6

Choose a tag to compare

@graphql-yoga/[email protected]

@graphql-yoga/[email protected]

[email protected]

Minor Changes

  • #4288
    66c370c
    Thanks @EmrysMyrddin! - Add experimental support for
    coordinate error attribute proposal.

    The coordinate attribute indicates the coordinate in the schema of the resolver which
    experienced the errors. It allows for an easier error source identification than with the path
    which can be difficult to walk, or even lead to unsolvable ambiguities when using Union or
    Interface types.

    Usage

    Since this is experimental, it has to be explicitly enabled by adding the appropriate plugin to
    the Yoga instance:

    import { createYoga, useErrorCoordinate } from 'graphql-yoga'
    import { schema } from './schema'
    
    export const yoga = createYoga({
      schema,
      plugins: [useErrorCoordinate()]
    })

    Once enabled, located errors will gain the coordinate attribute:

    const myPlugin = {
      onExecutionResult({ result }) {
        if (result.errors) {
          for (const error of result.errors) {
            console.log('Error at', error.coordinate, ':', error.message)
          }
        }
      }
    }

    Security concerns

    Adding a schema coordinate to errors exposes information about the schema, which can be an attack
    vector if you rely on the fact your schema is private and secret.

    This is why the coordinate attribute is not serialized by default, and will not be exposed to
    clients.

    If you want to send this information to client, override either each toJSON error's method, or
    add a dedicated extension.

    import { GraphQLError } from 'graphql'
    import { createYoga, maskError, useErrorCoordinate } from 'graphql-yoga'
    import { schema } from './schema'
    
    export const yoga = createYoga({
      schema,
      plugins: [useErrorCoordinate()],
      maskedErrors: {
        isDev: process.env['NODE_ENV'] === 'development', // when `isDev` is true, errors are not masked
        maskError: (error, message, isDev) => {
          if (error instanceof GraphQLError) {
            error.toJSON = () => {
              // Get default graphql serialized error representation
              const json = GraphQLError.prototype.toJSON.apply(error)
              // Manually add the coordinate attribute. You can also use extensions instead.
              json.coordinate = error.coordinate
              return json
            }
          }
    
          // Keep the default error masking implementation
          return maskError(error, message, isDev)
        }
      }
    })

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/render-apollo-sandbox@0...

Read more

November 21, 2025

21 Nov 21:33
7a8a903

Choose a tag to compare

@graphql-yoga/[email protected]

Patch Changes

  • #4296
    d39201e
    Thanks @enisdenjo! - Plugin stops and handles parsing errors

    Previously it would throw an unhandled exception becauase Prometheus was expecting a GraphQL
    document in onParse hook always, but it can also be an error.

November 07, 2025

07 Nov 02:09
8d7e5f0

Choose a tag to compare

@graphql-yoga/[email protected]

@graphql-yoga/[email protected]

@graphql-yoga/[email protected]

Patch Changes

[email protected]

Patch Changes

  • #4270
    ba38629
    Thanks @ardatan! - Fixes the bug where the error masking incorrectly
    sets http.unexpected instead of just unexpected.

    {
      "extensions": {
    -    "http": {
          "unexpected": true
    -    }
      }
    }

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

November 04, 2025

04 Nov 15:51
654365a

Choose a tag to compare

@graphql-yoga/[email protected]

@graphql-yoga/[email protected]

@graphql-yoga/[email protected]

Patch Changes

[email protected]

Patch Changes

@graphql-yoga/[email protected]

Minor Changes

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

  • Upda...
Read more

September 19, 2025

19 Sep 16:33
de68acb

Choose a tag to compare

@graphql-yoga/[email protected]

@graphql-yoga/[email protected]

[email protected]

Minor Changes

Patch Changes

  • #4191
    0a7a635
    Thanks @ardatan! - Fix workers' loading in online GraphiQL mode, so
    that Monaco features like autocomplete can work properly

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

September 06, 2025

06 Sep 20:14
d33ee90

Choose a tag to compare

@graphql-yoga/[email protected]

Major Changes

  • #4157
    8509a81
    Thanks @renovate! - Drop Node 18 and Apollo Client v3, not it
    supports Node 20 and Apollo Client v4 or later versions

Patch Changes

@graphql-yoga/[email protected]

Major Changes

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

[email protected]

Patch Changes

  • e7b8906
    Thanks @ardatan! - Bump URL Loader in GraphiQL to the latest to
    remove extra DOWNSTREAM_SERVICE_ERROR code in the errors

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Minor Changes

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

July 11, 2025

11 Jul 19:18
0e38e89

Choose a tag to compare

@graphql-yoga/[email protected]

@graphql-yoga/[email protected]

[email protected]

Patch Changes

  • #4116
    ecd605b
    Thanks @enisdenjo! - Does not GraphQL error extensions when it's
    wrapping an internal server error

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

July 11, 2025

11 Jul 14:26
580ad9d

Choose a tag to compare

@graphql-yoga/[email protected]

@graphql-yoga/[email protected]

@graphql-yoga/[email protected]

Minor Changes

[email protected]

Minor Changes

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Minor Changes

Patch Changes