mirror of
https://github.com/graphql-hive/console
synced 2026-04-21 14:37:17 +00:00
Upcoming Release Changes (#7310)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
802315eb84
commit
adac87fad9
7 changed files with 79 additions and 37 deletions
|
|
@ -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.
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'hive': minor
|
||||
---
|
||||
|
||||
eliminate clickhouse query timeouts and improve read times of large amounts of traces in dashboard
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hive",
|
||||
"version": "8.9.0",
|
||||
"version": "8.10.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"generate": "tsx generate.ts",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)_
|
||||
|
||||
<!-- commandsstop -->
|
||||
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue