mirror of
https://github.com/graphql-hive/console
synced 2026-04-21 14:37:17 +00:00
Upcoming Release Changes (#7481)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
234f0f51b3
commit
4fa63d5c95
13 changed files with 138 additions and 109 deletions
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'hive': patch
|
||||
---
|
||||
|
||||
Fix org owner not being able to select a new billing plan after downgrading.
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'hive': patch
|
||||
---
|
||||
|
||||
Improve error message when schema composition exceeds the memory consumption limits.
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
'@graphql-hive/cli': patch
|
||||
'hive': patch
|
||||
---
|
||||
|
||||
Fixes a bug in Federation composition and validation where an error was incorrectly reported for interfaces
|
||||
implementing another interface with a `@key`. The validation now correctly applies only to object
|
||||
types implementing the interface.
|
||||
|
|
@ -1,42 +0,0 @@
|
|||
---
|
||||
'hive': major
|
||||
---
|
||||
|
||||
Add a new `workflows` service. This service consolidates and replaces the `emails` and `webhooks` services, using a Postgres-backed persistent queue for improved stability and reliability.
|
||||
|
||||
If you are running a self-hosted setup the following docker compose changes are required:
|
||||
|
||||
```diff
|
||||
services:
|
||||
|
||||
+ workflows:
|
||||
+ image: '${DOCKER_REGISTRY}workflows${DOCKER_TAG}'
|
||||
+ networks:
|
||||
+ - 'stack'
|
||||
+ depends_on:
|
||||
+ db:
|
||||
+ condition: service_healthy
|
||||
+ environment:
|
||||
+ NODE_ENV: production
|
||||
+ PORT: 3014
|
||||
+ POSTGRES_HOST: db
|
||||
+ POSTGRES_PORT: 5432
|
||||
+ POSTGRES_DB: '${POSTGRES_DB}'
|
||||
+ POSTGRES_USER: '${POSTGRES_USER}'
|
||||
+ POSTGRES_PASSWORD: '${POSTGRES_PASSWORD}'
|
||||
+ EMAIL_FROM: no-reply@graphql-hive.com
|
||||
+ EMAIL_PROVIDER: sendmail
|
||||
+ LOG_LEVEL: '${LOG_LEVEL:-debug}'
|
||||
+ SENTRY: '${SENTRY:-0}'
|
||||
+ SENTRY_DSN: '${SENTRY_DSN:-}'
|
||||
+ PROMETHEUS_METRICS: '${PROMETHEUS_METRICS:-}'
|
||||
+ LOG_JSON: '1'
|
||||
- emails:
|
||||
- ...
|
||||
- webhooks:
|
||||
- ...
|
||||
```
|
||||
|
||||
For different setups, we recommend using this as a reference.
|
||||
|
||||
**Note:** The workflows service will attempt to run postgres migrations for seeding the required database tables within the `graphile_worker` namespace. Please make sure the database user has sufficient permissions. For more information please refer to the [Graphile Worker documentation](https://worker.graphile.org/).
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'hive': major
|
||||
---
|
||||
|
||||
Bump Node.js version to `v24.13.0`.
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
---
|
||||
'hive': minor
|
||||
---
|
||||
|
||||
Add `activeAppDeployments` GraphQL query to find app deployments based on usage criteria.
|
||||
|
||||
New filter options:
|
||||
- `lastUsedBefore`: Find stale deployments that were used but not recently (OR with neverUsedAndCreatedBefore)
|
||||
- `neverUsedAndCreatedBefore`: Find old deployments that have never been used (OR with lastUsedBefore)
|
||||
- `name`: Filter by app deployment name (case-insensitive partial match, AND with date filters)
|
||||
|
||||
Also adds `createdAt` field to the `AppDeployment` type.
|
||||
|
||||
See [Finding Stale App Deployments](https://the-guild.dev/graphql/hive/docs/schema-registry/app-deployments#finding-stale-app-deployments) for more details.
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
'hive': patch
|
||||
---
|
||||
|
||||
Fix federation composition access validation on union members when selecting `__typename` in `@requires` directives.
|
||||
|
||||
The `@requires` directive validation rule (`AuthOnRequiresRule`) was not checking authorization requirements for `__typename` selections on union types. When `__typename` on a union type was selected, code would throw an unexpected error.
|
||||
|
|
@ -1,5 +1,108 @@
|
|||
# hive
|
||||
|
||||
## 9.0.0
|
||||
|
||||
### Major Changes
|
||||
|
||||
- [#7383](https://github.com/graphql-hive/console/pull/7383)
|
||||
[`ec77725`](https://github.com/graphql-hive/console/commit/ec77725ca16db22e238b4f3ba3d9c881ffb0cd62)
|
||||
Thanks [@n1ru4l](https://github.com/n1ru4l)! - Add a new `workflows` service. This service
|
||||
consolidates and replaces the `emails` and `webhooks` services, using a Postgres-backed persistent
|
||||
queue for improved stability and reliability.
|
||||
|
||||
If you are running a self-hosted setup the following docker compose changes are required:
|
||||
|
||||
```diff
|
||||
services:
|
||||
|
||||
+ workflows:
|
||||
+ image: '${DOCKER_REGISTRY}workflows${DOCKER_TAG}'
|
||||
+ networks:
|
||||
+ - 'stack'
|
||||
+ depends_on:
|
||||
+ db:
|
||||
+ condition: service_healthy
|
||||
+ environment:
|
||||
+ NODE_ENV: production
|
||||
+ PORT: 3014
|
||||
+ POSTGRES_HOST: db
|
||||
+ POSTGRES_PORT: 5432
|
||||
+ POSTGRES_DB: '${POSTGRES_DB}'
|
||||
+ POSTGRES_USER: '${POSTGRES_USER}'
|
||||
+ POSTGRES_PASSWORD: '${POSTGRES_PASSWORD}'
|
||||
+ EMAIL_FROM: no-reply@graphql-hive.com
|
||||
+ EMAIL_PROVIDER: sendmail
|
||||
+ LOG_LEVEL: '${LOG_LEVEL:-debug}'
|
||||
+ SENTRY: '${SENTRY:-0}'
|
||||
+ SENTRY_DSN: '${SENTRY_DSN:-}'
|
||||
+ PROMETHEUS_METRICS: '${PROMETHEUS_METRICS:-}'
|
||||
+ LOG_JSON: '1'
|
||||
- emails:
|
||||
- ...
|
||||
- webhooks:
|
||||
- ...
|
||||
```
|
||||
|
||||
For different setups, we recommend using this as a reference.
|
||||
|
||||
**Note:** The workflows service will attempt to run postgres migrations for seeding the required
|
||||
database tables within the `graphile_worker` namespace. Please make sure the database user has
|
||||
sufficient permissions. For more information please refer to the
|
||||
[Graphile Worker documentation](https://worker.graphile.org/).
|
||||
|
||||
- [#7492](https://github.com/graphql-hive/console/pull/7492)
|
||||
[`954e9f3`](https://github.com/graphql-hive/console/commit/954e9f3c37c8518a083b330caa160931779d9a84)
|
||||
Thanks [@n1ru4l](https://github.com/n1ru4l)! - Bump Node.js version to `v24.13.0`.
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#7377](https://github.com/graphql-hive/console/pull/7377)
|
||||
[`8549f22`](https://github.com/graphql-hive/console/commit/8549f222405a08dec4b2974a28414415c0859cf9)
|
||||
Thanks [@adambenhassen](https://github.com/adambenhassen)! - Add `activeAppDeployments` GraphQL
|
||||
query to find app deployments based on usage criteria.
|
||||
|
||||
New filter options:
|
||||
|
||||
- `lastUsedBefore`: Find stale deployments that were used but not recently (OR with
|
||||
neverUsedAndCreatedBefore)
|
||||
- `neverUsedAndCreatedBefore`: Find old deployments that have never been used (OR with
|
||||
lastUsedBefore)
|
||||
- `name`: Filter by app deployment name (case-insensitive partial match, AND with date filters)
|
||||
|
||||
Also adds `createdAt` field to the `AppDeployment` type.
|
||||
|
||||
See
|
||||
[Finding Stale App Deployments](https://the-guild.dev/graphql/hive/docs/schema-registry/app-deployments#finding-stale-app-deployments)
|
||||
for more details.
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#7475](https://github.com/graphql-hive/console/pull/7475)
|
||||
[`e022bb4`](https://github.com/graphql-hive/console/commit/e022bb4805afcc4583db26b16ffd03822d22258f)
|
||||
Thanks [@jdolle](https://github.com/jdolle)! - Fix org owner not being able to select a new
|
||||
billing plan after downgrading.
|
||||
|
||||
- [#7478](https://github.com/graphql-hive/console/pull/7478)
|
||||
[`8e2e40d`](https://github.com/graphql-hive/console/commit/8e2e40dcf02664b5fe17ed1c7ffbff9e0ec9ffe0)
|
||||
Thanks [@n1ru4l](https://github.com/n1ru4l)! - Improve error message when schema composition
|
||||
exceeds the memory consumption limits.
|
||||
|
||||
- [#7485](https://github.com/graphql-hive/console/pull/7485)
|
||||
[`e3006e2`](https://github.com/graphql-hive/console/commit/e3006e22bbe38e673c27b94b080be5f57f3d095d)
|
||||
Thanks [@kamilkisiela](https://github.com/kamilkisiela)! - Fixes a bug in Federation composition
|
||||
and validation where an error was incorrectly reported for interfaces implementing another
|
||||
interface with a `@key`. The validation now correctly applies only to object types implementing
|
||||
the interface.
|
||||
|
||||
- [#7508](https://github.com/graphql-hive/console/pull/7508)
|
||||
[`8e111ac`](https://github.com/graphql-hive/console/commit/8e111ac4285c5b13196d11908b5afee512dc0e9b)
|
||||
Thanks [@n1ru4l](https://github.com/n1ru4l)! - Fix federation composition access validation on
|
||||
union members when selecting `__typename` in `@requires` directives.
|
||||
|
||||
The `@requires` directive validation rule (`AuthOnRequiresRule`) was not checking authorization
|
||||
requirements for `__typename` selections on union types. When `__typename` on a union type was
|
||||
selected, code would throw an unexpected error.
|
||||
|
||||
## 8.14.1
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hive",
|
||||
"version": "8.14.1",
|
||||
"version": "9.0.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"generate": "tsx generate.ts",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,16 @@
|
|||
# @graphql-hive/cli
|
||||
|
||||
## 0.57.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#7485](https://github.com/graphql-hive/console/pull/7485)
|
||||
[`e3006e2`](https://github.com/graphql-hive/console/commit/e3006e22bbe38e673c27b94b080be5f57f3d095d)
|
||||
Thanks [@kamilkisiela](https://github.com/kamilkisiela)! - Fixes a bug in Federation composition
|
||||
and validation where an error was incorrectly reported for interfaces implementing another
|
||||
interface with a `@key`. The validation now correctly applies only to object types implementing
|
||||
the interface.
|
||||
|
||||
## 0.57.1
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ DESCRIPTION
|
|||
```
|
||||
|
||||
_See code:
|
||||
[src/commands/app/create.ts](https://github.com/graphql-hive/platform/blob/v0.57.1/src/commands/app/create.ts)_
|
||||
[src/commands/app/create.ts](https://github.com/graphql-hive/platform/blob/v0.57.2/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.57.1/src/commands/app/publish.ts)_
|
||||
[src/commands/app/publish.ts](https://github.com/graphql-hive/platform/blob/v0.57.2/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.57.1/src/commands/app/retire.ts)_
|
||||
[src/commands/app/retire.ts](https://github.com/graphql-hive/platform/blob/v0.57.2/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.57.1/src/commands/artifact/fetch.ts)_
|
||||
[src/commands/artifact/fetch.ts](https://github.com/graphql-hive/platform/blob/v0.57.2/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.57.1/src/commands/dev.ts)_
|
||||
[src/commands/dev.ts](https://github.com/graphql-hive/platform/blob/v0.57.2/src/commands/dev.ts)_
|
||||
|
||||
## `hive help [COMMAND]`
|
||||
|
||||
|
|
@ -213,7 +213,7 @@ USAGE
|
|||
$ hive help [COMMAND...] [-n]
|
||||
|
||||
ARGUMENTS
|
||||
COMMAND... Command to show help for.
|
||||
[COMMAND...] Command to show help for.
|
||||
|
||||
FLAGS
|
||||
-n, --nested-commands Include all nested commands in the output.
|
||||
|
|
@ -223,7 +223,7 @@ DESCRIPTION
|
|||
```
|
||||
|
||||
_See code:
|
||||
[@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.0.22/src/commands/help.ts)_
|
||||
[@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.36/src/commands/help.ts)_
|
||||
|
||||
## `hive introspect LOCATION`
|
||||
|
||||
|
|
@ -246,7 +246,7 @@ DESCRIPTION
|
|||
```
|
||||
|
||||
_See code:
|
||||
[src/commands/introspect.ts](https://github.com/graphql-hive/platform/blob/v0.57.1/src/commands/introspect.ts)_
|
||||
[src/commands/introspect.ts](https://github.com/graphql-hive/platform/blob/v0.57.2/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.57.1/src/commands/operations/check.ts)_
|
||||
[src/commands/operations/check.ts](https://github.com/graphql-hive/platform/blob/v0.57.2/src/commands/operations/check.ts)_
|
||||
|
||||
## `hive schema:check FILE`
|
||||
|
||||
|
|
@ -350,7 +350,7 @@ DESCRIPTION
|
|||
```
|
||||
|
||||
_See code:
|
||||
[src/commands/schema/check.ts](https://github.com/graphql-hive/platform/blob/v0.57.1/src/commands/schema/check.ts)_
|
||||
[src/commands/schema/check.ts](https://github.com/graphql-hive/platform/blob/v0.57.2/src/commands/schema/check.ts)_
|
||||
|
||||
## `hive schema:delete SERVICE`
|
||||
|
||||
|
|
@ -382,7 +382,7 @@ DESCRIPTION
|
|||
```
|
||||
|
||||
_See code:
|
||||
[src/commands/schema/delete.ts](https://github.com/graphql-hive/platform/blob/v0.57.1/src/commands/schema/delete.ts)_
|
||||
[src/commands/schema/delete.ts](https://github.com/graphql-hive/platform/blob/v0.57.2/src/commands/schema/delete.ts)_
|
||||
|
||||
## `hive schema:fetch [COMMIT]`
|
||||
|
||||
|
|
@ -394,7 +394,7 @@ USAGE
|
|||
[--registry.accessToken <value>] [--type <value>] [--write <value>] [--outputFile <value>] [--target <value>]
|
||||
|
||||
ARGUMENTS
|
||||
COMMIT commit SHA, or it can be any external ID that references the schema
|
||||
[COMMIT] commit SHA, or it can be any external ID that references the schema
|
||||
|
||||
FLAGS
|
||||
--debug Whether debug output for HTTP calls and similar should be enabled.
|
||||
|
|
@ -415,7 +415,7 @@ DESCRIPTION
|
|||
```
|
||||
|
||||
_See code:
|
||||
[src/commands/schema/fetch.ts](https://github.com/graphql-hive/platform/blob/v0.57.1/src/commands/schema/fetch.ts)_
|
||||
[src/commands/schema/fetch.ts](https://github.com/graphql-hive/platform/blob/v0.57.2/src/commands/schema/fetch.ts)_
|
||||
|
||||
## `hive schema:publish FILE`
|
||||
|
||||
|
|
@ -459,7 +459,7 @@ DESCRIPTION
|
|||
```
|
||||
|
||||
_See code:
|
||||
[src/commands/schema/publish.ts](https://github.com/graphql-hive/platform/blob/v0.57.1/src/commands/schema/publish.ts)_
|
||||
[src/commands/schema/publish.ts](https://github.com/graphql-hive/platform/blob/v0.57.2/src/commands/schema/publish.ts)_
|
||||
|
||||
## `hive update [CHANNEL]`
|
||||
|
||||
|
|
@ -467,10 +467,11 @@ update the hive CLI
|
|||
|
||||
```
|
||||
USAGE
|
||||
$ hive update [CHANNEL] [-a] [--force] [-i | -v <value>]
|
||||
$ hive update [CHANNEL] [--force | | [-a | -v <value> | -i]] [-b ]
|
||||
|
||||
FLAGS
|
||||
-a, --available See available versions.
|
||||
-b, --verbose Show more details about the available versions.
|
||||
-i, --interactive Interactively select version to install. This is ignored if a channel is provided.
|
||||
-v, --version=<value> Install a specific version.
|
||||
--force Force a re-download of the requested version.
|
||||
|
|
@ -497,7 +498,7 @@ EXAMPLES
|
|||
```
|
||||
|
||||
_See code:
|
||||
[@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/v4.2.13/src/commands/update.ts)_
|
||||
[@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/v4.7.16/src/commands/update.ts)_
|
||||
|
||||
## `hive whoami`
|
||||
|
||||
|
|
@ -521,7 +522,7 @@ DESCRIPTION
|
|||
```
|
||||
|
||||
_See code:
|
||||
[src/commands/whoami.ts](https://github.com/graphql-hive/platform/blob/v0.57.1/src/commands/whoami.ts)_
|
||||
[src/commands/whoami.ts](https://github.com/graphql-hive/platform/blob/v0.57.2/src/commands/whoami.ts)_
|
||||
|
||||
<!-- commandsstop -->
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@graphql-hive/cli",
|
||||
"version": "0.57.1",
|
||||
"version": "0.57.2",
|
||||
"description": "A CLI util to manage and control your GraphQL Hive",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
|||
|
|
@ -152,7 +152,7 @@ using the link below
|
|||
<Tabs.Tab>
|
||||
|
||||
```sh
|
||||
curl -O https://raw.githubusercontent.com/graphql-hive/console/hive@8.14.1/docker/docker-compose.community.yml
|
||||
curl -O https://raw.githubusercontent.com/graphql-hive/console/hive@9.0.0/docker/docker-compose.community.yml
|
||||
```
|
||||
|
||||
</Tabs.Tab>
|
||||
|
|
@ -160,7 +160,7 @@ curl -O https://raw.githubusercontent.com/graphql-hive/console/hive@8.14.1/docke
|
|||
<Tabs.Tab>
|
||||
|
||||
```sh
|
||||
wget https://raw.githubusercontent.com/graphql-hive/console/hive@8.14.1/docker/docker-compose.community.yml
|
||||
wget https://raw.githubusercontent.com/graphql-hive/console/hive@9.0.0/docker/docker-compose.community.yml
|
||||
```
|
||||
|
||||
</Tabs.Tab>
|
||||
|
|
@ -179,7 +179,7 @@ We recommend sticking to a specific version to avoid breaking changes. The `late
|
|||
correspons to the latest stable release.
|
||||
|
||||
```sh
|
||||
export DOCKER_TAG=":8.14.1"
|
||||
export DOCKER_TAG=":9.0.0"
|
||||
```
|
||||
|
||||
After picking a version set the `DOCKER_TAG` environment variable to that value.
|
||||
|
|
@ -188,7 +188,7 @@ After picking a version set the `DOCKER_TAG` environment variable to that value.
|
|||
|
||||
```bash
|
||||
export DOCKER_REGISTRY="ghcr.io/graphql-hive/"
|
||||
export DOCKER_TAG=":8.14.1" # Pin this to an exact version
|
||||
export DOCKER_TAG=":9.0.0" # Pin this to an exact version
|
||||
export HIVE_ENCRYPTION_SECRET=$(openssl rand -hex 16)
|
||||
export HIVE_APP_BASE_URL="http://localhost:8080"
|
||||
export HIVE_EMAIL_FROM="no-reply@graphql-hive.com"
|
||||
|
|
|
|||
Loading…
Reference in a new issue