From 1fecc3cd62ada2c6800037385108ef27f366b65c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 22 Jul 2026 13:07:55 +0000 Subject: [PATCH] chore(release): update monorepo packages versions --- .changeset/smart-bees-lose.md | 27 --------------------------- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ package.json | 2 +- 3 files changed, 29 insertions(+), 28 deletions(-) delete mode 100644 .changeset/smart-bees-lose.md diff --git a/.changeset/smart-bees-lose.md b/.changeset/smart-bees-lose.md deleted file mode 100644 index 5f5b21b4..00000000 --- a/.changeset/smart-bees-lose.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -"@theguild/federation-composition": patch ---- - -Support composing directive argument default values. E.g. - -```graphql -extend schema - @link( - url: "https://specs.apollo.dev/federation/v2.5" - import: ["@key", "@composeDirective"] - ) - @link(url: "https://myspecs.dev/access/v1.0", import: ["@access"]) - @composeDirective(name: "@access") - -directive @access(scope: Scope! = PUBLIC) on FIELD_DEFINITION -enum Scope { - PUBLIC - PRIVATE -} - -type Query { - hello: String @access -} -``` - -Previously, the "PUBLIC" default value in the above example would not be set in the composed result. diff --git a/CHANGELOG.md b/CHANGELOG.md index 7be2001c..86efa7a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,33 @@ # @theguild/federation-composition +## 0.23.2 + +### Patch Changes + +- [#312](https://github.com/graphql-hive/federation-composition/pull/312) [`32039b3`](https://github.com/graphql-hive/federation-composition/commit/32039b32866c642913b26d63fe23d0c55ac9deb8) Thanks [@jdolle](https://github.com/jdolle)! - Support composing directive argument default values. E.g. + + ```graphql + extend schema + @link( + url: "https://specs.apollo.dev/federation/v2.5" + import: ["@key", "@composeDirective"] + ) + @link(url: "https://myspecs.dev/access/v1.0", import: ["@access"]) + @composeDirective(name: "@access") + + directive @access(scope: Scope! = PUBLIC) on FIELD_DEFINITION + enum Scope { + PUBLIC + PRIVATE + } + + type Query { + hello: String @access + } + ``` + + Previously, the "PUBLIC" default value in the above example would not be set in the composed result. + ## 0.23.1 ### Patch Changes diff --git a/package.json b/package.json index daa54f9c..404eaf6b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@theguild/federation-composition", - "version": "0.23.1", + "version": "0.23.2", "type": "module", "description": "Open Source Composition library for Apollo Federation", "repository": {