diff --git a/.changeset/major-baths-feel.md b/.changeset/major-baths-feel.md deleted file mode 100644 index 2e7abe449..000000000 --- a/.changeset/major-baths-feel.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -'@graphql-hive/cli': minor -'hive': minor ---- - -Updated federation-composition to v0.21.0 - -- **Enhanced auth directive validation**: The federation-composition now enforces correct placement of auth directives (`@authenticated`, `@requiresScopes`, `@policy`) by rejecting attempts to place them on interfaces, interface fields, or interface objects with the new `AUTH_REQUIREMENTS_APPLIED_ON_INTERFACE` validation rule. - -- **Transitive auth requirements checking**: Added a new validation rule that ensures fields using `@requires` specify at least the auth requirements of the fields they select. If a field doesn't carry forward required auth directives, composition fails with a `MISSING_TRANSITIVE_AUTH_REQUIREMENTS` error. - -- **Auth requirements inheritance**: Interface types and fields now properly inherit `@authenticated`, `@requiresScopes`, and `@policy` directives from the object types that implement them. - -- **`@cost` directive restrictions**: The `@cost` directive can no longer be placed on interface types, their fields, or field arguments. Invalid placements now result in composition errors instead of being silently accepted. - -- **Improved `@listSize` validation**: The directive now validates that `sizedFields` point to actual list fields rather than integer counters. Additionally, `slicingArguments` validation has been added to ensure only arguments that exist in all subgraphs are retained. - -- **Fixed `EXTERNAL_MISSING_ON_BASE` rule**: Resolved false positives when handling `@interfaceObject` corner-cases, particularly for `@external` fields on object types provided by interface objects. diff --git a/.changeset/orange-tools-train.md b/.changeset/orange-tools-train.md deleted file mode 100644 index 2e74b7456..000000000 --- a/.changeset/orange-tools-train.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'hive': minor ---- - -eliminate clickhouse query timeouts and improve read times of large amounts of traces in dashboard diff --git a/deployment/CHANGELOG.md b/deployment/CHANGELOG.md index 78d8ae518..35abb0fd7 100644 --- a/deployment/CHANGELOG.md +++ b/deployment/CHANGELOG.md @@ -1,5 +1,40 @@ # hive +## 8.10.0 + +### Minor Changes + +- [#7306](https://github.com/graphql-hive/console/pull/7306) + [`29de664`](https://github.com/graphql-hive/console/commit/29de664960f3bcbadd3672645ed7fff5126aa012) + Thanks [@kamilkisiela](https://github.com/kamilkisiela)! - Updated federation-composition to + v0.21.0 + + - **Enhanced auth directive validation**: The federation-composition now enforces correct + placement of auth directives (`@authenticated`, `@requiresScopes`, `@policy`) by rejecting + attempts to place them on interfaces, interface fields, or interface objects with the new + `AUTH_REQUIREMENTS_APPLIED_ON_INTERFACE` validation rule. + - **Transitive auth requirements checking**: Added a new validation rule that ensures fields using + `@requires` specify at least the auth requirements of the fields they select. If a field doesn't + carry forward required auth directives, composition fails with a + `MISSING_TRANSITIVE_AUTH_REQUIREMENTS` error. + - **Auth requirements inheritance**: Interface types and fields now properly inherit + `@authenticated`, `@requiresScopes`, and `@policy` directives from the object types that + implement them. + - **`@cost` directive restrictions**: The `@cost` directive can no longer be placed on interface + types, their fields, or field arguments. Invalid placements now result in composition errors + instead of being silently accepted. + - **Improved `@listSize` validation**: The directive now validates that `sizedFields` point to + actual list fields rather than integer counters. Additionally, `slicingArguments` validation has + been added to ensure only arguments that exist in all subgraphs are retained. + - **Fixed `EXTERNAL_MISSING_ON_BASE` rule**: Resolved false positives when handling + `@interfaceObject` corner-cases, particularly for `@external` fields on object types provided by + interface objects. + +- [#7291](https://github.com/graphql-hive/console/pull/7291) + [`802315e`](https://github.com/graphql-hive/console/commit/802315eb849c4933b5e5292c9dcc5245df3aad8b) + Thanks [@adambenhassen](https://github.com/adambenhassen)! - eliminate clickhouse query timeouts + and improve read times of large amounts of traces in dashboard + ## 8.9.0 ### Minor Changes diff --git a/deployment/package.json b/deployment/package.json index acc635829..b3a7955c7 100644 --- a/deployment/package.json +++ b/deployment/package.json @@ -1,6 +1,6 @@ { "name": "hive", - "version": "8.9.0", + "version": "8.10.0", "private": true, "scripts": { "generate": "tsx generate.ts", diff --git a/packages/libraries/cli/CHANGELOG.md b/packages/libraries/cli/CHANGELOG.md index 20c6a8465..5f3bd8f5c 100644 --- a/packages/libraries/cli/CHANGELOG.md +++ b/packages/libraries/cli/CHANGELOG.md @@ -1,5 +1,35 @@ # @graphql-hive/cli +## 0.54.0 + +### Minor Changes + +- [#7306](https://github.com/graphql-hive/console/pull/7306) + [`29de664`](https://github.com/graphql-hive/console/commit/29de664960f3bcbadd3672645ed7fff5126aa012) + Thanks [@kamilkisiela](https://github.com/kamilkisiela)! - Updated federation-composition to + v0.21.0 + + - **Enhanced auth directive validation**: The federation-composition now enforces correct + placement of auth directives (`@authenticated`, `@requiresScopes`, `@policy`) by rejecting + attempts to place them on interfaces, interface fields, or interface objects with the new + `AUTH_REQUIREMENTS_APPLIED_ON_INTERFACE` validation rule. + - **Transitive auth requirements checking**: Added a new validation rule that ensures fields using + `@requires` specify at least the auth requirements of the fields they select. If a field doesn't + carry forward required auth directives, composition fails with a + `MISSING_TRANSITIVE_AUTH_REQUIREMENTS` error. + - **Auth requirements inheritance**: Interface types and fields now properly inherit + `@authenticated`, `@requiresScopes`, and `@policy` directives from the object types that + implement them. + - **`@cost` directive restrictions**: The `@cost` directive can no longer be placed on interface + types, their fields, or field arguments. Invalid placements now result in composition errors + instead of being silently accepted. + - **Improved `@listSize` validation**: The directive now validates that `sizedFields` point to + actual list fields rather than integer counters. Additionally, `slicingArguments` validation has + been added to ensure only arguments that exist in all subgraphs are retained. + - **Fixed `EXTERNAL_MISSING_ON_BASE` rule**: Resolved false positives when handling + `@interfaceObject` corner-cases, particularly for `@external` fields on object types provided by + interface objects. + ## 0.53.5 ### Patch Changes diff --git a/packages/libraries/cli/README.md b/packages/libraries/cli/README.md index 356e2c220..e01e29265 100644 --- a/packages/libraries/cli/README.md +++ b/packages/libraries/cli/README.md @@ -81,7 +81,7 @@ DESCRIPTION ``` _See code: -[src/commands/app/create.ts](https://github.com/graphql-hive/platform/blob/v0.53.5/src/commands/app/create.ts)_ +[src/commands/app/create.ts](https://github.com/graphql-hive/platform/blob/v0.54.0/src/commands/app/create.ts)_ ## `hive app:publish` @@ -108,7 +108,7 @@ DESCRIPTION ``` _See code: -[src/commands/app/publish.ts](https://github.com/graphql-hive/platform/blob/v0.53.5/src/commands/app/publish.ts)_ +[src/commands/app/publish.ts](https://github.com/graphql-hive/platform/blob/v0.54.0/src/commands/app/publish.ts)_ ## `hive app:retire` @@ -135,7 +135,7 @@ DESCRIPTION ``` _See code: -[src/commands/app/retire.ts](https://github.com/graphql-hive/platform/blob/v0.53.5/src/commands/app/retire.ts)_ +[src/commands/app/retire.ts](https://github.com/graphql-hive/platform/blob/v0.54.0/src/commands/app/retire.ts)_ ## `hive artifact:fetch` @@ -159,7 +159,7 @@ DESCRIPTION ``` _See code: -[src/commands/artifact/fetch.ts](https://github.com/graphql-hive/platform/blob/v0.53.5/src/commands/artifact/fetch.ts)_ +[src/commands/artifact/fetch.ts](https://github.com/graphql-hive/platform/blob/v0.54.0/src/commands/artifact/fetch.ts)_ ## `hive dev` @@ -202,7 +202,7 @@ DESCRIPTION ``` _See code: -[src/commands/dev.ts](https://github.com/graphql-hive/platform/blob/v0.53.5/src/commands/dev.ts)_ +[src/commands/dev.ts](https://github.com/graphql-hive/platform/blob/v0.54.0/src/commands/dev.ts)_ ## `hive help [COMMAND]` @@ -246,7 +246,7 @@ DESCRIPTION ``` _See code: -[src/commands/introspect.ts](https://github.com/graphql-hive/platform/blob/v0.53.5/src/commands/introspect.ts)_ +[src/commands/introspect.ts](https://github.com/graphql-hive/platform/blob/v0.54.0/src/commands/introspect.ts)_ ## `hive operations:check FILE` @@ -305,7 +305,7 @@ DESCRIPTION ``` _See code: -[src/commands/operations/check.ts](https://github.com/graphql-hive/platform/blob/v0.53.5/src/commands/operations/check.ts)_ +[src/commands/operations/check.ts](https://github.com/graphql-hive/platform/blob/v0.54.0/src/commands/operations/check.ts)_ ## `hive schema:check FILE` @@ -349,7 +349,7 @@ DESCRIPTION ``` _See code: -[src/commands/schema/check.ts](https://github.com/graphql-hive/platform/blob/v0.53.5/src/commands/schema/check.ts)_ +[src/commands/schema/check.ts](https://github.com/graphql-hive/platform/blob/v0.54.0/src/commands/schema/check.ts)_ ## `hive schema:delete SERVICE` @@ -381,7 +381,7 @@ DESCRIPTION ``` _See code: -[src/commands/schema/delete.ts](https://github.com/graphql-hive/platform/blob/v0.53.5/src/commands/schema/delete.ts)_ +[src/commands/schema/delete.ts](https://github.com/graphql-hive/platform/blob/v0.54.0/src/commands/schema/delete.ts)_ ## `hive schema:fetch [COMMIT]` @@ -414,7 +414,7 @@ DESCRIPTION ``` _See code: -[src/commands/schema/fetch.ts](https://github.com/graphql-hive/platform/blob/v0.53.5/src/commands/schema/fetch.ts)_ +[src/commands/schema/fetch.ts](https://github.com/graphql-hive/platform/blob/v0.54.0/src/commands/schema/fetch.ts)_ ## `hive schema:publish FILE` @@ -458,7 +458,7 @@ DESCRIPTION ``` _See code: -[src/commands/schema/publish.ts](https://github.com/graphql-hive/platform/blob/v0.53.5/src/commands/schema/publish.ts)_ +[src/commands/schema/publish.ts](https://github.com/graphql-hive/platform/blob/v0.54.0/src/commands/schema/publish.ts)_ ## `hive update [CHANNEL]` @@ -520,7 +520,7 @@ DESCRIPTION ``` _See code: -[src/commands/whoami.ts](https://github.com/graphql-hive/platform/blob/v0.53.5/src/commands/whoami.ts)_ +[src/commands/whoami.ts](https://github.com/graphql-hive/platform/blob/v0.54.0/src/commands/whoami.ts)_ diff --git a/packages/libraries/cli/package.json b/packages/libraries/cli/package.json index 01d6377f6..12f9c4b85 100644 --- a/packages/libraries/cli/package.json +++ b/packages/libraries/cli/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-hive/cli", - "version": "0.53.5", + "version": "0.54.0", "description": "A CLI util to manage and control your GraphQL Hive", "repository": { "type": "git",