diff --git a/.changeset/dry-news-join.md b/.changeset/dry-news-join.md deleted file mode 100644 index f3d9083fe62..00000000000 --- a/.changeset/dry-news-join.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'hive': patch ---- - -Remove the db leftovers related to activities (no longer a thing) diff --git a/.changeset/empty-rockets-smell.md b/.changeset/empty-rockets-smell.md deleted file mode 100644 index d06941a5458..00000000000 --- a/.changeset/empty-rockets-smell.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -'hive': minor ---- - -You can now set HTTP headers in your [Laboratory Preflight Script](https://the-guild.dev/graphql/hive/docs/dashboard/laboratory/preflight-scripts). Every time you run a request from Laboratory, your preflight headers, if any, will be merged into the request before it is sent. - -You achieve this by interacting with the [`Headers`](https://developer.mozilla.org/docs/web/api/headers) instance newly available at `lab.request.headers`. For example, this script would would add a `foo` header with the value `bar` to every Laboratory request. - -```ts -lab.request.headers.set('foo', 'bar') -``` - -A few notes about how headers are merged: - -1. Unlike static headers, preflight headers do not receive environment variable substitutions on their values. -2. Preflight headers take precedence, overwriting any same-named headers already in the Laboratory request. - -Documentation for this new feature is available at https://the-guild.dev/graphql/hive/docs/dashboard/laboratory/preflight-scripts#http-headers. diff --git a/.changeset/ka-f-ka.md b/.changeset/ka-f-ka.md deleted file mode 100644 index 2d3fc72fcd5..00000000000 --- a/.changeset/ka-f-ka.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'hive': patch ---- - -Adjust the Kafka message size estimation only when Kafka gives back `MESSAGE_TOO_LARGE` error diff --git a/.changeset/nine-meals-raise.md b/.changeset/nine-meals-raise.md deleted file mode 100644 index 1c95a91e0be..00000000000 --- a/.changeset/nine-meals-raise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'hive': patch ---- - -Use sum instead of max of top request counts for breaking changes calculation diff --git a/.changeset/rare-paws-boil.md b/.changeset/rare-paws-boil.md deleted file mode 100644 index 3b3cfe724ba..00000000000 --- a/.changeset/rare-paws-boil.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'hive': minor ---- - -encode postgres variables and introduce optional password diff --git a/.changeset/tall-islands-occur.md b/.changeset/tall-islands-occur.md deleted file mode 100644 index d0ab6dd71e6..00000000000 --- a/.changeset/tall-islands-occur.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -'hive': major ---- - -Introduce new permission system for organization member roles. - -The existing scopes assigned to organization member users are now replaced with permissions. -Using the permissions allows more granular access control to features in Hive. - -This introduces the following breaking changes: - -- Organization members with the default `Viewer` role, will experience downgraded permissions. They will no longer be able to create targets or projects. -- Organization member roles permissions for inviting, removing or assigning roles have been revoked. A organization admin will have to re-apply the permissions to the desired member roles. -- Organization members with permissions for managing invites, removing members, assigning roles or modifying roles are no longer restrained in granting more rights to other users. Please be aware when granting these permissions to a user role. We recommend only assigning these to member roles that are considered "Admin" user roles. - -A future update will introduce resource based access control (based on project, target, service or app deployments) for organization members. diff --git a/.changeset/three-random-words.md b/.changeset/three-random-words.md deleted file mode 100644 index 562c34dc3a2..00000000000 --- a/.changeset/three-random-words.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'hive': minor ---- - -Added a new environment variable `PROMETHEUS_METRICS_PORT` to control the promethus port of the policy service. The default value is `10254` (no action needed). diff --git a/deployment/CHANGELOG.md b/deployment/CHANGELOG.md index b77d8e48b37..d90e8a2a86a 100644 --- a/deployment/CHANGELOG.md +++ b/deployment/CHANGELOG.md @@ -1,5 +1,87 @@ # hive +## 5.0.0 + +### Major Changes + +- [#6231](https://github.com/graphql-hive/console/pull/6231) + [`b7e4052`](https://github.com/graphql-hive/console/commit/b7e4052ecfd8f70fefe39c27886619a24faa7526) + Thanks [@n1ru4l](https://github.com/n1ru4l)! - Introduce new permission system for organization + member roles. + + The existing scopes assigned to organization member users are now replaced with permissions. Using + the permissions allows more granular access control to features in Hive. + + This introduces the following breaking changes: + + - Organization members with the default `Viewer` role, will experience downgraded permissions. + They will no longer be able to create targets or projects. + - Organization member roles permissions for inviting, removing or assigning roles have been + revoked. A organization admin will have to re-apply the permissions to the desired member roles. + - Organization members with permissions for managing invites, removing members, assigning roles or + modifying roles are no longer restrained in granting more rights to other users. Please be aware + when granting these permissions to a user role. We recommend only assigning these to member + roles that are considered "Admin" user roles. + + A future update will introduce resource based access control (based on project, target, service or + app deployments) for organization members. + +### Minor Changes + +- [#6378](https://github.com/graphql-hive/console/pull/6378) + [`f14daa8`](https://github.com/graphql-hive/console/commit/f14daa89760149d6b1eb45d5351d73c4376b7418) + Thanks [@jasonkuhrt](https://github.com/jasonkuhrt)! - You can now set HTTP headers in your + [Laboratory Preflight Script](https://the-guild.dev/graphql/hive/docs/dashboard/laboratory/preflight-scripts). + Every time you run a request from Laboratory, your preflight headers, if any, will be merged into + the request before it is sent. + + You achieve this by interacting with the + [`Headers`](https://developer.mozilla.org/docs/web/api/headers) instance newly available at + `lab.request.headers`. For example, this script would would add a `foo` header with the value + `bar` to every Laboratory request. + + ```ts + lab.request.headers.set('foo', 'bar') + ``` + + A few notes about how headers are merged: + + 1. Unlike static headers, preflight headers do not receive environment variable substitutions on + their values. + 2. Preflight headers take precedence, overwriting any same-named headers already in the Laboratory + request. + + Documentation for this new feature is available at + https://the-guild.dev/graphql/hive/docs/dashboard/laboratory/preflight-scripts#http-headers. + +- [#6123](https://github.com/graphql-hive/console/pull/6123) + [`abfd1b1`](https://github.com/graphql-hive/console/commit/abfd1b1ea9b6850683f31c152516d9e0d97d94aa) + Thanks [@Intellicode](https://github.com/Intellicode)! - encode postgres variables and introduce + optional password + +- [#6412](https://github.com/graphql-hive/console/pull/6412) + [`f352bba`](https://github.com/graphql-hive/console/commit/f352bbac977902120527fbea2afb0b0b7dd253fb) + Thanks [@Intellicode](https://github.com/Intellicode)! - Added a new environment variable + `PROMETHEUS_METRICS_PORT` to control the promethus port of the policy service. The default value + is `10254` (no action needed). + +### Patch Changes + +- [#6398](https://github.com/graphql-hive/console/pull/6398) + [`0e4be14`](https://github.com/graphql-hive/console/commit/0e4be14256937f492efcb4a7dc97b59918274a2a) + Thanks [@kamilkisiela](https://github.com/kamilkisiela)! - Remove the db leftovers related to + activities (no longer a thing) + +- [#6374](https://github.com/graphql-hive/console/pull/6374) + [`393ece7`](https://github.com/graphql-hive/console/commit/393ece7eab93ed0b7873e4428f78a5c27cf764fa) + Thanks [@kamilkisiela](https://github.com/kamilkisiela)! - Adjust the Kafka message size + estimation only when Kafka gives back `MESSAGE_TOO_LARGE` error + +- [#6358](https://github.com/graphql-hive/console/pull/6358) + [`ab06518`](https://github.com/graphql-hive/console/commit/ab065182d89e6d7e4c90469d0bcaadacfa4c3b1e) + Thanks [@jdolle](https://github.com/jdolle)! - Use sum instead of max of top request counts for + breaking changes calculation + ## 4.1.0 ### Minor Changes diff --git a/deployment/package.json b/deployment/package.json index 23c46964cc5..e3f2f66c36f 100644 --- a/deployment/package.json +++ b/deployment/package.json @@ -1,6 +1,6 @@ { "name": "hive", - "version": "4.1.0", + "version": "5.0.0", "private": true, "scripts": { "generate": "tsx generate.ts", diff --git a/packages/libraries/apollo/src/version.ts b/packages/libraries/apollo/src/version.ts index 185eb6c1eb5..c30bb18ecb7 100644 --- a/packages/libraries/apollo/src/version.ts +++ b/packages/libraries/apollo/src/version.ts @@ -1 +1 @@ -export const version = '0.36.4'; +export const version = '0.36.5'; diff --git a/packages/libraries/core/src/version.ts b/packages/libraries/core/src/version.ts index 1ab1102661b..08c8c5319b5 100644 --- a/packages/libraries/core/src/version.ts +++ b/packages/libraries/core/src/version.ts @@ -1 +1 @@ -export const version = '0.8.3'; +export const version = '0.8.4'; diff --git a/packages/libraries/envelop/src/version.ts b/packages/libraries/envelop/src/version.ts index 0cf0f0cd9b8..ae1f09acbf8 100644 --- a/packages/libraries/envelop/src/version.ts +++ b/packages/libraries/envelop/src/version.ts @@ -1 +1 @@ -export const version = '0.33.12'; +export const version = '0.33.13'; diff --git a/packages/libraries/yoga/src/version.ts b/packages/libraries/yoga/src/version.ts index 700c1a5fda6..1a6d50bd915 100644 --- a/packages/libraries/yoga/src/version.ts +++ b/packages/libraries/yoga/src/version.ts @@ -1 +1 @@ -export const version = '0.39.2'; +export const version = '0.39.3';