Skip to content

Commit adac87f

Browse files
Upcoming Release Changes (#7310)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 802315e commit adac87f

File tree

7 files changed

+79
-37
lines changed

7 files changed

+79
-37
lines changed

.changeset/major-baths-feel.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

.changeset/orange-tools-train.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

deployment/CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
11
# hive
22

3+
## 8.10.0
4+
5+
### Minor Changes
6+
7+
- [#7306](https://github.com/graphql-hive/console/pull/7306)
8+
[`29de664`](https://github.com/graphql-hive/console/commit/29de664960f3bcbadd3672645ed7fff5126aa012)
9+
Thanks [@kamilkisiela](https://github.com/kamilkisiela)! - Updated federation-composition to
10+
v0.21.0
11+
12+
- **Enhanced auth directive validation**: The federation-composition now enforces correct
13+
placement of auth directives (`@authenticated`, `@requiresScopes`, `@policy`) by rejecting
14+
attempts to place them on interfaces, interface fields, or interface objects with the new
15+
`AUTH_REQUIREMENTS_APPLIED_ON_INTERFACE` validation rule.
16+
- **Transitive auth requirements checking**: Added a new validation rule that ensures fields using
17+
`@requires` specify at least the auth requirements of the fields they select. If a field doesn't
18+
carry forward required auth directives, composition fails with a
19+
`MISSING_TRANSITIVE_AUTH_REQUIREMENTS` error.
20+
- **Auth requirements inheritance**: Interface types and fields now properly inherit
21+
`@authenticated`, `@requiresScopes`, and `@policy` directives from the object types that
22+
implement them.
23+
- **`@cost` directive restrictions**: The `@cost` directive can no longer be placed on interface
24+
types, their fields, or field arguments. Invalid placements now result in composition errors
25+
instead of being silently accepted.
26+
- **Improved `@listSize` validation**: The directive now validates that `sizedFields` point to
27+
actual list fields rather than integer counters. Additionally, `slicingArguments` validation has
28+
been added to ensure only arguments that exist in all subgraphs are retained.
29+
- **Fixed `EXTERNAL_MISSING_ON_BASE` rule**: Resolved false positives when handling
30+
`@interfaceObject` corner-cases, particularly for `@external` fields on object types provided by
31+
interface objects.
32+
33+
- [#7291](https://github.com/graphql-hive/console/pull/7291)
34+
[`802315e`](https://github.com/graphql-hive/console/commit/802315eb849c4933b5e5292c9dcc5245df3aad8b)
35+
Thanks [@adambenhassen](https://github.com/adambenhassen)! - eliminate clickhouse query timeouts
36+
and improve read times of large amounts of traces in dashboard
37+
338
## 8.9.0
439

540
### Minor Changes

deployment/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hive",
3-
"version": "8.9.0",
3+
"version": "8.10.0",
44
"private": true,
55
"scripts": {
66
"generate": "tsx generate.ts",

packages/libraries/cli/CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
# @graphql-hive/cli
22

3+
## 0.54.0
4+
5+
### Minor Changes
6+
7+
- [#7306](https://github.com/graphql-hive/console/pull/7306)
8+
[`29de664`](https://github.com/graphql-hive/console/commit/29de664960f3bcbadd3672645ed7fff5126aa012)
9+
Thanks [@kamilkisiela](https://github.com/kamilkisiela)! - Updated federation-composition to
10+
v0.21.0
11+
12+
- **Enhanced auth directive validation**: The federation-composition now enforces correct
13+
placement of auth directives (`@authenticated`, `@requiresScopes`, `@policy`) by rejecting
14+
attempts to place them on interfaces, interface fields, or interface objects with the new
15+
`AUTH_REQUIREMENTS_APPLIED_ON_INTERFACE` validation rule.
16+
- **Transitive auth requirements checking**: Added a new validation rule that ensures fields using
17+
`@requires` specify at least the auth requirements of the fields they select. If a field doesn't
18+
carry forward required auth directives, composition fails with a
19+
`MISSING_TRANSITIVE_AUTH_REQUIREMENTS` error.
20+
- **Auth requirements inheritance**: Interface types and fields now properly inherit
21+
`@authenticated`, `@requiresScopes`, and `@policy` directives from the object types that
22+
implement them.
23+
- **`@cost` directive restrictions**: The `@cost` directive can no longer be placed on interface
24+
types, their fields, or field arguments. Invalid placements now result in composition errors
25+
instead of being silently accepted.
26+
- **Improved `@listSize` validation**: The directive now validates that `sizedFields` point to
27+
actual list fields rather than integer counters. Additionally, `slicingArguments` validation has
28+
been added to ensure only arguments that exist in all subgraphs are retained.
29+
- **Fixed `EXTERNAL_MISSING_ON_BASE` rule**: Resolved false positives when handling
30+
`@interfaceObject` corner-cases, particularly for `@external` fields on object types provided by
31+
interface objects.
32+
333
## 0.53.5
434

535
### Patch Changes

packages/libraries/cli/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ DESCRIPTION
8181
```
8282

8383
_See code:
84-
[src/commands/app/create.ts](https://github.com/graphql-hive/platform/blob/v0.53.5/src/commands/app/create.ts)_
84+
[src/commands/app/create.ts](https://github.com/graphql-hive/platform/blob/v0.54.0/src/commands/app/create.ts)_
8585

8686
## `hive app:publish`
8787

@@ -108,7 +108,7 @@ DESCRIPTION
108108
```
109109

110110
_See code:
111-
[src/commands/app/publish.ts](https://github.com/graphql-hive/platform/blob/v0.53.5/src/commands/app/publish.ts)_
111+
[src/commands/app/publish.ts](https://github.com/graphql-hive/platform/blob/v0.54.0/src/commands/app/publish.ts)_
112112

113113
## `hive app:retire`
114114

@@ -135,7 +135,7 @@ DESCRIPTION
135135
```
136136

137137
_See code:
138-
[src/commands/app/retire.ts](https://github.com/graphql-hive/platform/blob/v0.53.5/src/commands/app/retire.ts)_
138+
[src/commands/app/retire.ts](https://github.com/graphql-hive/platform/blob/v0.54.0/src/commands/app/retire.ts)_
139139

140140
## `hive artifact:fetch`
141141

@@ -159,7 +159,7 @@ DESCRIPTION
159159
```
160160

161161
_See code:
162-
[src/commands/artifact/fetch.ts](https://github.com/graphql-hive/platform/blob/v0.53.5/src/commands/artifact/fetch.ts)_
162+
[src/commands/artifact/fetch.ts](https://github.com/graphql-hive/platform/blob/v0.54.0/src/commands/artifact/fetch.ts)_
163163

164164
## `hive dev`
165165

@@ -202,7 +202,7 @@ DESCRIPTION
202202
```
203203

204204
_See code:
205-
[src/commands/dev.ts](https://github.com/graphql-hive/platform/blob/v0.53.5/src/commands/dev.ts)_
205+
[src/commands/dev.ts](https://github.com/graphql-hive/platform/blob/v0.54.0/src/commands/dev.ts)_
206206

207207
## `hive help [COMMAND]`
208208

@@ -246,7 +246,7 @@ DESCRIPTION
246246
```
247247

248248
_See code:
249-
[src/commands/introspect.ts](https://github.com/graphql-hive/platform/blob/v0.53.5/src/commands/introspect.ts)_
249+
[src/commands/introspect.ts](https://github.com/graphql-hive/platform/blob/v0.54.0/src/commands/introspect.ts)_
250250

251251
## `hive operations:check FILE`
252252

@@ -305,7 +305,7 @@ DESCRIPTION
305305
```
306306

307307
_See code:
308-
[src/commands/operations/check.ts](https://github.com/graphql-hive/platform/blob/v0.53.5/src/commands/operations/check.ts)_
308+
[src/commands/operations/check.ts](https://github.com/graphql-hive/platform/blob/v0.54.0/src/commands/operations/check.ts)_
309309

310310
## `hive schema:check FILE`
311311

@@ -349,7 +349,7 @@ DESCRIPTION
349349
```
350350

351351
_See code:
352-
[src/commands/schema/check.ts](https://github.com/graphql-hive/platform/blob/v0.53.5/src/commands/schema/check.ts)_
352+
[src/commands/schema/check.ts](https://github.com/graphql-hive/platform/blob/v0.54.0/src/commands/schema/check.ts)_
353353

354354
## `hive schema:delete SERVICE`
355355

@@ -381,7 +381,7 @@ DESCRIPTION
381381
```
382382

383383
_See code:
384-
[src/commands/schema/delete.ts](https://github.com/graphql-hive/platform/blob/v0.53.5/src/commands/schema/delete.ts)_
384+
[src/commands/schema/delete.ts](https://github.com/graphql-hive/platform/blob/v0.54.0/src/commands/schema/delete.ts)_
385385

386386
## `hive schema:fetch [COMMIT]`
387387

@@ -414,7 +414,7 @@ DESCRIPTION
414414
```
415415

416416
_See code:
417-
[src/commands/schema/fetch.ts](https://github.com/graphql-hive/platform/blob/v0.53.5/src/commands/schema/fetch.ts)_
417+
[src/commands/schema/fetch.ts](https://github.com/graphql-hive/platform/blob/v0.54.0/src/commands/schema/fetch.ts)_
418418

419419
## `hive schema:publish FILE`
420420

@@ -458,7 +458,7 @@ DESCRIPTION
458458
```
459459

460460
_See code:
461-
[src/commands/schema/publish.ts](https://github.com/graphql-hive/platform/blob/v0.53.5/src/commands/schema/publish.ts)_
461+
[src/commands/schema/publish.ts](https://github.com/graphql-hive/platform/blob/v0.54.0/src/commands/schema/publish.ts)_
462462

463463
## `hive update [CHANNEL]`
464464

@@ -520,7 +520,7 @@ DESCRIPTION
520520
```
521521

522522
_See code:
523-
[src/commands/whoami.ts](https://github.com/graphql-hive/platform/blob/v0.53.5/src/commands/whoami.ts)_
523+
[src/commands/whoami.ts](https://github.com/graphql-hive/platform/blob/v0.54.0/src/commands/whoami.ts)_
524524

525525
<!-- commandsstop -->
526526

packages/libraries/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphql-hive/cli",
3-
"version": "0.53.5",
3+
"version": "0.54.0",
44
"description": "A CLI util to manage and control your GraphQL Hive",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)