Skip to content

Releases: dotansimha/graphql-yoga

January 29, 2025

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

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

January 27, 2025

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

@graphql-yoga/[email protected]

@graphql-yoga/[email protected]

@graphql-yoga/[email protected]

Patch Changes

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

[email protected]

Patch Changes

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

@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

January 20, 2025

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

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

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/[email protected]

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/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

[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

@graphql-yoga/[email protected]

Patch Changes

January 15, 2025

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

@graphql-yoga/[email protected]

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/[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

December 24, 2024

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

@graphql-yoga/[email protected]

@graphql-yoga/[email protected]

[email protected]

Patch Changes

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

@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

  • #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/[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

December 24, 2024

24 Dec 09:22
5602b4d
Compare
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]

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 C...

Read more

December 14, 2024

14 Dec 14:55
ea66fcc
Compare
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

December 13, 2024

13 Dec 10:12
9557c69
Compare
Choose a tag to compare

@graphql-yoga/[email protected]

@graphql-yoga/[email protected]

@graphql-yoga/[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

  • #3532
    57e7701
    Thanks @ardatan! - Improve typings for TypedEventTarget<TEvent>,
    so addEventListener and removeEventListener methods now expect type to be the type
    property of TEvent, and dispatchEvent expects to get TEvent.

@graphql-yoga/[email protected]

Patch Changes

[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

  • #3532
    57e7701
    Thanks @ardatan! - supergraphManager option is not available
    anymore, you can pass SupergraphManager directly to the plugin instead;

    - useManagedFederation({ supergraphManager })
    + useManagedFederation(supergraphManager)

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

Read more