Skip to content

Releases: graphql-hive/graphql-yoga

February 14, 2025

14 Feb 17:44
3754c64
Compare
Choose a tag to compare

@graphql-yoga/plugin-response-cache@3.13.1

Patch Changes

  • #3759
    bba7a83
    Thanks @enisdenjo! - Provide cache key per oparation in a batched
    request

    Instead of per request, which would give out the same cache key for every operation in a batched
    request.

February 06, 2025

06 Feb 15:33
de5cd14
Compare
Choose a tag to compare

@graphql-yoga/apollo-link@3.11.0

@graphql-yoga/urql-exchange@3.11.0

graphql-yoga@5.11.0

Minor Changes

  • #3727
    5fd15b8
    Thanks @EmrysMyrddin! - Allow to configure the endpoint used by
    GraphiQL to send requests.

  • #3736
    d13b8a4
    Thanks @ardatan! - Now it is possible to replace or wrap the logic
    how GraphQLParams handled;

    By default Yoga calls Envelop to handle the parameters, but now you can replace it with your own
    logic.

    Example: Wrap the GraphQL handling pipeline in an AsyncLocalStorage

    function myPlugin(): Plugin {
      const context = new AsyncLocalStorage();
      return {
        onParams({ paramsHandler, setParamsHandler }) {
          const store = { foo: 'bar' }
          setParamsHandler(payload => context.run(store, paramsHandler, payload))
       }
    }

@graphql-yoga/nestjs@3.11.0

Patch Changes

@graphql-yoga/nestjs-federation@3.11.0

Patch Changes

  • Updated dependencies []:
    • @graphql-yoga/nestjs@3.11.0
    • @graphql-yoga/plugin-apollo-inline-trace@3.11.0

@graphql-yoga/plugin-apollo-inline-trace@3.11.0

Patch Changes

@graphql-yoga/apollo-managed-federation@0.9.0

Patch Changes

@graphql-yoga/plugin-apollo-usage-report@0.6.0

Patch Changes

  • Updated dependencies
    [5fd15b8,
    d13b8a4]:
    • graphql-yoga@5.11.0
    • @graphql-yoga/plugin-apollo-inline-trace@3.11.0

@graphql-yoga/plugin-apq@3.11.0

Patch Changes

@graphql-yoga/plugin-csrf-prevention@3.11.0

Patch Changes

@graphql-yoga/plugin-defer-stream@3.11.0

Patch Changes

@graphql-yoga/plugin-disable-introspection@2.12.0

Patch Changes

@graphql-yoga/plugin-graphql-sse@3.11.0

Patch Changes

@graphql-yoga/plugin-jwt@3.5.0

Patch Changes

@graphql-yoga/plugin-persisted-operations@3.11.0

Patch Changes

@graphql-yoga/plugin-prometheus@6.6.0

Patch Changes

@graphql-yoga/plugin-response-cache@3.13.0

Patch Changes

@graphql-yoga/plugin-sofa@3.11.0

Patch Changes

@graphql-yoga/render-graphiql@5.11.0

Patch Changes

January 29, 2025

29 Jan 08:33
9e951aa
Compare
Choose a tag to compare

@graphql-yoga/nestjs-federation@3.10.13

Patch Changes

  • Updated dependencies
    [31b7754]:
    • @graphql-yoga/plugin-apollo-inline-trace@3.10.12

@graphql-yoga/plugin-apollo-inline-trace@3.10.12

Patch Changes

@graphql-yoga/plugin-apollo-usage-report@0.5.9

Patch Changes

  • #3647
    31b7754
    Thanks @ardatan! - Wait for setting schemaId to prevent race
    condition

  • Updated dependencies
    [31b7754]:

    • @graphql-yoga/plugin-apollo-inline-trace@3.10.12

January 27, 2025

27 Jan 10:42
0430c68
Compare
Choose a tag to compare

@graphql-yoga/apollo-link@3.10.10

@graphql-yoga/urql-exchange@3.10.11

@graphql-yoga/graphiql@4.3.5

Patch Changes

  • #3712
    1c055f5
    Thanks @ardatan! - Show deprecated input fields, arguments and all
    other input values in GraphiQL

graphql-yoga@5.10.11

Patch Changes

  • #3712
    1c055f5
    Thanks @ardatan! - Show deprecated input fields, arguments and all
    other input values in GraphiQL

@graphql-yoga/nestjs@3.10.12

Patch Changes

  • Updated dependencies
    [1c055f5]:
    • graphql-yoga@5.10.11

@graphql-yoga/nestjs-federation@3.10.12

Patch Changes

  • Updated dependencies []:
    • @graphql-yoga/nestjs@3.10.12
    • @graphql-yoga/plugin-apollo-inline-trace@3.10.11

@graphql-yoga/plugin-apollo-inline-trace@3.10.11

Patch Changes

  • Updated dependencies
    [1c055f5]:
    • graphql-yoga@5.10.11

@graphql-yoga/apollo-managed-federation@0.8.6

Patch Changes

  • Updated dependencies
    [1c055f5]:
    • graphql-yoga@5.10.11

@graphql-yoga/plugin-apollo-usage-report@0.5.8

Patch Changes

  • Updated dependencies
    [1c055f5]:
    • graphql-yoga@5.10.11
    • @graphql-yoga/plugin-apollo-inline-trace@3.10.11

@graphql-yoga/plugin-apq@3.10.11

Patch Changes

  • Updated dependencies
    [1c055f5]:
    • graphql-yoga@5.10.11

@graphql-yoga/plugin-csrf-prevention@3.10.11

Patch Changes

  • Updated dependencies
    [1c055f5]:
    • graphql-yoga@5.10.11

@graphql-yoga/plugin-defer-stream@3.10.11

Patch Changes

  • Updated dependencies
    [1c055f5]:
    • graphql-yoga@5.10.11

@graphql-yoga/plugin-disable-introspection@2.11.1

Patch Changes

  • Updated dependencies
    [1c055f5]:
    • graphql-yoga@5.10.11

@graphql-yoga/plugin-graphql-sse@3.10.11

Patch Changes

  • Updated dependencies
    [1c055f5]:
    • graphql-yoga@5.10.11

@graphql-yoga/plugin-jwt@3.4.13

Patch Changes

  • Updated dependencies
    [1c055f5]:
    • graphql-yoga@5.10.11

@graphql-yoga/plugin-persisted-operations@3.10.11

Patch Changes

  • Updated dependencies
    [1c055f5]:
    • graphql-yoga@5.10.11

@graphql-yoga/plugin-prometheus@6.5.9

Patch Changes

  • Updated dependencies
    [1c055f5]:
    • graphql-yoga@5.10.11

@graphql-yoga/plugin-response-cache@3.12.11

Patch Changes

  • Updated dependencies
    [1c055f5]:
    • graphql-yoga@5.10.11

@graphql-yoga/plugin-sofa@3.10.11

Patch Changes

  • Updated dependencies
    [1c055f5]:
    • graphql-yoga@5.10.11

@graphql-yoga/render-graphiql@5.10.11

Patch Changes

  • #3712
    1c055f5
    Thanks @ardatan! - Show deprecated input fields, arguments and all
    other input values in GraphiQL

  • Updated dependencies
    [1c055f5]:

    • graphql-yoga@5.10.11

January 20, 2025

20 Jan 10:39
4afbeb1
Compare
Choose a tag to compare

@graphql-yoga/nestjs@3.10.11

Patch Changes

@graphql-yoga/nestjs-federation@3.10.11

Patch Changes

@graphql-yoga/plugin-disable-introspection@2.11.0

Minor Changes

  • #3677
    7419797
    Thanks @ardatan! - Expose the server context as the second
    parameter, so introspection can be disabled based on the context

    import { createYoga } from 'graphql-yoga'
    import { useDisableIntrospection } from '@graphql-yoga/plugin-disable-introspection'
    
    // Provide your schema
    const yoga = createYoga({
      graphiql: false,
      plugins: [
        useDisableIntrospection({
          isDisabled: (_req, ctx) => !ctx.jwt
        })
      ]
    })
    
    const server = createServer(yoga)
    server.listen(4000, () => {
      console.info('Server is running on http://localhost:4000/graphql')
    })

@graphql-yoga/plugin-jwt@3.4.12

Patch Changes

  • #3677
    7419797
    Thanks @ardatan! - Ensure the JWT context has been added before any
    GraphQL Execution hooks when the plugin is used via Yoga

January 16, 2025

16 Jan 15:27
bfc6c32
Compare
Choose a tag to compare

@graphql-yoga/apollo-link@3.10.9

Patch Changes

@graphql-yoga/urql-exchange@3.10.10

Patch Changes

@graphql-yoga/redis-event-target@3.0.3

Patch Changes

  • Updated dependencies
    [d4cbae1]:
    • @graphql-yoga/typed-event-target@3.0.2

@graphql-yoga/typed-event-target@3.0.2

Patch Changes

graphql-yoga@5.10.10

Patch Changes

  • Updated dependencies
    [d4cbae1,
    d4cbae1]:
    • @graphql-yoga/logger@2.0.1
    • @graphql-yoga/subscription@5.0.3

@graphql-yoga/logger@2.0.1

Patch Changes

@graphql-yoga/nestjs@3.10.10

Patch Changes

@graphql-yoga/nestjs-federation@3.10.10

Patch Changes

@graphql-yoga/plugin-apollo-inline-trace@3.10.10

Patch Changes

@graphql-yoga/apollo-managed-federation@0.8.5

Patch Changes

  • Updated dependencies []:
    • graphql-yoga@5.10.10

@graphql-yoga/plugin-apollo-usage-report@0.5.7

Patch Changes

@graphql-yoga/plugin-apq@3.10.10

Patch Changes

  • Updated dependencies []:
    • graphql-yoga@5.10.10

@graphql-yoga/plugin-csrf-prevention@3.10.10

Patch Changes

  • Updated dependencies []:
    • graphql-yoga@5.10.10

@graphql-yoga/plugin-defer-stream@3.10.10

Patch Changes

  • Updated dependencies []:
    • graphql-yoga@5.10.10

@graphql-yoga/plugin-disable-introspection@2.10.10

Patch Changes

  • Updated dependencies []:
    • graphql-yoga@5.10.10

@graphql-yoga/plugin-graphql-sse@3.10.10

Patch Changes

  • Updated dependencies []:
    • graphql-yoga@5.10.10

@graphql-yoga/plugin-jwt@3.4.11

Patch Changes

  • Updated dependencies []:
    • graphql-yoga@5.10.10

@graphql-yoga/plugin-persisted-operations@3.10.10

Patch Changes

  • Updated dependencies []:
    • graphql-yoga@5.10.10

@graphql-yoga/plugin-prometheus@6.5.8

Patch Changes

  • Updated dependencies []:
    • graphql-yoga@5.10.10

@graphql-yoga/plugin-response-cache@3.12.10

Patch Changes

  • Updated dependencies []:
    • graphql-yoga@5.10.10

@graphql-yoga/plugin-sofa@3.10.10

Patch Changes

  • Updated dependencies []:
    • graphql-yoga@5.10.10

@graphql-yoga/render-graphiql@5.10.10

Patch Changes

  • Updated dependencies []:
    • graphql-yoga@5.10.10

@graphql-yoga/subscription@5.0.3

Patch Changes

January 15, 2025

15 Jan 15:42
0136462
Compare
Choose a tag to compare

@graphql-yoga/plugin-prometheus@6.5.7

Patch Changes

  • #3651
    690294a
    Thanks @ardatan! - request is missing when GraphQL WS is used as
    expected, and as we don't need HTTP/Yoga specific metrics, this should be skipped

January 06, 2025

06 Jan 11:55
9f25a72
Compare
Choose a tag to compare

@graphql-yoga/apollo-link@3.10.8

@graphql-yoga/urql-exchange@3.10.9

graphql-yoga@5.10.9

Patch Changes

@graphql-yoga/nestjs@3.10.9

Patch Changes

@graphql-yoga/nestjs-federation@3.10.9

Patch Changes

  • Updated dependencies []:
    • @graphql-yoga/nestjs@3.10.9
    • @graphql-yoga/plugin-apollo-inline-trace@3.10.9

@graphql-yoga/plugin-apollo-inline-trace@3.10.9

Patch Changes

@graphql-yoga/apollo-managed-federation@0.8.4

Patch Changes

@graphql-yoga/plugin-apollo-usage-report@0.5.6

Patch Changes

  • Updated dependencies
    [d24c5d5,
    d24c5d5]:
    • graphql-yoga@5.10.9
    • @graphql-yoga/plugin-apollo-inline-trace@3.10.9

@graphql-yoga/plugin-apq@3.10.9

Patch Changes

@graphql-yoga/plugin-csrf-prevention@3.10.9

Patch Changes

@graphql-yoga/plugin-defer-stream@3.10.9

Patch Changes

@graphql-yoga/plugin-disable-introspection@2.10.9

Patch Changes

@graphql-yoga/plugin-graphql-sse@3.10.9

Patch Changes

@graphql-yoga/plugin-jwt@3.4.10

Patch Changes

@graphql-yoga/plugin-persisted-operations@3.10.9

Patch Changes

@graphql-yoga/plugin-prometheus@6.5.6

Patch Changes

@graphql-yoga/plugin-response-cache@3.12.9

Patch Changes

@graphql-yoga/plugin-sofa@3.10.9

Patch Changes

@graphql-yoga/render-graphiql@5.10.9

Patch Changes

December 24, 2024

24 Dec 10:45
9f109dd
Compare
Choose a tag to compare

@graphql-yoga/apollo-link@3.10.7

@graphql-yoga/urql-exchange@3.10.8

graphql-yoga@5.10.8

Patch Changes

  • #3588
    ed344ea
    Thanks @ardatan! - Mark createLRUCache utility as deprecated, and
    export it as _createLRUCache marking it as an internal utility

@graphql-yoga/nestjs@3.10.8

Patch Changes

  • Updated dependencies
    [ed344ea]:
    • graphql-yoga@5.10.8

@graphql-yoga/nestjs-federation@3.10.8

Patch Changes

  • Updated dependencies []:
    • @graphql-yoga/nestjs@3.10.8
    • @graphql-yoga/plugin-apollo-inline-trace@3.10.8

@graphql-yoga/plugin-apollo-inline-trace@3.10.8

Patch Changes

  • Updated dependencies
    [ed344ea]:
    • graphql-yoga@5.10.8

@graphql-yoga/apollo-managed-federation@0.8.3

Patch Changes

  • Updated dependencies
    [ed344ea]:
    • graphql-yoga@5.10.8

@graphql-yoga/plugin-apollo-usage-report@0.5.5

Patch Changes

  • Updated dependencies
    [ed344ea]:
    • graphql-yoga@5.10.8
    • @graphql-yoga/plugin-apollo-inline-trace@3.10.8

@graphql-yoga/plugin-apq@3.10.8

Patch Changes

  • Updated dependencies
    [ed344ea]:
    • graphql-yoga@5.10.8

@graphql-yoga/plugin-csrf-prevention@3.10.8

Patch Changes

  • Updated dependencies
    [ed344ea]:
    • graphql-yoga@5.10.8

@graphql-yoga/plugin-defer-stream@3.10.8

Patch Changes

  • Updated dependencies
    [ed344ea]:
    • graphql-yoga@5.10.8

@graphql-yoga/plugin-disable-introspection@2.10.8

Patch Changes

  • Updated dependencies
    [ed344ea]:
    • graphql-yoga@5.10.8

@graphql-yoga/plugin-graphql-sse@3.10.8

Patch Changes

  • Updated dependencies
    [ed344ea]:
    • graphql-yoga@5.10.8

@graphql-yoga/plugin-jwt@3.4.9

Patch Changes

  • #3590
    840c6ae
    Thanks @ardatan! - - Do not throw when `request` is not available
    in the context, it can be a WebSockets connection

    • Export helper extractFromConnectionParams to get the token from WebSocket connectionParams
      when GraphQL WS is used like
      here
    import { extractFromConnectionParams, extractFromHeader, useJWT } from '@graphql-yoga/plugin-jwt'
    
    const yoga = createYoga({
      // ...
      plugins: [
        useJWT({
          // So it will look for the token in the connectionParams.my-token field in case of a WebSockets connection
          // It will check WS params and headers, and get the available one
          lookupLocations: [
            extractFromConnectionParams({ name: 'my-token' }),
            extractFromHeader({ name: 'authorization', prefix: 'Bearer ' })
          ]
        })
      ]
    })

@graphql-yoga/plugin-persisted-operations@3.10.8

Patch Changes

  • Updated dependencies
    [ed344ea]:
    • graphql-yoga@5.10.8

@graphql-yoga/plugin-prometheus@6.5.5

Patch Changes

  • Updated dependencies
    [ed344ea]:
    • graphql-yoga@5.10.8

@graphql-yoga/plugin-response-cache@3.12.8

Patch Changes

  • Updated dependencies
    [ed344ea]:
    • graphql-yoga@5.10.8

@graphql-yoga/plugin-sofa@3.10.8

Patch Changes

  • Updated dependencies
    [ed344ea]:
    • graphql-yoga@5.10.8

@graphql-yoga/render-graphiql@5.10.8

Patch Changes

  • Updated dependencies
    [ed344ea]:
    • graphql-yoga@5.10.8

December 24, 2024

24 Dec 09:22
5602b4d
Compare
Choose a tag to compare

@graphql-yoga/apollo-link@3.10.6

@graphql-yoga/urql-exchange@3.10.7

@graphql-yoga/graphiql@4.3.4

Patch Changes

graphql-yoga@5.10.7

Patch Changes

@graphql-yoga/nestjs@3.10.7

Patch Changes

@graphql-yoga/nestjs-federation@3.10.7

Patch Changes

  • Updated dependencies []:
    • @graphql-yoga/nestjs@3.10.7
    • @graphql-yoga/plugin-apollo-inline-trace@3.10.7

@graphql-yoga/plugin-apollo-inline-trace@3.10.7

Patch Changes

@graphql-yoga/apollo-managed-federation@0.8.2

Patch Changes

@graphql-yoga/plugin-apollo-usage-report@0.5.4

Patch Changes

@graphql-yoga/plugin-apq@3.10.7

Patch Changes

@graphql-yoga/plugin-csrf-prevention@3.10.7

Patch Changes

@graphql-yoga/plugin-defer-stream@3.10.7

Patch Changes

@graphql-yoga/plugin-disable-introspection@2.10.7

Patch Changes

@graphql-yoga/plugin-graphql-sse@3.10.7

Patch Changes

@graphql-yoga/plugin-jwt@3.4.7

Patch Changes

@graphql-yoga/plugin-persisted-operations@3.10.7

Patch Changes

@graphql-yoga/plugin-prometheus@6.5.4

Patch Changes

@graphql-yoga/plugin-response-cache@3.12.7

Patch Changes

@graphql-yoga/plugin-sofa@3.10.7

Patch Changes

  • #3559
    5620283
    Thanks @ardatan! - dependencies updates:

  • #3559
    5620283
    Thanks @ardatan! - Fix the issue when SOFA returns 404 response from
    error extensions returned by a resolver, it will cause the server to continue the request handling
    with Yoga but instead it should return the response with 404 and the body SOFA returns.

  • Updated dependencies
    [8fee214,
    1df4912]:

    • graphql-yoga@5.10.7

@graphql-yoga/render-graphiql@5.10.7

Patch C...

Read more