Skip to content

July 10, 2024

Compare
Choose a tag to compare
@github-actions github-actions released this 10 Jul 18:10
· 1111 commits to master since this release
1bb3d18

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Minor Changes

  • #7257
    798ed17
    Thanks @enisdenjo! - Support mesh.config.ts or mesh.config.mts or
    mesh.config.cts or mesh.config.js or mesh.config.mjs or mesh.config.cjs configuration files

  • #7261
    a8e3f00
    Thanks @enisdenjo! - Use jiti instead of tsx for importig config
    files

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Minor Changes

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Minor Changes

Patch Changes

@omnigraph/[email protected]

Patch Changes

@omnigraph/[email protected]

Patch Changes

@omnigraph/[email protected]

Patch Changes

@omnigraph/[email protected]

Patch Changes

@omnigraph/[email protected]

Patch Changes

@omnigraph/[email protected]

Patch Changes

@omnigraph/[email protected]

Patch Changes

@omnigraph/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Minor Changes

  • #7218
    ededa2c
    Thanks @EmrysMyrddin! - Add missing labels and move their
    configuration to the labels options to match Yoga and Envelop plugin API

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Minor Changes

Patch Changes

@graphql-mesh/[email protected]

Minor Changes

  • #7207
    69e6eb5
    Thanks @enisdenjo! - New transportOptions configuration property
    for passing custom transport options per subgraph for specific transport kinds

    For example, adding subscriptions support for Apollo Federation v2 subgraphs:

    import { defineConfig } from '@graphql-mesh/serve-cli'
    import { HTTPTransportOptions } from '@graphql-mesh/transport-http'
    
    export const serveConfig = defineConfig({
      transportOptions: {
        // apply options to all subgraphs
        '*': {
          // on the "http" transport kind
          http: {
            // custom http transport options
            subscriptions: {
              ws: {
                path: '/subscriptions'
              }
            }
          } satisfies HTTPTransportOptions
        }
      }
    })

Patch Changes

@graphql-mesh/[email protected]

Minor Changes

  • #7207
    69e6eb5
    Thanks @enisdenjo! - Define transports using a default export
    satisfying the Transport generic

    For example, a custom http transport implementation looks like this:

    // http-transport.ts
    
    import { Transport } from '@graphql-mesh/transport-common'
    
    export interface HTTPTransportOptions {
      cache?: boolean
    }
    
    export default {
      getSubgraphExecutor(opts) {
        // <the implementation of your executor getter>
      }
    } satisfies Transport<'http', HTTPTransportOptions>

    and is used for Mesh serve like this:

    // mesh.config.ts
    
    import { defineConfig } from '@graphql-mesh/serve-cli'
    
    export const serveConfig = defineConfig({
      transport: {
        http: import('./http-transport')
      }
    })

    or like this:

    // mesh.config.ts
    
    import { defineConfig } from '@graphql-mesh/serve-cli'
    import httpTransport from './http-transport'
    
    export const serveConfig = defineConfig({
      transport: {
        http: httpTransport
      }
    })

Patch Changes

@graphql-mesh/[email protected]

Minor Changes

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes