Skip to content

Commit

Permalink
chore(release): update monorepo packages versions (#6113)
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 Apr 30, 2024
1 parent 67a9c49 commit 36913ee
Show file tree
Hide file tree
Showing 8 changed files with 93 additions and 81 deletions.
71 changes: 0 additions & 71 deletions .changeset/green-sheep-bake.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/weak-bears-move.md

This file was deleted.

7 changes: 7 additions & 0 deletions benchmark/federation/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# federation-benchmark

## 0.0.133

### Patch Changes

- Updated dependencies [[`67a9c49`](https://github.com/ardatan/graphql-tools/commit/67a9c4909b7676b69c4b425ab1a6cd5533c799ef)]:
- @graphql-tools/stitch@9.2.4

## 0.0.132

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions benchmark/federation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "federation-benchmark",
"version": "0.0.132",
"version": "0.0.133",
"private": true,
"scripts": {
"loadtest:federation": "k6 -e ENDPOINT=federation run k6.js",
Expand All @@ -12,7 +12,7 @@
"@apollo/gateway": "2.7.4",
"@apollo/subgraph": "2.7.4",
"@graphql-tools/federation": "1.1.29",
"@graphql-tools/stitch": "9.2.3",
"@graphql-tools/stitch": "9.2.4",
"cross-env": "7.0.3",
"express": "4.19.2",
"graphql": "16.8.1",
Expand Down
6 changes: 6 additions & 0 deletions packages/merge/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @graphql-tools/merge

## 9.0.4

### Patch Changes

- [#6111](https://github.com/ardatan/graphql-tools/pull/6111) [`a06dbd2`](https://github.com/ardatan/graphql-tools/commit/a06dbd263ec7bfc6d50aa8faf2e35396a67b4f0b) Thanks [@lesleydreyer](https://github.com/lesleydreyer)! - Fix directive merging when directive name is inherited from object prototype (i.e. toString)

## 9.0.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/merge/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-tools/merge",
"version": "9.0.3",
"version": "9.0.4",
"type": "module",
"description": "A set of utils for faster development of GraphQL tools",
"repository": {
Expand Down
75 changes: 75 additions & 0 deletions packages/stitch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,80 @@
# @graphql-tools/stitch

## 9.2.4

### Patch Changes

- [#6117](https://github.com/ardatan/graphql-tools/pull/6117) [`67a9c49`](https://github.com/ardatan/graphql-tools/commit/67a9c4909b7676b69c4b425ab1a6cd5533c799ef) Thanks [@ardatan](https://github.com/ardatan)! - Add field as an unavailable field only if it is not able to resolve by any other subschema;

When the following query is sent to the gateway with the following subschemas, the gateway should resolve `Category.details` from A Subschema using `Product` resolver instead of trying to resolve by using non-existing `Category` resolver from A Subschema.

Previously, the query planner decides to resolve `Category.details` after resolving `Category` from C Subschema. But it will be too late to resolve `details` because `Category` is not resolvable in A Subschema.

So the requests for `Category.details` and the rest of `Category` should be different.

So for the following query, we expect a full result;

```graphql
query {
productFromA(id: "1") {
id
name
category {
id
name
details
}
}
}
```

```graphql
# A Subschema
type Query {
productFromA(id: ID): Product
# No category resolver is present
}

type Product {
id: ID
category: Category
}

type Category {
details: CategoryDetails
}
```

```graphql
# B Subschema
type Query {
productFromB(id: ID): Product
}
type Product {
id: ID
name: String
category: Category
}
type Category {
id: ID
}
```

```graphql
# C Subschema
type Query {
categoryFromC(id: ID): Category
}

type Category {
id: ID
name: String
}
```

- Updated dependencies [[`a06dbd2`](https://github.com/ardatan/graphql-tools/commit/a06dbd263ec7bfc6d50aa8faf2e35396a67b4f0b)]:
- @graphql-tools/merge@9.0.4

## 9.2.3

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/stitch/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-tools/stitch",
"version": "9.2.3",
"version": "9.2.4",
"type": "module",
"description": "A set of utils for faster development of GraphQL tools",
"repository": {
Expand Down Expand Up @@ -53,7 +53,7 @@
"@graphql-tools/batch-delegate": "^9.0.1",
"@graphql-tools/delegate": "^10.0.7",
"@graphql-tools/executor": "^1.2.1",
"@graphql-tools/merge": "^9.0.3",
"@graphql-tools/merge": "^9.0.4",
"@graphql-tools/schema": "^10.0.3",
"@graphql-tools/utils": "^10.2.0",
"@graphql-tools/wrap": "^10.0.2",
Expand Down

0 comments on commit 36913ee

Please sign in to comment.