From 966d48dc6ff8b10b7bff800d504abb1259a323f5 Mon Sep 17 00:00:00 2001 From: TheGuildBot <59414373+theguild-bot@users.noreply.github.com> Date: Mon, 22 Jan 2024 12:22:21 +0200 Subject: [PATCH] Upcoming Release Changes (#37) This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @theguild/federation-composition@0.7.1 ### Patch Changes - [#36](https://github.com/the-guild-org/federation/pull/36) [`fdba937`](https://github.com/the-guild-org/federation/commit/fdba937f5a3fd6317d08a496129d4242f2c38df4) Thanks [@kamilkisiela](https://github.com/kamilkisiela)! - Visit every field in provides and requires directives - [#36](https://github.com/the-guild-org/federation/pull/36) [`fdba937`](https://github.com/the-guild-org/federation/commit/fdba937f5a3fd6317d08a496129d4242f2c38df4) Thanks [@kamilkisiela](https://github.com/kamilkisiela)! - Fix unnecessary join\_\_field(override:) on Query fields when it points to non-existing subgraph - [#36](https://github.com/the-guild-org/federation/pull/36) [`fdba937`](https://github.com/the-guild-org/federation/commit/fdba937f5a3fd6317d08a496129d4242f2c38df4) Thanks [@kamilkisiela](https://github.com/kamilkisiela)! - Deduplicate composed directives - [#39](https://github.com/the-guild-org/federation/pull/39) [`e77eb2c`](https://github.com/the-guild-org/federation/commit/e77eb2c4e7d4ab09aeb08946d9c241e4d5b7757b) Thanks [@n1ru4l](https://github.com/n1ru4l)! - Ignore inaccessible field arguments within the `DEFAULT_VALUE_USES_INACCESSIBLE` rule. Fixes an issue where an inaccessible field argument uses a default value that is inaccessible would cause a false error. ```graphql type User @key(fields: "id") { id: ID friends(type: FriendType = FAMILY @inaccessible): [User!]! } enum FriendType { FAMILY @inaccessible FRIEND } ``` - [#36](https://github.com/the-guild-org/federation/pull/36) [`fdba937`](https://github.com/the-guild-org/federation/commit/fdba937f5a3fd6317d08a496129d4242f2c38df4) Thanks [@kamilkisiela](https://github.com/kamilkisiela)! - Remove duplicated link spec definitions - [#36](https://github.com/the-guild-org/federation/pull/36) [`fdba937`](https://github.com/the-guild-org/federation/commit/fdba937f5a3fd6317d08a496129d4242f2c38df4) Thanks [@kamilkisiela](https://github.com/kamilkisiela)! - Drop unused fields marked with @external only in a single type in Fed v1 - [`220dfc0`](https://github.com/the-guild-org/federation/commit/220dfc0a760da4cb94c811a113641c16212868a7) Thanks [@kamilkisiela](https://github.com/kamilkisiela)! - Fix missing usedOverridden on non-external key field Co-authored-by: github-actions[bot] --- .changeset/cold-keys-dream.md | 5 --- .changeset/heavy-steaks-agree.md | 5 --- .changeset/rich-sheep-hide.md | 5 --- .changeset/sharp-trees-sparkle.md | 20 ------------ .changeset/silly-parents-smash.md | 5 --- .changeset/thin-vans-chew.md | 5 --- .changeset/tidy-rules-relax.md | 5 --- CHANGELOG.md | 51 +++++++++++++++++++++++++++++++ package.json | 2 +- 9 files changed, 52 insertions(+), 51 deletions(-) delete mode 100644 .changeset/cold-keys-dream.md delete mode 100644 .changeset/heavy-steaks-agree.md delete mode 100644 .changeset/rich-sheep-hide.md delete mode 100644 .changeset/sharp-trees-sparkle.md delete mode 100644 .changeset/silly-parents-smash.md delete mode 100644 .changeset/thin-vans-chew.md delete mode 100644 .changeset/tidy-rules-relax.md diff --git a/.changeset/cold-keys-dream.md b/.changeset/cold-keys-dream.md deleted file mode 100644 index 89e8393..0000000 --- a/.changeset/cold-keys-dream.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@theguild/federation-composition': patch ---- - -Visit every field in provides and requires directives diff --git a/.changeset/heavy-steaks-agree.md b/.changeset/heavy-steaks-agree.md deleted file mode 100644 index 6142083..0000000 --- a/.changeset/heavy-steaks-agree.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@theguild/federation-composition': patch ---- - -Fix unnecessary join\_\_field(override:) on Query fields when it points to non-existing subgraph diff --git a/.changeset/rich-sheep-hide.md b/.changeset/rich-sheep-hide.md deleted file mode 100644 index 78a7bc3..0000000 --- a/.changeset/rich-sheep-hide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@theguild/federation-composition': patch ---- - -Deduplicate composed directives diff --git a/.changeset/sharp-trees-sparkle.md b/.changeset/sharp-trees-sparkle.md deleted file mode 100644 index 7e02a17..0000000 --- a/.changeset/sharp-trees-sparkle.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -'@theguild/federation-composition': patch ---- - -Ignore inaccessible field arguments within the `DEFAULT_VALUE_USES_INACCESSIBLE` rule. - -Fixes an issue where an inaccessible field argument uses a default value that is inaccessible would -cause a false error. - -```graphql -type User @key(fields: "id") { - id: ID - friends(type: FriendType = FAMILY @inaccessible): [User!]! -} - -enum FriendType { - FAMILY @inaccessible - FRIEND -} -``` diff --git a/.changeset/silly-parents-smash.md b/.changeset/silly-parents-smash.md deleted file mode 100644 index a43860c..0000000 --- a/.changeset/silly-parents-smash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@theguild/federation-composition': patch ---- - -Remove duplicated link spec definitions diff --git a/.changeset/thin-vans-chew.md b/.changeset/thin-vans-chew.md deleted file mode 100644 index 063269c..0000000 --- a/.changeset/thin-vans-chew.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@theguild/federation-composition': patch ---- - -Drop unused fields marked with @external only in a single type in Fed v1 diff --git a/.changeset/tidy-rules-relax.md b/.changeset/tidy-rules-relax.md deleted file mode 100644 index ac9bc38..0000000 --- a/.changeset/tidy-rules-relax.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@theguild/federation-composition': patch ---- - -Fix missing usedOverridden on non-external key field diff --git a/CHANGELOG.md b/CHANGELOG.md index 72ab06a..01194e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,56 @@ # @theguild/federation-composition +## 0.7.1 + +### Patch Changes + +- [#36](https://github.com/the-guild-org/federation/pull/36) + [`fdba937`](https://github.com/the-guild-org/federation/commit/fdba937f5a3fd6317d08a496129d4242f2c38df4) + Thanks [@kamilkisiela](https://github.com/kamilkisiela)! - Visit every field in provides and + requires directives + +- [#36](https://github.com/the-guild-org/federation/pull/36) + [`fdba937`](https://github.com/the-guild-org/federation/commit/fdba937f5a3fd6317d08a496129d4242f2c38df4) + Thanks [@kamilkisiela](https://github.com/kamilkisiela)! - Fix unnecessary + join\_\_field(override:) on Query fields when it points to non-existing subgraph + +- [#36](https://github.com/the-guild-org/federation/pull/36) + [`fdba937`](https://github.com/the-guild-org/federation/commit/fdba937f5a3fd6317d08a496129d4242f2c38df4) + Thanks [@kamilkisiela](https://github.com/kamilkisiela)! - Deduplicate composed directives + +- [#39](https://github.com/the-guild-org/federation/pull/39) + [`e77eb2c`](https://github.com/the-guild-org/federation/commit/e77eb2c4e7d4ab09aeb08946d9c241e4d5b7757b) + Thanks [@n1ru4l](https://github.com/n1ru4l)! - Ignore inaccessible field arguments within the + `DEFAULT_VALUE_USES_INACCESSIBLE` rule. + + Fixes an issue where an inaccessible field argument uses a default value that is inaccessible + would cause a false error. + + ```graphql + type User @key(fields: "id") { + id: ID + friends(type: FriendType = FAMILY @inaccessible): [User!]! + } + + enum FriendType { + FAMILY @inaccessible + FRIEND + } + ``` + +- [#36](https://github.com/the-guild-org/federation/pull/36) + [`fdba937`](https://github.com/the-guild-org/federation/commit/fdba937f5a3fd6317d08a496129d4242f2c38df4) + Thanks [@kamilkisiela](https://github.com/kamilkisiela)! - Remove duplicated link spec definitions + +- [#36](https://github.com/the-guild-org/federation/pull/36) + [`fdba937`](https://github.com/the-guild-org/federation/commit/fdba937f5a3fd6317d08a496129d4242f2c38df4) + Thanks [@kamilkisiela](https://github.com/kamilkisiela)! - Drop unused fields marked with + @external only in a single type in Fed v1 + +- [`220dfc0`](https://github.com/the-guild-org/federation/commit/220dfc0a760da4cb94c811a113641c16212868a7) + Thanks [@kamilkisiela](https://github.com/kamilkisiela)! - Fix missing usedOverridden on + non-external key field + ## 0.7.0 ### Minor Changes diff --git a/package.json b/package.json index b766a6f..37fa234 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@theguild/federation-composition", - "version": "0.7.0", + "version": "0.7.1", "type": "module", "description": "Open Source Composition library for Apollo Federation", "repository": {