diff --git a/.changeset/hungry-files-sneeze.md b/.changeset/hungry-files-sneeze.md deleted file mode 100644 index 58ee240073..0000000000 --- a/.changeset/hungry-files-sneeze.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'hive': minor ---- - -Modify GraphQL fields used by CLI to accept an optional specified target that is used for -identifying the affected target instead of resolving the target from the access token. diff --git a/.changeset/small-readers-melt.md b/.changeset/small-readers-melt.md deleted file mode 100644 index fe82052f2a..0000000000 --- a/.changeset/small-readers-melt.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'hive': patch ---- - -Improve the usage reporting endpoint error responses to include all the errors for invalid JSON -bodies. diff --git a/.changeset/tall-lies-raise.md b/.changeset/tall-lies-raise.md deleted file mode 100644 index 478cda3e3f..0000000000 --- a/.changeset/tall-lies-raise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'hive': patch ---- - -A minor defect in Laboratory has been fixed that previously caused the application to crash when local storage was in a particular state. diff --git a/.changeset/three-stingrays-do.md b/.changeset/three-stingrays-do.md deleted file mode 100644 index d7c6542623..0000000000 --- a/.changeset/three-stingrays-do.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@graphql-hive/yoga': patch ---- - -Correctly extract client information when using the response cache plugin. - -The client information was not reported for GraphQL responses served from the response cache plugin. diff --git a/.changeset/wet-eggs-rule.md b/.changeset/wet-eggs-rule.md deleted file mode 100644 index 707c511b0c..0000000000 --- a/.changeset/wet-eggs-rule.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -'@graphql-hive/cli': minor ---- - -Add `--target` flag for commands `app:create`, `app:publish`, `operations:check`, `schema:check`, -`schema:delete`, `schema:fetch`, `schema:publish` and `dev`. - -The `--target` flag can be used to specify the target on which the operation should be performed. -Either a slug or ID of the target can be provided. - -A provided slug must follow the format `$organizationSlug/$projectSlug/$targetSlug` (e.g. -`the-guild/graphql-hive/staging`). - -**Example using target slug** - -```bash -hive schema:publish --target the-guild/graphql-hive/production ./my-schema.graphql -``` - -A target id, must be a valid target UUID. - -**Example using target id** - -```bash -hive schema:publish --target a0f4c605-6541-4350-8cfe-b31f21a4bf80 ./my-schema.graphql -``` - -**Note:** We encourage starting to use the `--target` flag today. In the future the flag will become -mandatory as we are moving to a more flexible approach of access tokens that can be granted access -to multiple targets. diff --git a/deployment/CHANGELOG.md b/deployment/CHANGELOG.md index 1827178e04..2e8f6764c1 100644 --- a/deployment/CHANGELOG.md +++ b/deployment/CHANGELOG.md @@ -1,5 +1,27 @@ # hive +## 5.1.0 + +### Minor Changes + +- [#6449](https://github.com/graphql-hive/console/pull/6449) + [`0504530`](https://github.com/graphql-hive/console/commit/05045306b789e97ec39cbd2c8ee2b4f1b721dc9e) + Thanks [@n1ru4l](https://github.com/n1ru4l)! - Modify GraphQL fields used by CLI to accept an + optional specified target that is used for identifying the affected target instead of resolving + the target from the access token. + +### Patch Changes + +- [#6472](https://github.com/graphql-hive/console/pull/6472) + [`4d3d6fc`](https://github.com/graphql-hive/console/commit/4d3d6fcdc2d7f65e6366fd76a058c3f687c4da4c) + Thanks [@n1ru4l](https://github.com/n1ru4l)! - Improve the usage reporting endpoint error + responses to include all the errors for invalid JSON bodies. + +- [#6455](https://github.com/graphql-hive/console/pull/6455) + [`6924a1a`](https://github.com/graphql-hive/console/commit/6924a1abf91c1c663d752949031e0a5c4078392a) + Thanks [@jasonkuhrt](https://github.com/jasonkuhrt)! - A minor defect in Laboratory has been fixed + that previously caused the application to crash when local storage was in a particular state. + ## 5.0.0 ### Major Changes diff --git a/deployment/package.json b/deployment/package.json index e3f2f66c36..6da889cd6e 100644 --- a/deployment/package.json +++ b/deployment/package.json @@ -1,6 +1,6 @@ { "name": "hive", - "version": "5.0.0", + "version": "5.1.0", "private": true, "scripts": { "generate": "tsx generate.ts", diff --git a/packages/libraries/cli/CHANGELOG.md b/packages/libraries/cli/CHANGELOG.md index 1aaf8ed1da..ddd10d013f 100644 --- a/packages/libraries/cli/CHANGELOG.md +++ b/packages/libraries/cli/CHANGELOG.md @@ -1,5 +1,39 @@ # @graphql-hive/cli +## 0.47.0 + +### Minor Changes + +- [#6449](https://github.com/graphql-hive/console/pull/6449) + [`0504530`](https://github.com/graphql-hive/console/commit/05045306b789e97ec39cbd2c8ee2b4f1b721dc9e) + Thanks [@n1ru4l](https://github.com/n1ru4l)! - Add `--target` flag for commands `app:create`, + `app:publish`, `operations:check`, `schema:check`, `schema:delete`, `schema:fetch`, + `schema:publish` and `dev`. + + The `--target` flag can be used to specify the target on which the operation should be performed. + Either a slug or ID of the target can be provided. + + A provided slug must follow the format `$organizationSlug/$projectSlug/$targetSlug` (e.g. + `the-guild/graphql-hive/staging`). + + **Example using target slug** + + ```bash + hive schema:publish --target the-guild/graphql-hive/production ./my-schema.graphql + ``` + + A target id, must be a valid target UUID. + + **Example using target id** + + ```bash + hive schema:publish --target a0f4c605-6541-4350-8cfe-b31f21a4bf80 ./my-schema.graphql + ``` + + **Note:** We encourage starting to use the `--target` flag today. In the future the flag will + become mandatory as we are moving to a more flexible approach of access tokens that can be granted + access to multiple targets. + ## 0.46.1 ### Patch Changes diff --git a/packages/libraries/cli/package.json b/packages/libraries/cli/package.json index a8c9ee5525..7197e1e13b 100644 --- a/packages/libraries/cli/package.json +++ b/packages/libraries/cli/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-hive/cli", - "version": "0.46.1", + "version": "0.47.0", "description": "A CLI util to manage and control your GraphQL Hive", "repository": { "type": "git", diff --git a/packages/libraries/yoga/CHANGELOG.md b/packages/libraries/yoga/CHANGELOG.md index 1c4f2d743a..60c262b432 100644 --- a/packages/libraries/yoga/CHANGELOG.md +++ b/packages/libraries/yoga/CHANGELOG.md @@ -1,5 +1,17 @@ # @graphql-hive/yoga +## 0.39.4 + +### Patch Changes + +- [#6473](https://github.com/graphql-hive/console/pull/6473) + [`bba81de`](https://github.com/graphql-hive/console/commit/bba81def2962ddcda5dcec389f70dca1356f2815) + Thanks [@n1ru4l](https://github.com/n1ru4l)! - Correctly extract client information when using the + response cache plugin. + + The client information was not reported for GraphQL responses served from the response cache + plugin. + ## 0.39.3 ### Patch Changes diff --git a/packages/libraries/yoga/package.json b/packages/libraries/yoga/package.json index 290baf8baf..3ece703a52 100644 --- a/packages/libraries/yoga/package.json +++ b/packages/libraries/yoga/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-hive/yoga", - "version": "0.39.3", + "version": "0.39.4", "type": "module", "description": "GraphQL Hive + GraphQL Yoga", "repository": { diff --git a/packages/libraries/yoga/src/version.ts b/packages/libraries/yoga/src/version.ts index 1a6d50bd91..da80de37a2 100644 --- a/packages/libraries/yoga/src/version.ts +++ b/packages/libraries/yoga/src/version.ts @@ -1 +1 @@ -export const version = '0.39.3'; +export const version = '0.39.4';