|
1 | 1 | # hive
|
2 | 2 |
|
| 3 | +## 5.0.0 |
| 4 | + |
| 5 | +### Major Changes |
| 6 | + |
| 7 | +- [#6231](https://github.com/graphql-hive/console/pull/6231) |
| 8 | + [`b7e4052`](https://github.com/graphql-hive/console/commit/b7e4052ecfd8f70fefe39c27886619a24faa7526) |
| 9 | + Thanks [@n1ru4l](https://github.com/n1ru4l)! - New permission system for organization member |
| 10 | + roles. |
| 11 | + |
| 12 | + The existing scopes assigned to organization members have been replaced with a permissions-based |
| 13 | + system, enabling more granular access control and role-based access control (RBAC) in Hive. |
| 14 | + |
| 15 | + **Breaking Changes** |
| 16 | + |
| 17 | + - **Viewer Role Adjustments** – Members with the default Viewer role can no longer create targets |
| 18 | + or projects. |
| 19 | + - **Restricted Role Management** – Permissions for inviting, removing, and assigning roles have |
| 20 | + been revoked. An admin must manually reassign these permissions where needed. |
| 21 | + - **Expanded Role Assignment** Capabilities – Members with permissions to manage invites, remove |
| 22 | + members, or modify roles can now grant additional permissions without restrictions. Caution is |
| 23 | + advised when assigning these rights, as they should be reserved for "Admin" roles. |
| 24 | + |
| 25 | + These changes enhance security and provide greater flexibility in managing user permissions across |
| 26 | + organizations. |
| 27 | + |
| 28 | +### Minor Changes |
| 29 | + |
| 30 | +- [#6378](https://github.com/graphql-hive/console/pull/6378) |
| 31 | + [`f14daa8`](https://github.com/graphql-hive/console/commit/f14daa89760149d6b1eb45d5351d73c4376b7418) |
| 32 | + Thanks [@jasonkuhrt](https://github.com/jasonkuhrt)! - You can now set HTTP headers in your |
| 33 | + [Laboratory Preflight Script](https://the-guild.dev/graphql/hive/docs/dashboard/laboratory/preflight-scripts). |
| 34 | + Every time you run a request from Laboratory, your preflight headers, if any, will be merged into |
| 35 | + the request before it is sent. |
| 36 | + |
| 37 | + You achieve this by interacting with the |
| 38 | + [`Headers`](https://developer.mozilla.org/docs/web/api/headers) instance newly available at |
| 39 | + `lab.request.headers`. For example, this script would would add a `foo` header with the value |
| 40 | + `bar` to every Laboratory request. |
| 41 | + |
| 42 | + ```ts |
| 43 | + lab.request.headers.set('foo', 'bar') |
| 44 | + ``` |
| 45 | + |
| 46 | + A few notes about how headers are merged: |
| 47 | + |
| 48 | + 1. Unlike static headers, preflight headers do not receive environment variable substitutions on |
| 49 | + their values. |
| 50 | + 2. Preflight headers take precedence, overwriting any same-named headers already in the Laboratory |
| 51 | + request. |
| 52 | + |
| 53 | + Documentation for this new feature is available at |
| 54 | + https://the-guild.dev/graphql/hive/docs/dashboard/laboratory/preflight-scripts#http-headers. |
| 55 | + |
| 56 | +- [#6123](https://github.com/graphql-hive/console/pull/6123) |
| 57 | + [`abfd1b1`](https://github.com/graphql-hive/console/commit/abfd1b1ea9b6850683f31c152516d9e0d97d94aa) |
| 58 | + Thanks [@Intellicode](https://github.com/Intellicode)! - encode postgres variables and introduce |
| 59 | + optional password |
| 60 | + |
| 61 | +- [#6412](https://github.com/graphql-hive/console/pull/6412) |
| 62 | + [`f352bba`](https://github.com/graphql-hive/console/commit/f352bbac977902120527fbea2afb0b0b7dd253fb) |
| 63 | + Thanks [@Intellicode](https://github.com/Intellicode)! - Added a new environment variable |
| 64 | + `PROMETHEUS_METRICS_PORT` to control the promethus port of the policy service. The default value |
| 65 | + is `10254` (no action needed). |
| 66 | + |
| 67 | +### Patch Changes |
| 68 | + |
| 69 | +- [#6398](https://github.com/graphql-hive/console/pull/6398) |
| 70 | + [`0e4be14`](https://github.com/graphql-hive/console/commit/0e4be14256937f492efcb4a7dc97b59918274a2a) |
| 71 | + Thanks [@kamilkisiela](https://github.com/kamilkisiela)! - Remove the db leftovers related to |
| 72 | + activities (no longer a thing) |
| 73 | + |
| 74 | +- [#6433](https://github.com/graphql-hive/console/pull/6433) |
| 75 | + [`a902d8b`](https://github.com/graphql-hive/console/commit/a902d8bb974c0ea707a17ff3d921a6cf13972ead) |
| 76 | + Thanks [@kamilkisiela](https://github.com/kamilkisiela)! - Improves validation for operation |
| 77 | + durations and error totals. Prevents processing of invalid usage report data. |
| 78 | + |
| 79 | +- [#6374](https://github.com/graphql-hive/console/pull/6374) |
| 80 | + [`393ece7`](https://github.com/graphql-hive/console/commit/393ece7eab93ed0b7873e4428f78a5c27cf764fa) |
| 81 | + Thanks [@kamilkisiela](https://github.com/kamilkisiela)! - Adjust the Kafka message size |
| 82 | + estimation only when Kafka gives back `MESSAGE_TOO_LARGE` error |
| 83 | + |
| 84 | +- [#6358](https://github.com/graphql-hive/console/pull/6358) |
| 85 | + [`ab06518`](https://github.com/graphql-hive/console/commit/ab065182d89e6d7e4c90469d0bcaadacfa4c3b1e) |
| 86 | + Thanks [@jdolle](https://github.com/jdolle)! - Use sum instead of max of top request counts for |
| 87 | + breaking changes calculation |
| 88 | + |
3 | 89 | ## 4.1.0
|
4 | 90 |
|
5 | 91 | ### Minor Changes
|
|
0 commit comments