Skip to content

Commit

Permalink
chore(release): update monorepo packages versions (#6142)
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] committed May 8, 2024
1 parent fc9c71f commit 876f03a
Show file tree
Hide file tree
Showing 12 changed files with 158 additions and 83 deletions.
49 changes: 0 additions & 49 deletions .changeset/olive-shirts-buy.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/orange-balloons-grin.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/poor-glasses-vanish.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sour-pianos-smile.md

This file was deleted.

8 changes: 8 additions & 0 deletions benchmark/federation/CHANGELOG.md
@@ -1,5 +1,13 @@
# federation-benchmark

## 0.0.139

### Patch Changes

- Updated dependencies [[`a83da08`](https://github.com/ardatan/graphql-tools/commit/a83da087e24929ed0734a2cff63c97bd45cc9eb4), [`fc9c71f`](https://github.com/ardatan/graphql-tools/commit/fc9c71fbc9057a8e32e0d8813b23819c631afa65), [`cd962c1`](https://github.com/ardatan/graphql-tools/commit/cd962c1048b21c0a6f91c943860089b050ac5f5e), [`04d5431`](https://github.com/ardatan/graphql-tools/commit/04d5431deccc42d75b6ae2ae8ed941dac4c3679a)]:
- @graphql-tools/stitch@9.2.8
- @graphql-tools/federation@1.1.35

## 0.0.138

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions benchmark/federation/package.json
@@ -1,6 +1,6 @@
{
"name": "federation-benchmark",
"version": "0.0.138",
"version": "0.0.139",
"private": true,
"scripts": {
"loadtest:federation": "k6 -e ENDPOINT=federation run k6.js",
Expand All @@ -11,8 +11,8 @@
"dependencies": {
"@apollo/gateway": "2.7.6",
"@apollo/subgraph": "2.7.6",
"@graphql-tools/federation": "1.1.34",
"@graphql-tools/stitch": "9.2.7",
"@graphql-tools/federation": "1.1.35",
"@graphql-tools/stitch": "9.2.8",
"cross-env": "7.0.3",
"express": "4.19.2",
"graphql": "16.8.1",
Expand Down
57 changes: 57 additions & 0 deletions packages/delegate/CHANGELOG.md
@@ -1,5 +1,62 @@
# @graphql-tools/delegate

## 10.0.10

### Patch Changes

- [#6134](https://github.com/ardatan/graphql-tools/pull/6134) [`a83da08`](https://github.com/ardatan/graphql-tools/commit/a83da087e24929ed0734a2cff63c97bd45cc9eb4) Thanks [@User](https://github.com/User)! - Ignore unmerged fields

Let's say you have a gateway schema like in the bottom, and `id` is added to the query, only if the `age` is requested;

```graphql
# This will be sent as-is
{
user {
name
}
}
```

But the following will be transformed;

```graphql
{
user {
name
age
}
}
```

Into

````graphql
{
user {
id
name
age
}
}


```graphql
type Query {

}

type User {
id: ID! # is the key for all services
name: String!
age: Int! # This comes from another service
}
````

- [#6150](https://github.com/ardatan/graphql-tools/pull/6150) [`fc9c71f`](https://github.com/ardatan/graphql-tools/commit/fc9c71fbc9057a8e32e0d8813b23819c631afa65) Thanks [@ardatan](https://github.com/ardatan)! - If there are some fields depending on a nested type resolution, wait until it gets resolved then resolve the rest.

See packages/federation/test/fixtures/complex-entity-call example for more details.
You can see `ProductList` needs some fields from `Product` to resolve `first`

## 10.0.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/delegate/package.json
@@ -1,6 +1,6 @@
{
"name": "@graphql-tools/delegate",
"version": "10.0.9",
"version": "10.0.10",
"type": "module",
"description": "A set of utils for faster development of GraphQL tools",
"repository": {
Expand Down
17 changes: 17 additions & 0 deletions packages/federation/CHANGELOG.md
@@ -1,5 +1,22 @@
# @graphql-tools/federation

## 1.1.35

### Patch Changes

- [#6141](https://github.com/ardatan/graphql-tools/pull/6141) [`cd962c1`](https://github.com/ardatan/graphql-tools/commit/cd962c1048b21c0a6f91c943860089b050ac5f5e) Thanks [@ardatan](https://github.com/ardatan)! - When the gateway receives the query, now it chooses the best root field if there is the same root field in different subgraphs.
For example, if there is `node(id: ID!): Node` in all subgraphs but one implements `User` and the other implements `Post`, the gateway will choose the subgraph that implements `User` or `Post` based on the query.

If there is a unresolvable interface field, it throws.

See [this supergraph and the test query](https://github.com/ardatan/graphql-tools/tree/master/packages/federation/test/fixtures/federation-compatibility/corrupted-supergraph-node-id) to see a real-life example

- [#6143](https://github.com/ardatan/graphql-tools/pull/6143) [`04d5431`](https://github.com/ardatan/graphql-tools/commit/04d5431deccc42d75b6ae2ae8ed941dac4c3679a) Thanks [@ardatan](https://github.com/ardatan)! - Implement interface objects support

- Updated dependencies [[`a83da08`](https://github.com/ardatan/graphql-tools/commit/a83da087e24929ed0734a2cff63c97bd45cc9eb4), [`fc9c71f`](https://github.com/ardatan/graphql-tools/commit/fc9c71fbc9057a8e32e0d8813b23819c631afa65), [`cd962c1`](https://github.com/ardatan/graphql-tools/commit/cd962c1048b21c0a6f91c943860089b050ac5f5e)]:
- @graphql-tools/delegate@10.0.10
- @graphql-tools/stitch@9.2.8

## 1.1.34

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/federation/package.json
@@ -1,6 +1,6 @@
{
"name": "@graphql-tools/federation",
"version": "1.1.34",
"version": "1.1.35",
"type": "module",
"description": "Useful tools to create and manipulate GraphQL schemas.",
"repository": {
Expand Down Expand Up @@ -50,11 +50,11 @@
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
},
"dependencies": {
"@graphql-tools/delegate": "^10.0.9",
"@graphql-tools/delegate": "^10.0.10",
"@graphql-tools/executor-http": "^1.0.9",
"@graphql-tools/merge": "^9.0.3",
"@graphql-tools/schema": "^10.0.3",
"@graphql-tools/stitch": "^9.2.7",
"@graphql-tools/stitch": "^9.2.8",
"@graphql-tools/utils": "^10.1.1",
"@graphql-tools/wrap": "^10.0.3",
"tslib": "^2.4.0",
Expand Down
67 changes: 67 additions & 0 deletions packages/stitch/CHANGELOG.md
@@ -1,5 +1,72 @@
# @graphql-tools/stitch

## 9.2.8

### Patch Changes

- [#6134](https://github.com/ardatan/graphql-tools/pull/6134) [`a83da08`](https://github.com/ardatan/graphql-tools/commit/a83da087e24929ed0734a2cff63c97bd45cc9eb4) Thanks [@User](https://github.com/User)! - Ignore unmerged fields

Let's say you have a gateway schema like in the bottom, and `id` is added to the query, only if the `age` is requested;

```graphql
# This will be sent as-is
{
user {
name
}
}
```

But the following will be transformed;

```graphql
{
user {
name
age
}
}
```

Into

````graphql
{
user {
id
name
age
}
}


```graphql
type Query {

}

type User {
id: ID! # is the key for all services
name: String!
age: Int! # This comes from another service
}
````

- [#6150](https://github.com/ardatan/graphql-tools/pull/6150) [`fc9c71f`](https://github.com/ardatan/graphql-tools/commit/fc9c71fbc9057a8e32e0d8813b23819c631afa65) Thanks [@ardatan](https://github.com/ardatan)! - If there are some fields depending on a nested type resolution, wait until it gets resolved then resolve the rest.

See packages/federation/test/fixtures/complex-entity-call example for more details.
You can see `ProductList` needs some fields from `Product` to resolve `first`

- [#6141](https://github.com/ardatan/graphql-tools/pull/6141) [`cd962c1`](https://github.com/ardatan/graphql-tools/commit/cd962c1048b21c0a6f91c943860089b050ac5f5e) Thanks [@ardatan](https://github.com/ardatan)! - When the gateway receives the query, now it chooses the best root field if there is the same root field in different subgraphs.
For example, if there is `node(id: ID!): Node` in all subgraphs but one implements `User` and the other implements `Post`, the gateway will choose the subgraph that implements `User` or `Post` based on the query.

If there is a unresolvable interface field, it throws.

See [this supergraph and the test query](https://github.com/ardatan/graphql-tools/tree/master/packages/federation/test/fixtures/federation-compatibility/corrupted-supergraph-node-id) to see a real-life example

- Updated dependencies [[`a83da08`](https://github.com/ardatan/graphql-tools/commit/a83da087e24929ed0734a2cff63c97bd45cc9eb4), [`fc9c71f`](https://github.com/ardatan/graphql-tools/commit/fc9c71fbc9057a8e32e0d8813b23819c631afa65)]:
- @graphql-tools/delegate@10.0.10

## 9.2.7

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/stitch/package.json
@@ -1,6 +1,6 @@
{
"name": "@graphql-tools/stitch",
"version": "9.2.7",
"version": "9.2.8",
"type": "module",
"description": "A set of utils for faster development of GraphQL tools",
"repository": {
Expand Down Expand Up @@ -51,7 +51,7 @@
},
"dependencies": {
"@graphql-tools/batch-delegate": "^9.0.1",
"@graphql-tools/delegate": "^10.0.9",
"@graphql-tools/delegate": "^10.0.10",
"@graphql-tools/executor": "^1.2.1",
"@graphql-tools/merge": "^9.0.4",
"@graphql-tools/schema": "^10.0.3",
Expand Down

0 comments on commit 876f03a

Please sign in to comment.