Skip to content

Conversation

theguild-bot
Copy link
Collaborator

@theguild-bot theguild-bot commented Jan 15, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@graphql-hive/importer@1.0.0

Major Changes

  • #462 9a6ae85 Thanks @enisdenjo! - Improving Hive's importing capabilities allowing it to parse TypeScript files

@graphql-hive/gateway@1.8.0

Minor Changes

  • #462 9a6ae85 Thanks @enisdenjo! - Point to exact location of syntax error when parsing malformed config files

Patch Changes

@graphql-tools/batch-delegate@9.0.28

Patch Changes

  • Updated dependencies [18682e6]:
    • @graphql-tools/delegate@10.2.10

@graphql-tools/delegate@10.2.10

Patch Changes

  • #471 18682e6 Thanks @ardatan! - While creating a delegation request for the subschema, an selection set should be spreaded on the union type field correctly.

    In case of the following schema;

    type Query {
      foo: Foo
    }
    
    union Foo = Bar | Baz
    
    type Bar {
      id: ID!
      name: String
      age: Age
    }
    
    type Age {
      years: Int
      months: Int
    }
    
    type Baz {
      id: ID!
      name: Name
      age: Int
    }
    
    type Name {
      first: String
      last: String
    }

    If the operation is generated as following;

    query {
      foo {
        id
        name
        age {
          years
          months
        }
      }
    }

    It should be spreaded on the union type field correctly as following;

    query {
      foo {
        ... on Bar {
          id
          age {
            years
            months
          }
        }
        ... on Baz {
          id
          name {
            first
            last
          }
        }
      }
    }

@graphql-tools/federation@3.0.10

Patch Changes

  • Updated dependencies [18682e6, e9f78cd]:
    • @graphql-tools/delegate@10.2.10
    • @graphql-tools/wrap@10.0.28
    • @graphql-tools/stitch@9.4.15

@graphql-mesh/fusion-runtime@0.10.30

Patch Changes

  • Updated dependencies [18682e6, e9f78cd]:
    • @graphql-tools/delegate@10.2.10
    • @graphql-tools/wrap@10.0.28
    • @graphql-tools/federation@3.0.10
    • @graphql-tools/stitch@9.4.15
    • @graphql-tools/stitching-directives@3.1.25

@graphql-mesh/plugin-opentelemetry@1.3.37

Patch Changes

  • Updated dependencies []:
    • @graphql-hive/gateway-runtime@1.4.9

@graphql-mesh/plugin-prometheus@1.3.25

Patch Changes

  • Updated dependencies []:
    • @graphql-hive/gateway-runtime@1.4.9

@graphql-hive/gateway-runtime@1.4.9

Patch Changes

  • Updated dependencies [18682e6, e9f78cd]:
    • @graphql-tools/delegate@10.2.10
    • @graphql-tools/wrap@10.0.28
    • @graphql-mesh/hmac-upstream-signature@1.2.19
    • @graphql-tools/batch-delegate@9.0.28
    • @graphql-tools/federation@3.0.10
    • @graphql-mesh/fusion-runtime@0.10.30
    • @graphql-tools/stitch@9.4.15

@graphql-tools/stitch@9.4.15

Patch Changes

  • Updated dependencies [18682e6, e9f78cd]:
    • @graphql-tools/delegate@10.2.10
    • @graphql-tools/wrap@10.0.28
    • @graphql-tools/batch-delegate@9.0.28

@graphql-tools/stitching-directives@3.1.25

Patch Changes

  • Updated dependencies [18682e6]:
    • @graphql-tools/delegate@10.2.10

@graphql-tools/wrap@10.0.28

Patch Changes

  • #472 e9f78cd Thanks @ardatan! - RenameObjectFieldArguments should transform the passed args in delegationContext.

    When a subschema's a root field argument is renamed, the passed arguments should be also transformed;

    type Query {
      # This is the original field
      book(book_id: ID): [Book]
    }
    
    type Book {
      id: ID
      title: String
    }

    When the subschema above is transformed to;

    type Query {
      # This is the transformed field
      book(bookId: ID): [Book]
    }
    
    type Book {
      id: ID
      title: String
    }

    The following call should be transformed;

    delegateToSchema({
      schema: {
        schema,
        transforms: [
          new RenameObjectFieldArguments((typeName, fieldName, argName) => {
            if (
              typeName === 'Query' &&
              fieldName === 'book' &&
              argName === 'book_id'
            ) {
              return 'bookId';
            }
            return argName;
          }),
        ],
      },
      operation: 'query',
      fieldName: 'book',
      args: {
        bookId: '1',
      },
    });

    To this query;

    {
        book(book_id: "1") {
            # ...
        }
    }
  • Updated dependencies [18682e6]:

    • @graphql-tools/delegate@10.2.10

@theguild-bot
Copy link
Collaborator Author

theguild-bot commented Jan 15, 2025

🚀 Snapshot Release (rc)

The latest changes of this PR are available as rc on npm (based on the declared changesets):

Package Version Info
@graphql-tools/batch-delegate 9.0.28-rc-89bcb3fbd7c55552b21facd523bd906bdd6e0ac2 npm ↗︎ unpkg ↗︎
@graphql-tools/delegate 10.2.10-rc-89bcb3fbd7c55552b21facd523bd906bdd6e0ac2 npm ↗︎ unpkg ↗︎
@graphql-tools/federation 3.0.10-rc-89bcb3fbd7c55552b21facd523bd906bdd6e0ac2 npm ↗︎ unpkg ↗︎
@graphql-mesh/fusion-runtime 0.10.30-rc-89bcb3fbd7c55552b21facd523bd906bdd6e0ac2 npm ↗︎ unpkg ↗︎
@graphql-hive/gateway 1.8.0-rc-89bcb3fbd7c55552b21facd523bd906bdd6e0ac2 npm ↗︎ unpkg ↗︎
@graphql-hive/importer 1.0.0-rc-89bcb3fbd7c55552b21facd523bd906bdd6e0ac2 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-opentelemetry 1.3.37-rc-89bcb3fbd7c55552b21facd523bd906bdd6e0ac2 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-prometheus 1.3.25-rc-89bcb3fbd7c55552b21facd523bd906bdd6e0ac2 npm ↗︎ unpkg ↗︎
@graphql-hive/gateway-runtime 1.4.9-rc-89bcb3fbd7c55552b21facd523bd906bdd6e0ac2 npm ↗︎ unpkg ↗︎
@graphql-tools/stitch 9.4.15-rc-89bcb3fbd7c55552b21facd523bd906bdd6e0ac2 npm ↗︎ unpkg ↗︎
@graphql-tools/stitching-directives 3.1.25-rc-89bcb3fbd7c55552b21facd523bd906bdd6e0ac2 npm ↗︎ unpkg ↗︎
@graphql-tools/wrap 10.0.28-rc-89bcb3fbd7c55552b21facd523bd906bdd6e0ac2 npm ↗︎ unpkg ↗︎

@theguild-bot
Copy link
Collaborator Author

theguild-bot commented Jan 15, 2025

🚀 Snapshot Release (Binary for Linux-X64)

The latest changes of this PR are available for download (based on the declared changesets).

Download

@theguild-bot
Copy link
Collaborator Author

theguild-bot commented Jan 15, 2025

🚀 Snapshot Release (Bun Docker Image)

The latest changes of this PR are available as image on GitHub Container Registry (based on the declared changesets):

ghcr.io/graphql-hive/gateway:1.8.0-rc-89bcb3fbd7c55552b21facd523bd906bdd6e0ac2-bun

@theguild-bot
Copy link
Collaborator Author

theguild-bot commented Jan 15, 2025

🚀 Snapshot Release (Node Docker Image)

The latest changes of this PR are available as image on GitHub Container Registry (based on the declared changesets):

ghcr.io/graphql-hive/gateway:1.8.0-rc-89bcb3fbd7c55552b21facd523bd906bdd6e0ac2

@theguild-bot
Copy link
Collaborator Author

theguild-bot commented Jan 15, 2025

🚀 Snapshot Release (Binary for macOS-ARM64)

The latest changes of this PR are available for download (based on the declared changesets).

Download

@theguild-bot
Copy link
Collaborator Author

theguild-bot commented Jan 15, 2025

🚀 Snapshot Release (Binary for macOS-X64)

The latest changes of this PR are available for download (based on the declared changesets).

Download

@theguild-bot
Copy link
Collaborator Author

theguild-bot commented Jan 15, 2025

🚀 Snapshot Release (Binary for Windows-X64)

The latest changes of this PR are available for download (based on the declared changesets).

Download

@theguild-bot theguild-bot force-pushed the changeset-release/main branch 15 times, most recently from 4d0421a to dd15dad Compare January 20, 2025 11:03
@theguild-bot theguild-bot force-pushed the changeset-release/main branch from dd15dad to 89bcb3f Compare January 20, 2025 13:46
@enisdenjo enisdenjo merged commit 9d588b8 into main Jan 20, 2025
38 checks passed
@enisdenjo enisdenjo deleted the changeset-release/main branch January 20, 2025 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants