diff --git a/.changeset/dry-news-join.md b/.changeset/dry-news-join.md deleted file mode 100644 index f3d9083fe6..0000000000 --- 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 d06941a545..0000000000 --- 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/healthy-flies-wink.md b/.changeset/healthy-flies-wink.md deleted file mode 100644 index a55a69fd1e..0000000000 --- a/.changeset/healthy-flies-wink.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'hive': patch ---- - -Improves validation for operation durations and error totals. Prevents processing of invalid usage report data. diff --git a/.changeset/ka-f-ka.md b/.changeset/ka-f-ka.md deleted file mode 100644 index 2d3fc72fcd..0000000000 --- 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 1c95a91e0b..0000000000 --- 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 3b3cfe724b..0000000000 --- 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 1c8af6e570..0000000000 --- a/.changeset/tall-islands-occur.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -'hive': major ---- - -New permission system for organization member roles. - -The existing scopes assigned to organization members have been replaced with a permissions-based -system, enabling more granular access control and role-based access control (RBAC) in Hive. - -**Breaking Changes** - -- **Viewer Role Adjustments** – Members with the default Viewer role can no longer create targets or - projects. -- **Restricted Role Management** – Permissions for inviting, removing, and assigning roles have been - revoked. An admin must manually reassign these permissions where needed. -- **Expanded Role Assignment** Capabilities – Members with permissions to manage invites, remove - members, or modify roles can now grant additional permissions without restrictions. Caution is - advised when assigning these rights, as they should be reserved for "Admin" roles. - -These changes enhance security and provide greater flexibility in managing user permissions across -organizations. diff --git a/.changeset/three-random-words.md b/.changeset/three-random-words.md deleted file mode 100644 index 562c34dc3a..0000000000 --- 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 b77d8e48b3..1827178e04 100644 --- a/deployment/CHANGELOG.md +++ b/deployment/CHANGELOG.md @@ -1,5 +1,91 @@ # 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)! - New permission system for organization member + roles. + + The existing scopes assigned to organization members have been replaced with a permissions-based + system, enabling more granular access control and role-based access control (RBAC) in Hive. + + **Breaking Changes** + + - **Viewer Role Adjustments** – Members with the default Viewer role can no longer create targets + or projects. + - **Restricted Role Management** – Permissions for inviting, removing, and assigning roles have + been revoked. An admin must manually reassign these permissions where needed. + - **Expanded Role Assignment** Capabilities – Members with permissions to manage invites, remove + members, or modify roles can now grant additional permissions without restrictions. Caution is + advised when assigning these rights, as they should be reserved for "Admin" roles. + + These changes enhance security and provide greater flexibility in managing user permissions across + organizations. + +### 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) + +- [#6433](https://github.com/graphql-hive/console/pull/6433) + [`a902d8b`](https://github.com/graphql-hive/console/commit/a902d8bb974c0ea707a17ff3d921a6cf13972ead) + Thanks [@kamilkisiela](https://github.com/kamilkisiela)! - Improves validation for operation + durations and error totals. Prevents processing of invalid usage report data. + +- [#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 23c46964cc..e3f2f66c36 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 185eb6c1eb..c30bb18ecb 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 1ab1102661..08c8c5319b 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 0cf0f0cd9b..ae1f09acbf 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 700c1a5fda..1a6d50bd91 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';