Skip to content

Commit

Permalink
Upcoming Release Changes (#309)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
theguild-bot and github-actions[bot] authored Dec 10, 2024
1 parent d747d4c commit 33f97bf
Show file tree
Hide file tree
Showing 14 changed files with 83 additions and 43 deletions.
9 changes: 0 additions & 9 deletions .changeset/@graphql-tools_federation-308-dependencies.md

This file was deleted.

28 changes: 0 additions & 28 deletions .changeset/fair-glasses-shout.md

This file was deleted.

37 changes: 37 additions & 0 deletions packages/federation/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/federation/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
7 changes: 7 additions & 0 deletions packages/fusion-runtime/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/fusion-runtime/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
10 changes: 10 additions & 0 deletions packages/gateway/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/gateway/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-hive/gateway",
"version": "1.6.6",
"version": "1.6.7",
"type": "module",
"repository": {
"type": "git",
Expand Down
7 changes: 7 additions & 0 deletions packages/plugins/opentelemetry/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/opentelemetry/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-mesh/plugin-opentelemetry",
"version": "1.3.25",
"version": "1.3.26",
"type": "module",
"repository": {
"type": "git",
Expand Down
7 changes: 7 additions & 0 deletions packages/plugins/prometheus/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @graphql-mesh/plugin-prometheus

## 1.3.14

### Patch Changes

- Updated dependencies []:
- @graphql-hive/[email protected]

## 1.3.13

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/prometheus/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-mesh/plugin-prometheus",
"version": "1.3.13",
"version": "1.3.14",
"type": "module",
"repository": {
"type": "git",
Expand Down
9 changes: 9 additions & 0 deletions packages/runtime/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-hive/gateway-runtime",
"version": "1.3.13",
"version": "1.3.14",
"type": "module",
"repository": {
"type": "git",
Expand Down

0 comments on commit 33f97bf

Please sign in to comment.