Skip to content

Commit

Permalink
chore(release): update monorepo packages versions (#6470)
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 Aug 26, 2024
1 parent 0e87805 commit 2198808
Show file tree
Hide file tree
Showing 7 changed files with 105 additions and 46 deletions.
41 changes: 0 additions & 41 deletions .changeset/stale-feet-rhyme.md

This file was deleted.

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

## 0.0.157

### Patch Changes

- Updated dependencies
[[`0e87805`](https://github.com/ardatan/graphql-tools/commit/0e8780572fb1a852c8f4d7c8a59b064ae92bdd6b)]:
- @graphql-tools/federation@2.2.9

## 0.0.156

### 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.156",
"version": "0.0.157",
"private": true,
"scripts": {
"loadtest:federation": "k6 -e ENDPOINT=federation run k6.js",
Expand All @@ -11,7 +11,7 @@
"dependencies": {
"@apollo/gateway": "2.8.4",
"@apollo/subgraph": "2.8.4",
"@graphql-tools/federation": "2.2.8",
"@graphql-tools/federation": "2.2.9",
"@graphql-tools/stitch": "9.2.10",
"cross-env": "7.0.3",
"express": "4.19.2",
Expand Down
44 changes: 44 additions & 0 deletions packages/delegate/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,49 @@
# @graphql-tools/delegate

## 10.0.20

### Patch Changes

- [#6469](https://github.com/ardatan/graphql-tools/pull/6469)
[`0e87805`](https://github.com/ardatan/graphql-tools/commit/0e8780572fb1a852c8f4d7c8a59b064ae92bdd6b)
Thanks [@User!](https://github.com/User!)! - Handle merged selection sets in the computed fields;

When a selection set for a computed field needs to be merged, resolve that required selection set
fully then resolve the computed field. In the following case, the selection set for the `author`
field in the `Post` type is merged with the selection set for the `authorId` field in the
`Comment` type.

```graphql
type Query {
feed: [Post!]!
}

type Post {
id: ID! @computed(selectionSet: "{ comments { authorId } }")
}

type Comment {
id: ID!
authorId: ID!
}

type User {
id: ID!
name: String!
}
```

```graphql
type Post {
id: ID!
comments: [Comment!]!
}

type Comment {
id: ID!
}
```

## 10.0.19

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

## 2.2.9

### Patch Changes

- [#6469](https://github.com/ardatan/graphql-tools/pull/6469)
[`0e87805`](https://github.com/ardatan/graphql-tools/commit/0e8780572fb1a852c8f4d7c8a59b064ae92bdd6b)
Thanks [@User!](https://github.com/User!)! - Handle merged selection sets in the computed fields;

When a selection set for a computed field needs to be merged, resolve that required selection set
fully then resolve the computed field. In the following case, the selection set for the `author`
field in the `Post` type is merged with the selection set for the `authorId` field in the
`Comment` type.

```graphql
type Query {
feed: [Post!]!
}

type Post {
id: ID! @computed(selectionSet: "{ comments { authorId } }")
}

type Comment {
id: ID!
authorId: ID!
}

type User {
id: ID!
name: String!
}
```

```graphql
type Post {
id: ID!
comments: [Comment!]!
}

type Comment {
id: ID!
}
```

- Updated dependencies
[[`0e87805`](https://github.com/ardatan/graphql-tools/commit/0e8780572fb1a852c8f4d7c8a59b064ae92bdd6b)]:
- @graphql-tools/delegate@10.0.20

## 2.2.8

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions 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.8",
"version": "2.2.9",
"type": "module",
"description": "Useful tools to create and manipulate GraphQL schemas.",
"repository": {
Expand Down Expand Up @@ -50,7 +50,7 @@
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
},
"dependencies": {
"@graphql-tools/delegate": "^10.0.19",
"@graphql-tools/delegate": "^10.0.20",
"@graphql-tools/executor-http": "^1.1.5",
"@graphql-tools/merge": "^9.0.5",
"@graphql-tools/schema": "^10.0.5",
Expand Down

0 comments on commit 2198808

Please sign in to comment.