Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency @graphql-tools/federation to v3 #8111

Merged
merged 8 commits into from
Dec 11, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 10, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@graphql-tools/federation (source) ^2.2.34 -> ^3.0.0 age adoption passing confidence
@graphql-tools/federation (source) ^2.2.36 -> ^3.0.0 age adoption passing confidence

Release Notes

graphql-hive/gateway (@​graphql-tools/federation)

v3.0.0

Compare Source

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

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from ardatan December 10, 2024 14:11
@renovate renovate bot force-pushed the renovate/major-all-gateway branch 2 times, most recently from 630e75f to d7af35d Compare December 11, 2024 12:19
Copy link
Contributor Author

renovate bot commented Dec 11, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@ardatan ardatan force-pushed the renovate/major-all-gateway branch from 5e0163d to 275d87d Compare December 11, 2024 12:28
Copy link
Contributor

github-actions bot commented Dec 11, 2024

🚀 Snapshot Release (alpha)

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

Package Version Info
@graphql-mesh/cache-cfw-kv 0.104.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/cache-file 0.103.8-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/cache-inmemory-lru 0.0.2-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/cache-localforage 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/cache-redis 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/compose-cli 1.3.0-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/fusion-composition 0.7.13-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/include 0.2.6-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/apollo-link 0.105.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/cli 0.98.8-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/config 0.106.8-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/graphql 0.103.8-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/grpc 0.106.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/json-schema 0.108.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/mongoose 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/mysql 0.104.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/neo4j 0.105.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/odata 0.105.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/openapi 0.108.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/postgraphile 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/raml 0.108.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/soap 0.105.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/supergraph 0.9.8-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/thrift 0.105.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/tuql 0.104.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/http 0.105.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/merger-bare 0.104.8-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/merger-stitching 0.104.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/migrate-config-cli 1.4.0-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/runtime 0.105.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/store 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-cache 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-encapsulate 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-extend 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-federation 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-filter-schema 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-hive 0.103.8-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-hoist-field 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-naming-convention 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-prefix 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-prune 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-rate-limit 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-rename 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-replace-field 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-resolvers-composition 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-transfer-schema 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-type-merging 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/types 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/urql-exchange 0.105.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/utils 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@omnigraph/json-schema 0.108.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@omnigraph/mysql 0.8.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@omnigraph/neo4j 0.9.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@omnigraph/odata 0.1.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@omnigraph/openapi 0.108.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@omnigraph/raml 0.108.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@omnigraph/soap 0.105.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@omnigraph/sqlite 0.7.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@omnigraph/thrift 0.8.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-deduplicate-request 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-hive 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-http-cache 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-http-details-extensions 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-jit 0.1.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-jwt-auth 1.3.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-live-query 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-mock 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-newrelic 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-operation-field-permissions 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-operation-headers 1.3.8-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-rate-limit 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-response-cache 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-snapshot 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-statsd 0.103.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-grpc 0.1.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-mysql 0.8.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-neo4j 0.8.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-odata 0.1.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-rest 0.8.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-soap 0.8.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-sqlite 0.8.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-thrift 0.8.7-alpha-20241211124216-7a7d9ecdf9422fc5beb94fdf1434948c39579196 npm ↗︎ unpkg ↗︎

Copy link
Contributor

github-actions bot commented Dec 11, 2024

Apollo Federation Subgraph Compatibility Results

Federation 1 Support Federation 2 Support
_service🟢
@key (single)🟢
@key (multi)🟢
@key (composite)🟢
repeatable @key🟢
@requires🟢
@provides🟢
federated tracing🟢
@link🟢
@shareable🟢
@tag🟢
@override🟢
@inaccessible🟢
@composeDirective🟢
@interfaceObject🟢

Learn more:

Copy link
Contributor

github-actions bot commented Dec 11, 2024

💻 Website Preview

The latest changes are available as preview in: https://1ae8cd2b.graphql-mesh.pages.dev

@ardatan ardatan merged commit 4562c3a into master Dec 11, 2024
4 checks passed
@ardatan ardatan deleted the renovate/major-all-gateway branch December 11, 2024 12:40
This was referenced Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant