diff --git a/.changeset/image-apk-upgrade.md b/.changeset/image-apk-upgrade.md deleted file mode 100644 index e167f5b6c2..0000000000 --- a/.changeset/image-apk-upgrade.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@hyperdx/api': patch -'@hyperdx/app': patch ---- - -fix: run `apk upgrade` in the HyperDX image so it picks up Alpine security fixes -(OpenSSL, zlib) released after the Node and ClickHouse base images were built, -and bump Node from 22.23.4 to 22.23.5 in the image and `.nvmrc`. diff --git a/.changeset/ingestion-key-enforce-before-team.md b/.changeset/ingestion-key-enforce-before-team.md deleted file mode 100644 index 2204816c21..0000000000 --- a/.changeset/ingestion-key-enforce-before-team.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@hyperdx/api': patch ---- - -fix: require `INGESTION_API_KEY` on the app image before any team exists - -With `ENABLE_INGESTION_API_KEY` set and no team created yet, the collector's OTLP -receiver accepted data without authentication. It now requires the preset key. diff --git a/.changeset/login-rate-limit.md b/.changeset/login-rate-limit.md deleted file mode 100644 index 3c1091bf3a..0000000000 --- a/.changeset/login-rate-limit.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@hyperdx/api': patch -'@hyperdx/app': patch ---- - -fix: limit failed password logins to 10 per email every 2 minutes diff --git a/.changeset/metric-names-source-query-settings.md b/.changeset/metric-names-source-query-settings.md deleted file mode 100644 index c2a0c7b9f8..0000000000 --- a/.changeset/metric-names-source-query-settings.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@hyperdx/common-utils': patch -'@hyperdx/app': patch ---- - -fix: apply source query settings to metric explorer, metric name, attribute, and Kubernetes facet lookups diff --git a/.changeset/table-sort-aliased-columns.md b/.changeset/table-sort-aliased-columns.md deleted file mode 100644 index a1fe86b935..0000000000 --- a/.changeset/table-sort-aliased-columns.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@hyperdx/app': patch -'@hyperdx/common-utils': patch ---- - -fix: Fix table sorting for formula, group by, and multi-series metric aliases diff --git a/.changeset/webhook-default-user-agent.md b/.changeset/webhook-default-user-agent.md deleted file mode 100644 index 331b7c1ad0..0000000000 --- a/.changeset/webhook-default-user-agent.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@hyperdx/api': patch ---- - -fix: send a ClickStack User-Agent on generic alert webhooks - -Generic and incident.io alert webhooks sent `User-Agent: undici`, which some -receivers' firewalls block with a 403. They now send -`ClickStack-Alerts/`. A User-Agent set in the webhook's headers still -takes precedence. diff --git a/.changeset/zod-4-package-v3-api.md b/.changeset/zod-4-package-v3-api.md deleted file mode 100644 index 6a0390d861..0000000000 --- a/.changeset/zod-4-package-v3-api.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@hyperdx/api': patch -'@hyperdx/app': patch -'@hyperdx/common-utils': patch ---- - -chore: move to the zod 4 package (^4.6.6) while keeping the zod 3 API through -`zod/v3` imports. Schemas and validation behavior are unchanged. diff --git a/.env b/.env index c03b05aa62..7997f78df1 100644 --- a/.env +++ b/.env @@ -9,8 +9,8 @@ NEXT_ALL_IN_ONE_IMAGE_NAME_DOCKERHUB=clickhouse/clickstack-all-in-one ALL_IN_ONE_IMAGE_NAME_DOCKERHUB=hyperdx/hyperdx-all-in-one NEXT_OTEL_COLLECTOR_IMAGE_NAME_DOCKERHUB=clickhouse/clickstack-otel-collector OTEL_COLLECTOR_IMAGE_NAME_DOCKERHUB=hyperdx/hyperdx-otel-collector -CODE_VERSION=2.47.0 -IMAGE_VERSION_SUB_TAG=.47.0 +CODE_VERSION=2.47.1 +IMAGE_VERSION_SUB_TAG=.47.1 IMAGE_VERSION=2 IMAGE_NIGHTLY_TAG=2-nightly IMAGE_LATEST_TAG=latest diff --git a/CHANGELOG.md b/CHANGELOG.md index a3bc9fe642..f0e327f01f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,65 @@ PR — keep the `hyperdx-release-notes` comment marker intact when editing so yo edits survive regeneration. Per-package detail lives in each `packages/*/CHANGELOG.md`. +## v2.47.1 — 2026-11-23 + + + +**Ingestion key required before a team exists** + +This patch closes an authentication gap in the preset ingestion API key added in +v2.47.0. If you set `ENABLE_INGESTION_API_KEY` on a deployment where no team had +been created yet, the collector's OTLP receiver accepted telemetry without any +authentication at all; it now requires the key you configured, team or no team. +Upgrade if you run the app image with that variable set. Failed password logins +are also now limited to 10 per email every two minutes, alert webhooks identify +themselves as `ClickStack-Alerts`, so receivers that blocked the old default +User-Agent will start accepting them, and table charts sort correctly on +formula, group-by and multi-series metric aliases. The image itself picks up the +latest Alpine security fixes and Node 22.23.5. + +### 🐛 Bug Fixes + +- **The preset ingestion key is enforced before a team exists**: with + `ENABLE_INGESTION_API_KEY` set and no team created yet, the app image's OTLP + receiver accepted data without authentication, so anyone who could reach the + endpoint on a fresh deployment could write to it. The receiver now requires the + `INGESTION_API_KEY` you set, so a collector pointed at a brand-new deployment + has to present that key. +- **Failed password logins are rate-limited**: an email address can now make at + most 10 failed password login attempts every two minutes, so a password is no + longer open to being guessed at full speed. +- **Alert webhooks send a ClickStack User-Agent**: generic and incident.io alert + webhooks went out as `User-Agent: undici`, which some receivers' firewalls + reject with a 403. They now send `ClickStack-Alerts/`, and a + User-Agent you set in the webhook's own headers still takes precedence. +- **Table charts sort on formula, group-by and multi-series aliases**: clicking + one of those columns in a table chart did not sort by it, because the aliased + column was not matched to the underlying series. Sorting now follows the column + you clicked. +- **Source query settings apply to metric and facet lookups**: the metric + explorer, and the metric name, attribute and Kubernetes facet lookups behind + it, ran without the query settings configured on the source. They now use + them, so those lists behave like the rest of your queries against that source. + +### 📦 Build / Packaging + +- **Alpine security fixes in the HyperDX image**: the image now runs + `apk upgrade` as it is built, so it carries the Alpine security fixes — OpenSSL + and zlib among them — released after the Node and ClickHouse base images were + built. Node also moves from 22.23.4 to 22.23.5 in the image and in `.nvmrc`. + + + +### 📦 Package changelogs + +- `@hyperdx/api` 2.47.0 → 2.47.1 — [changelog](https://github.com/ClickHouse/ClickStack/blob/main/packages/api/CHANGELOG.md#2471) +- `@hyperdx/app` 2.47.0 → 2.47.1 — [changelog](https://github.com/ClickHouse/ClickStack/blob/main/packages/app/CHANGELOG.md#2471) +- `@hyperdx/common-utils` 0.36.1 → 0.36.2 — [changelog](https://github.com/ClickHouse/ClickStack/blob/main/packages/common-utils/CHANGELOG.md#0362) +- `@hyperdx/otel-collector` 2.47.0 → 2.47.1 — [changelog](https://github.com/ClickHouse/ClickStack/blob/main/packages/otel-collector/CHANGELOG.md#2471) + + + ## v2.47.0 — 2026-11-23 diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index 03ac7d76be..721d2c8fb8 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -1,5 +1,32 @@ # @hyperdx/api +## 2.47.1 + +### Patch Changes + +- 5bd07d54b: fix: run `apk upgrade` in the HyperDX image so it picks up Alpine security fixes + (OpenSSL, zlib) released after the Node and ClickHouse base images were built, + and bump Node from 22.23.4 to 22.23.5 in the image and `.nvmrc`. +- c499769a3: fix: require `INGESTION_API_KEY` on the app image before any team exists + + With `ENABLE_INGESTION_API_KEY` set and no team created yet, the collector's OTLP + receiver accepted data without authentication. It now requires the preset key. + +- e4fe80a6d: fix: limit failed password logins to 10 per email every 2 minutes +- 272a46101: fix: send a ClickStack User-Agent on generic alert webhooks + + Generic and incident.io alert webhooks sent `User-Agent: undici`, which some + receivers' firewalls block with a 403. They now send + `ClickStack-Alerts/`. A User-Agent set in the webhook's headers still + takes precedence. + +- 210f3e2c4: chore: move to the zod 4 package (^4.6.6) while keeping the zod 3 API through + `zod/v3` imports. Schemas and validation behavior are unchanged. +- Updated dependencies [b51ddb9d5] +- Updated dependencies [c3928c77d] +- Updated dependencies [210f3e2c4] + - @hyperdx/common-utils@0.36.2 + ## 2.47.0 ### Minor Changes diff --git a/packages/api/package.json b/packages/api/package.json index 475618b7e2..ad3ce33b60 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@hyperdx/api", - "version": "2.47.0", + "version": "2.47.1", "license": "MIT", "private": true, "engines": { @@ -23,7 +23,7 @@ "@clickhouse/clickstack-node": "^1.0.2", "@clickhouse/client-common": "1.23.0-head.fae5998.1", "@esm2cjs/p-queue": "^7.3.0", - "@hyperdx/common-utils": "^0.36.1", + "@hyperdx/common-utils": "^0.36.2", "@hyperdx/passport-local-mongoose": "^9.0.1", "@modelcontextprotocol/sdk": "^1.32.0", "@opentelemetry/api": "~1.9.1", diff --git a/packages/app/CHANGELOG.md b/packages/app/CHANGELOG.md index 47d0a2ea81..074345480b 100644 --- a/packages/app/CHANGELOG.md +++ b/packages/app/CHANGELOG.md @@ -1,5 +1,27 @@ # @hyperdx/app +## 2.47.1 + +### Patch Changes + +- 5bd07d54b: fix: run `apk upgrade` in the HyperDX image so it picks up Alpine security fixes + (OpenSSL, zlib) released after the Node and ClickHouse base images were built, + and bump Node from 22.23.4 to 22.23.5 in the image and `.nvmrc`. +- e4fe80a6d: fix: limit failed password logins to 10 per email every 2 minutes +- b51ddb9d5: fix: apply source query settings to metric explorer, metric name, attribute, and Kubernetes facet lookups +- c3928c77d: fix: Fix table sorting for formula, group by, and multi-series metric aliases +- 210f3e2c4: chore: move to the zod 4 package (^4.6.6) while keeping the zod 3 API through + `zod/v3` imports. Schemas and validation behavior are unchanged. +- Updated dependencies [5bd07d54b] +- Updated dependencies [c499769a3] +- Updated dependencies [e4fe80a6d] +- Updated dependencies [b51ddb9d5] +- Updated dependencies [c3928c77d] +- Updated dependencies [272a46101] +- Updated dependencies [210f3e2c4] + - @hyperdx/api@2.47.1 + - @hyperdx/common-utils@0.36.2 + ## 2.47.0 ### Minor Changes diff --git a/packages/app/package.json b/packages/app/package.json index 6a4c5de752..3058fac6dd 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -1,6 +1,6 @@ { "name": "@hyperdx/app", - "version": "2.47.0", + "version": "2.47.1", "private": true, "license": "MIT", "engines": { @@ -40,7 +40,7 @@ "@dnd-kit/utilities": "^3.2.2", "@hookform/resolvers": "patch:@hookform/resolvers@npm%3A3.9.0#~/.yarn/patches/@hookform-resolvers-npm-3.9.0-6238a72f77.patch", "@hyperdx/api": "workspace:*", - "@hyperdx/common-utils": "^0.36.1", + "@hyperdx/common-utils": "^0.36.2", "@mantine/core": "^9.0.0", "@mantine/dates": "^9.0.0", "@mantine/dropzone": "^9.0.0", diff --git a/packages/common-utils/CHANGELOG.md b/packages/common-utils/CHANGELOG.md index 8829505b6b..8cb9576bc8 100644 --- a/packages/common-utils/CHANGELOG.md +++ b/packages/common-utils/CHANGELOG.md @@ -1,5 +1,14 @@ # @hyperdx/common-utils +## 0.36.2 + +### Patch Changes + +- b51ddb9d5: fix: apply source query settings to metric explorer, metric name, attribute, and Kubernetes facet lookups +- c3928c77d: fix: Fix table sorting for formula, group by, and multi-series metric aliases +- 210f3e2c4: chore: move to the zod 4 package (^4.6.6) while keeping the zod 3 API through + `zod/v3` imports. Schemas and validation behavior are unchanged. + ## 0.36.1 ### Patch Changes diff --git a/packages/common-utils/package.json b/packages/common-utils/package.json index b6e7945cff..baf727761b 100644 --- a/packages/common-utils/package.json +++ b/packages/common-utils/package.json @@ -1,7 +1,7 @@ { "name": "@hyperdx/common-utils", "description": "Common utilities for HyperDX application", - "version": "0.36.1", + "version": "0.36.2", "license": "MIT", "private": true, "files": [ diff --git a/packages/otel-collector/CHANGELOG.md b/packages/otel-collector/CHANGELOG.md index 95bbf5096d..431327f66c 100644 --- a/packages/otel-collector/CHANGELOG.md +++ b/packages/otel-collector/CHANGELOG.md @@ -1,5 +1,7 @@ # @hyperdx/otel-collector +## 2.47.1 + ## 2.47.0 ### Patch Changes diff --git a/packages/otel-collector/package.json b/packages/otel-collector/package.json index 8803d84487..a9b988ef93 100644 --- a/packages/otel-collector/package.json +++ b/packages/otel-collector/package.json @@ -1,7 +1,7 @@ { "name": "@hyperdx/otel-collector", "description": "HyperDX OpenTelemetry Collector configuration and Docker image", - "version": "2.47.0", + "version": "2.47.1", "license": "MIT", "private": true } diff --git a/yarn.lock b/yarn.lock index 3f4d04cfef..eeae12391c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4103,7 +4103,7 @@ __metadata: "@clickhouse/clickstack-node": "npm:^1.0.2" "@clickhouse/client-common": "npm:1.23.0-head.fae5998.1" "@esm2cjs/p-queue": "npm:^7.3.0" - "@hyperdx/common-utils": "npm:^0.36.1" + "@hyperdx/common-utils": "npm:^0.36.2" "@hyperdx/passport-local-mongoose": "npm:^9.0.1" "@modelcontextprotocol/sdk": "npm:^1.32.0" "@opentelemetry/api": "npm:~1.9.1" @@ -4199,7 +4199,7 @@ __metadata: "@dnd-kit/utilities": "npm:^3.2.2" "@hookform/resolvers": "patch:@hookform/resolvers@npm%3A3.9.0#~/.yarn/patches/@hookform-resolvers-npm-3.9.0-6238a72f77.patch" "@hyperdx/api": "workspace:*" - "@hyperdx/common-utils": "npm:^0.36.1" + "@hyperdx/common-utils": "npm:^0.36.2" "@mantine/core": "npm:^9.0.0" "@mantine/dates": "npm:^9.0.0" "@mantine/dropzone": "npm:^9.0.0" @@ -4346,7 +4346,7 @@ __metadata: languageName: unknown linkType: soft -"@hyperdx/common-utils@npm:^0.36.1, @hyperdx/common-utils@workspace:packages/common-utils": +"@hyperdx/common-utils@npm:^0.36.1, @hyperdx/common-utils@npm:^0.36.2, @hyperdx/common-utils@workspace:packages/common-utils": version: 0.0.0-use.local resolution: "@hyperdx/common-utils@workspace:packages/common-utils" dependencies: