Skip to content

December 10, 2024

Compare
Choose a tag to compare
@theguild-bot theguild-bot released this 10 Dec 11:26
· 252 commits to main since this release
33f97bf

@graphql-tools/federation@3.0.0

Major Changes

  • #308 d747d4c Thanks @ardatan! - BREAKING CHANGES;

    • Removed buildSubgraphSchema, use @apollo/subgraph instead.
    • Removed the following gateway related functions, and prefer using Supergraph approach instead
      • getSubschemaForFederationWithURL
      • getSubschemaForFederationWithTypeDefs
      • getSubschemaForFederationWithExecutor
      • getSubschemaForFederationWithSchema
      • federationSubschemaTransformer
    • SupergraphSchemaManager is no longer an EventEmitter but EventTarget instead, and it emits a real Event object.
    • SupergraphSchemaManager is now Disposable and it no longer stops based on Nodejs terminate events, so you should use using syntax.
    using manager = new SupergraphSchemaManager({ ... });
    
    manager.addEventListener('error', (event: SupergraphSchemaManagerErrorEvent) => {
      console.error(event.detail.error);
    });
    
    let schema: GraphQLSchema | null = null;
    manager.addEventListener('schema', (event: SupergraphSchemaManagerSchemaEvent) => {
        schema = event.detail.schema;
    });

Patch Changes

@graphql-mesh/fusion-runtime@0.10.19

Patch Changes

  • Updated dependencies [d747d4c, d747d4c]:
    • @graphql-tools/federation@3.0.0

@graphql-hive/gateway@1.6.7

Patch Changes

  • Updated dependencies []:
    • @graphql-hive/gateway-runtime@1.3.14
    • @graphql-mesh/plugin-opentelemetry@1.3.26
    • @graphql-mesh/plugin-prometheus@1.3.14
    • @graphql-mesh/hmac-upstream-signature@1.2.16

@graphql-mesh/plugin-opentelemetry@1.3.26

Patch Changes

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

@graphql-mesh/plugin-prometheus@1.3.14

Patch Changes

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

@graphql-hive/gateway-runtime@1.3.14

Patch Changes

  • Updated dependencies [d747d4c, d747d4c]:
    • @graphql-tools/federation@3.0.0
    • @graphql-mesh/fusion-runtime@0.10.19
    • @graphql-mesh/hmac-upstream-signature@1.2.16