Skip to content

July 01, 2024

Compare
Choose a tag to compare
@theguild-bot theguild-bot released this 01 Jul 11:02
· 223 commits to main since this release
19fa816

@graphql-yoga/apollo-link@3.6.0

@graphql-yoga/urql-exchange@3.6.0

graphql-yoga@5.6.0

Minor Changes

  • #3333
    9f3f945
    Thanks @ardatan! - By default, Yoga does not allow extra parameters
    in the request body other than query, operationName, extensions, and variables, then
    throws 400 HTTP Error. This change adds a new option called extraParamNames to allow extra
    parameters in the request body.

    import { createYoga } from 'graphql-yoga'
    
    const yoga = createYoga({
      /* other options */
      extraParamNames: ['extraParam1', 'extraParam2']
    })
    
    const res = await yoga.fetch('/graphql', {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json'
      },
      body: JSON.stringify({
        query: 'query { __typename }',
        extraParam1: 'value1',
        extraParam2: 'value2'
      })
    })
    
    console.assert(res.status === 200)

@graphql-yoga/nestjs@3.6.0

Patch Changes

  • Updated dependencies
    [9f3f945]:
    • graphql-yoga@5.6.0

@graphql-yoga/nestjs-federation@3.6.0

Patch Changes

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

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

Patch Changes

  • Updated dependencies
    [9f3f945]:
    • graphql-yoga@5.6.0

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

Patch Changes

  • Updated dependencies
    [9f3f945]:
    • graphql-yoga@5.6.0

@graphql-yoga/plugin-apq@3.6.0

Patch Changes

  • Updated dependencies
    [9f3f945]:
    • graphql-yoga@5.6.0

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

Patch Changes

  • Updated dependencies
    [9f3f945]:
    • graphql-yoga@5.6.0

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

Patch Changes

  • Updated dependencies
    [9f3f945]:
    • graphql-yoga@5.6.0

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

Patch Changes

  • Updated dependencies
    [9f3f945]:
    • graphql-yoga@5.6.0

@graphql-yoga/plugin-graphql-sse@3.6.0

Patch Changes

  • Updated dependencies
    [9f3f945]:
    • graphql-yoga@5.6.0

@graphql-yoga/plugin-jwt@2.6.0

Patch Changes

  • Updated dependencies
    [9f3f945]:
    • graphql-yoga@5.6.0

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

Patch Changes

  • Updated dependencies
    [9f3f945]:
    • graphql-yoga@5.6.0

@graphql-yoga/plugin-prometheus@5.3.0

Patch Changes

  • Updated dependencies
    [9f3f945]:
    • graphql-yoga@5.6.0

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

Patch Changes

  • Updated dependencies
    [9f3f945]:
    • graphql-yoga@5.6.0

@graphql-yoga/plugin-sofa@3.6.0

Patch Changes

  • Updated dependencies
    [9f3f945]:
    • graphql-yoga@5.6.0

@graphql-yoga/render-graphiql@5.6.0

Patch Changes

  • Updated dependencies
    [9f3f945]:
    • graphql-yoga@5.6.0