From 33f97bf5b6c25581ae165f54e97c0f3f18394c7d Mon Sep 17 00:00:00 2001 From: TheGuildBot <59414373+theguild-bot@users.noreply.github.com> Date: Tue, 10 Dec 2024 06:24:53 -0500 Subject: [PATCH] Upcoming Release Changes (#309) Co-authored-by: github-actions[bot] --- ...aphql-tools_federation-308-dependencies.md | 9 ----- .changeset/fair-glasses-shout.md | 28 -------------- packages/federation/CHANGELOG.md | 37 +++++++++++++++++++ packages/federation/package.json | 2 +- packages/fusion-runtime/CHANGELOG.md | 7 ++++ packages/fusion-runtime/package.json | 2 +- packages/gateway/CHANGELOG.md | 10 +++++ packages/gateway/package.json | 2 +- packages/plugins/opentelemetry/CHANGELOG.md | 7 ++++ packages/plugins/opentelemetry/package.json | 2 +- packages/plugins/prometheus/CHANGELOG.md | 7 ++++ packages/plugins/prometheus/package.json | 2 +- packages/runtime/CHANGELOG.md | 9 +++++ packages/runtime/package.json | 2 +- 14 files changed, 83 insertions(+), 43 deletions(-) delete mode 100644 .changeset/@graphql-tools_federation-308-dependencies.md delete mode 100644 .changeset/fair-glasses-shout.md diff --git a/.changeset/@graphql-tools_federation-308-dependencies.md b/.changeset/@graphql-tools_federation-308-dependencies.md deleted file mode 100644 index 6dd1ce97..00000000 --- a/.changeset/@graphql-tools_federation-308-dependencies.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@graphql-tools/federation': patch ---- - -dependencies updates: - -- Added dependency [`@graphql-yoga/typed-event-target@^3.0.0` ↗︎](https://www.npmjs.com/package/@graphql-yoga/typed-event-target/v/3.0.0) (to `dependencies`) -- Added dependency [`@whatwg-node/disposablestack@^0.0.5` ↗︎](https://www.npmjs.com/package/@whatwg-node/disposablestack/v/0.0.5) (to `dependencies`) -- Added dependency [`@whatwg-node/events@^0.1.2` ↗︎](https://www.npmjs.com/package/@whatwg-node/events/v/0.1.2) (to `dependencies`) diff --git a/.changeset/fair-glasses-shout.md b/.changeset/fair-glasses-shout.md deleted file mode 100644 index 8ccd8201..00000000 --- a/.changeset/fair-glasses-shout.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -'@graphql-tools/federation': major ---- - -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. - -```ts -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; -}); -``` \ No newline at end of file diff --git a/packages/federation/CHANGELOG.md b/packages/federation/CHANGELOG.md index 8aee67c7..d1ef9391 100644 --- a/packages/federation/CHANGELOG.md +++ b/packages/federation/CHANGELOG.md @@ -1,5 +1,42 @@ # @graphql-tools/federation +## 3.0.0 + +### Major Changes + +- [#308](https://github.com/graphql-hive/gateway/pull/308) [`d747d4c`](https://github.com/graphql-hive/gateway/commit/d747d4cd37317e8a9b2b95a5270c0fbd47e4cba3) Thanks [@ardatan](https://github.com/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. + + ```ts + 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 + +- [#308](https://github.com/graphql-hive/gateway/pull/308) [`d747d4c`](https://github.com/graphql-hive/gateway/commit/d747d4cd37317e8a9b2b95a5270c0fbd47e4cba3) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates: + + - Added dependency [`@graphql-yoga/typed-event-target@^3.0.0` ↗︎](https://www.npmjs.com/package/@graphql-yoga/typed-event-target/v/3.0.0) (to `dependencies`) + - Added dependency [`@whatwg-node/disposablestack@^0.0.5` ↗︎](https://www.npmjs.com/package/@whatwg-node/disposablestack/v/0.0.5) (to `dependencies`) + - Added dependency [`@whatwg-node/events@^0.1.2` ↗︎](https://www.npmjs.com/package/@whatwg-node/events/v/0.1.2) (to `dependencies`) + ## 2.2.40 ### Patch Changes diff --git a/packages/federation/package.json b/packages/federation/package.json index 513af647..a8055c85 100644 --- a/packages/federation/package.json +++ b/packages/federation/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-tools/federation", - "version": "2.2.40", + "version": "3.0.0", "type": "module", "description": "Useful tools to create and manipulate GraphQL schemas.", "repository": { diff --git a/packages/fusion-runtime/CHANGELOG.md b/packages/fusion-runtime/CHANGELOG.md index 669dd1b3..ff8add34 100644 --- a/packages/fusion-runtime/CHANGELOG.md +++ b/packages/fusion-runtime/CHANGELOG.md @@ -1,5 +1,12 @@ # @graphql-mesh/fusion-runtime +## 0.10.19 + +### Patch Changes + +- Updated dependencies [[`d747d4c`](https://github.com/graphql-hive/gateway/commit/d747d4cd37317e8a9b2b95a5270c0fbd47e4cba3), [`d747d4c`](https://github.com/graphql-hive/gateway/commit/d747d4cd37317e8a9b2b95a5270c0fbd47e4cba3)]: + - @graphql-tools/federation@3.0.0 + ## 0.10.18 ### Patch Changes diff --git a/packages/fusion-runtime/package.json b/packages/fusion-runtime/package.json index 025df7c7..a0ff5b5c 100644 --- a/packages/fusion-runtime/package.json +++ b/packages/fusion-runtime/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-mesh/fusion-runtime", - "version": "0.10.18", + "version": "0.10.19", "type": "module", "description": "Runtime for GraphQL Mesh Fusion Supergraph", "repository": { diff --git a/packages/gateway/CHANGELOG.md b/packages/gateway/CHANGELOG.md index 6c799d71..0d8b3926 100644 --- a/packages/gateway/CHANGELOG.md +++ b/packages/gateway/CHANGELOG.md @@ -1,5 +1,15 @@ # @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 + ## 1.6.6 ### Patch Changes diff --git a/packages/gateway/package.json b/packages/gateway/package.json index 19d01c3b..09c492e7 100644 --- a/packages/gateway/package.json +++ b/packages/gateway/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-hive/gateway", - "version": "1.6.6", + "version": "1.6.7", "type": "module", "repository": { "type": "git", diff --git a/packages/plugins/opentelemetry/CHANGELOG.md b/packages/plugins/opentelemetry/CHANGELOG.md index e910c17a..987f8240 100644 --- a/packages/plugins/opentelemetry/CHANGELOG.md +++ b/packages/plugins/opentelemetry/CHANGELOG.md @@ -1,5 +1,12 @@ # @graphql-mesh/plugin-opentelemetry +## 1.3.26 + +### Patch Changes + +- Updated dependencies []: + - @graphql-hive/gateway-runtime@1.3.14 + ## 1.3.25 ### Patch Changes diff --git a/packages/plugins/opentelemetry/package.json b/packages/plugins/opentelemetry/package.json index 2e4f1924..061e30a2 100644 --- a/packages/plugins/opentelemetry/package.json +++ b/packages/plugins/opentelemetry/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-mesh/plugin-opentelemetry", - "version": "1.3.25", + "version": "1.3.26", "type": "module", "repository": { "type": "git", diff --git a/packages/plugins/prometheus/CHANGELOG.md b/packages/plugins/prometheus/CHANGELOG.md index 03a6962f..1c876e72 100644 --- a/packages/plugins/prometheus/CHANGELOG.md +++ b/packages/plugins/prometheus/CHANGELOG.md @@ -1,5 +1,12 @@ # @graphql-mesh/plugin-prometheus +## 1.3.14 + +### Patch Changes + +- Updated dependencies []: + - @graphql-hive/gateway-runtime@1.3.14 + ## 1.3.13 ### Patch Changes diff --git a/packages/plugins/prometheus/package.json b/packages/plugins/prometheus/package.json index 5844667c..b89ad247 100644 --- a/packages/plugins/prometheus/package.json +++ b/packages/plugins/prometheus/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-mesh/plugin-prometheus", - "version": "1.3.13", + "version": "1.3.14", "type": "module", "repository": { "type": "git", diff --git a/packages/runtime/CHANGELOG.md b/packages/runtime/CHANGELOG.md index 2db3b8e2..be267a9b 100644 --- a/packages/runtime/CHANGELOG.md +++ b/packages/runtime/CHANGELOG.md @@ -1,5 +1,14 @@ # @graphql-hive/gateway-runtime +## 1.3.14 + +### Patch Changes + +- Updated dependencies [[`d747d4c`](https://github.com/graphql-hive/gateway/commit/d747d4cd37317e8a9b2b95a5270c0fbd47e4cba3), [`d747d4c`](https://github.com/graphql-hive/gateway/commit/d747d4cd37317e8a9b2b95a5270c0fbd47e4cba3)]: + - @graphql-tools/federation@3.0.0 + - @graphql-mesh/fusion-runtime@0.10.19 + - @graphql-mesh/hmac-upstream-signature@1.2.16 + ## 1.3.13 ### Patch Changes diff --git a/packages/runtime/package.json b/packages/runtime/package.json index 0e60a7ce..305bd9d6 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-hive/gateway-runtime", - "version": "1.3.13", + "version": "1.3.14", "type": "module", "repository": { "type": "git",