Skip to content

October 26, 2024

Compare
Choose a tag to compare
@theguild-bot theguild-bot released this 26 Oct 14:54
· 488 commits to master since this release
e589f86

@graphql-mesh/[email protected]

Patch Changes

  • #7712
    dc54d58
    Thanks @EmrysMyrddin! - WebSocket connections are now cached
    against the whole connectionParams object and forwarded headers. The fixes WebSocket
    connection being reused wrongly when connectionParams.token is stable while other fields are
    changing.

@graphql-hive/[email protected]

Minor Changes

  • #7712
    dc54d58
    Thanks @EmrysMyrddin! - Add support for upstream WebSocket
    subscriptions in Docker and binary distributions.

    The HTTP headers of the incoming client's request can now be forwarded to the upstream in the
    WebSocket HTTP upgrade request:

    import { defineConfig } from '@graphql-hive/gateway'
    
    export const gatewayConfig = defineConfig({
      transportEntries: {
        ['*.http']: {
          options: {
            subscriptions: {
              kind: 'ws',
              location: '/subscriptions',
              headers: [['authentication', '{context.headers.authentication}']]
            }
          }
        }
      }
    })

Patch Changes

@graphql-mesh/[email protected]

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Minor Changes

  • #7712
    dc54d58
    Thanks @EmrysMyrddin! - Add support for upstream WebSocket
    subscriptions in Docker and binary distributions.

    The HTTP headers of the incoming client's request can now be forwarded to the upstream in the
    WebSocket HTTP upgrade request:

    import { defineConfig } from '@graphql-hive/gateway'
    
    export const gatewayConfig = defineConfig({
      transportEntries: {
        ['*.http']: {
          options: {
            subscriptions: {
              kind: 'ws',
              location: '/subscriptions',
              headers: [['authentication', '{context.headers.authentication}']]
            }
          }
        }
      }
    })

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

  • #7712
    dc54d58
    Thanks @EmrysMyrddin! - Transport entries headers option can
    now be overridden in the subscriptions transport

@graphql-mesh/[email protected]

Minor Changes

  • #7712
    dc54d58
    Thanks @EmrysMyrddin! - Add support for upstream WebSocket
    subscriptions in Docker and binary distributions.

    The HTTP headers of the incoming client's request can now be forwarded to the upstream in the
    WebSocket HTTP upgrade request:

    import { defineConfig } from '@graphql-hive/gateway'
    
    export const gatewayConfig = defineConfig({
      transportEntries: {
        ['*.http']: {
          options: {
            subscriptions: {
              kind: 'ws',
              location: '/subscriptions',
              headers: [['authentication', '{context.headers.authentication}']]
            }
          }
        }
      }
    })

Patch Changes