Skip to content

Commit

Permalink
chore(release): update monorepo packages versions (#6127)
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 May 2, 2024
1 parent fca82b7 commit a6f0490
Show file tree
Hide file tree
Showing 9 changed files with 225 additions and 77 deletions.
68 changes: 0 additions & 68 deletions .changeset/healthy-news-enjoy.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.136

### Patch Changes

- Updated dependencies [[`680351e`](https://github.com/ardatan/graphql-tools/commit/680351ee2af39ffd6b4b0048a28954d0d4b8a926)]:
- @graphql-tools/federation@1.1.32
- @graphql-tools/stitch@9.2.7

## 0.0.135

### Patch Changes
Expand Down
6 changes: 3 additions & 3 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.135",
"version": "0.0.136",
"private": true,
"scripts": {
"loadtest:federation": "k6 -e ENDPOINT=federation run k6.js",
Expand All @@ -11,8 +11,8 @@
"dependencies": {
"@apollo/gateway": "2.7.4",
"@apollo/subgraph": "2.7.4",
"@graphql-tools/federation": "1.1.31",
"@graphql-tools/stitch": "9.2.6",
"@graphql-tools/federation": "1.1.32",
"@graphql-tools/stitch": "9.2.7",
"cross-env": "7.0.3",
"express": "4.19.2",
"graphql": "16.8.1",
Expand Down
67 changes: 67 additions & 0 deletions packages/delegate/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,72 @@
# @graphql-tools/delegate

## 10.0.9

### Patch Changes

- [#6126](https://github.com/ardatan/graphql-tools/pull/6126) [`680351e`](https://github.com/ardatan/graphql-tools/commit/680351ee2af39ffd6b4b0048a28954d0d4b8a926) Thanks [@ardatan](https://github.com/ardatan)! - When there is a Node subschema, and others to resolve the rest of the entities by using a union resolver as in Federation like below, it was failing. This version fixes that issue.

```graphql
query {
node(id: "1") {
id # Fetches from Node
... on User {
name # Fetches from User
}
}
}
```

```graphql
type Query {
node(id: ID!): Node
}

interface Node {
id: ID!
}

type User implements Node {
id: ID!
}

type Post implements Node {
id: ID!
}
```

```graphql
# User subschema
scalar _Any
type Query {
_entities(representations: [_Any!]!): [_Entity]!
}
union _Entity = User
interface Node {
id: ID!
}
type User implements Node {
id: ID!
name: String!
}
```

```graphql
# Post subschema
scalar _Any
union _Entity = Post
type Query {
_entities(representations: [_Any!]!): [_Entity]!
}
interface Node {
id: ID!
}
type Post implements Node {
id: ID!
title: String!
}
```

## 10.0.8

### 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.8",
"version": "10.0.9",
"type": "module",
"description": "A set of utils for faster development of GraphQL tools",
"repository": {
Expand Down
71 changes: 71 additions & 0 deletions packages/federation/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,76 @@
# @graphql-tools/federation

## 1.1.32

### Patch Changes

- [#6126](https://github.com/ardatan/graphql-tools/pull/6126) [`680351e`](https://github.com/ardatan/graphql-tools/commit/680351ee2af39ffd6b4b0048a28954d0d4b8a926) Thanks [@ardatan](https://github.com/ardatan)! - When there is a Node subschema, and others to resolve the rest of the entities by using a union resolver as in Federation like below, it was failing. This version fixes that issue.

```graphql
query {
node(id: "1") {
id # Fetches from Node
... on User {
name # Fetches from User
}
}
}
```

```graphql
type Query {
node(id: ID!): Node
}

interface Node {
id: ID!
}

type User implements Node {
id: ID!
}

type Post implements Node {
id: ID!
}
```

```graphql
# User subschema
scalar _Any
type Query {
_entities(representations: [_Any!]!): [_Entity]!
}
union _Entity = User
interface Node {
id: ID!
}
type User implements Node {
id: ID!
name: String!
}
```

```graphql
# Post subschema
scalar _Any
union _Entity = Post
type Query {
_entities(representations: [_Any!]!): [_Entity]!
}
interface Node {
id: ID!
}
type Post implements Node {
id: ID!
title: String!
}
```

- Updated dependencies [[`680351e`](https://github.com/ardatan/graphql-tools/commit/680351ee2af39ffd6b4b0048a28954d0d4b8a926)]:
- @graphql-tools/delegate@10.0.9
- @graphql-tools/stitch@9.2.7

## 1.1.31

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/federation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-tools/federation",
"version": "1.1.31",
"version": "1.1.32",
"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.8",
"@graphql-tools/delegate": "^10.0.9",
"@graphql-tools/executor-http": "^1.0.9",
"@graphql-tools/merge": "^9.0.3",
"@graphql-tools/schema": "^10.0.3",
"@graphql-tools/stitch": "^9.2.6",
"@graphql-tools/stitch": "^9.2.7",
"@graphql-tools/utils": "^10.1.1",
"@graphql-tools/wrap": "^10.0.3",
"tslib": "^2.4.0",
Expand Down
70 changes: 70 additions & 0 deletions packages/stitch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,75 @@
# @graphql-tools/stitch

## 9.2.7

### Patch Changes

- [#6126](https://github.com/ardatan/graphql-tools/pull/6126) [`680351e`](https://github.com/ardatan/graphql-tools/commit/680351ee2af39ffd6b4b0048a28954d0d4b8a926) Thanks [@ardatan](https://github.com/ardatan)! - When there is a Node subschema, and others to resolve the rest of the entities by using a union resolver as in Federation like below, it was failing. This version fixes that issue.

```graphql
query {
node(id: "1") {
id # Fetches from Node
... on User {
name # Fetches from User
}
}
}
```

```graphql
type Query {
node(id: ID!): Node
}

interface Node {
id: ID!
}

type User implements Node {
id: ID!
}

type Post implements Node {
id: ID!
}
```

```graphql
# User subschema
scalar _Any
type Query {
_entities(representations: [_Any!]!): [_Entity]!
}
union _Entity = User
interface Node {
id: ID!
}
type User implements Node {
id: ID!
name: String!
}
```

```graphql
# Post subschema
scalar _Any
union _Entity = Post
type Query {
_entities(representations: [_Any!]!): [_Entity]!
}
interface Node {
id: ID!
}
type Post implements Node {
id: ID!
title: String!
}
```

- Updated dependencies [[`680351e`](https://github.com/ardatan/graphql-tools/commit/680351ee2af39ffd6b4b0048a28954d0d4b8a926)]:
- @graphql-tools/delegate@10.0.9

## 9.2.6

### 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.6",
"version": "9.2.7",
"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.8",
"@graphql-tools/delegate": "^10.0.9",
"@graphql-tools/executor": "^1.2.1",
"@graphql-tools/merge": "^9.0.4",
"@graphql-tools/schema": "^10.0.3",
Expand Down

0 comments on commit a6f0490

Please sign in to comment.