diff --git a/.changeset/pre.json b/.changeset/pre.json index 7c2e7e73a..feb33a151 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -10,16 +10,21 @@ "big-rules-think", "breezy-humans-crash", "breezy-ligers-divide", + "clean-dingos-divide", "clever-paws-rush", + "curly-ducks-jump", "dull-radios-wink", "famous-laws-laugh", "famous-poets-rush", "fast-phones-scream", + "few-teachers-deny", "fifty-pugs-nail", "fifty-walls-wink", "five-glasses-live", "forty-ducks-invite", + "forty-hounds-grin", "forty-mails-deliver", + "happy-hornets-join", "healthy-carpets-applaud", "hip-dolls-reply", "honest-balloons-walk", @@ -30,6 +35,8 @@ "metal-doors-burn", "mighty-crabs-fry", "moody-chefs-juggle", + "moody-guests-smell", + "neat-badgers-matter", "neat-scissors-hope", "nervous-steaks-bathe", "nervous-timers-dream", @@ -38,6 +45,7 @@ "old-rules-check", "olive-peaches-marry", "perfect-nails-doubt", + "plenty-pumas-taste", "popular-ants-ring", "quiet-dryers-taste", "rotten-cheetahs-argue", @@ -51,6 +59,7 @@ "sweet-kiwis-cheer", "taco-cat-v2", "tasty-bats-refuse", + "ten-pandas-cough", "thirty-ghosts-drop", "twelve-ladybugs-confess", "twenty-trains-turn", diff --git a/.env b/.env index b871977f4..f1481519c 100644 --- a/.env +++ b/.env @@ -6,8 +6,8 @@ LOCAL_IMAGE_NAME=ghcr.io/hyperdxio/hyperdx-local LOCAL_IMAGE_NAME_DOCKERHUB=hyperdx/hyperdx-local OTEL_COLLECTOR_IMAGE_NAME=ghcr.io/hyperdxio/hyperdx-otel-collector OTEL_COLLECTOR_IMAGE_NAME_DOCKERHUB=hyperdx/hyperdx-otel-collector -CHANGESET_TAG=2.0.0-beta.14 -IMAGE_VERSION_SUB_TAG=.14 +CHANGESET_TAG=2.0.0-beta.15 +IMAGE_VERSION_SUB_TAG=.15 IMAGE_VERSION=2-beta IMAGE_NIGHTLY_TAG=2-nightly diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e96148ca9..c6f353cf9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,11 +30,13 @@ jobs: - name: Install root dependencies run: yarn install - name: Create Release Pull Request or Publish to npm + if: always() + continue-on-error: true id: changesets uses: changesets/action@v1 with: commit: 'chore(release): bump HyperDX app/package versions' - title: 'chore(release): bump HyperDX app/package versions' + title: 'Release HyperDX' version: yarn run version publish: yarn release env: @@ -78,19 +80,29 @@ jobs: needs.publish_common_utils.outputs.changeset_outputs_hasChangesets == 'false' run: make ${{ matrix.release }} + notify_downstream: + name: Notify Downstream + needs: [publish_common_utils, release] + runs-on: ubuntu-24.04 + if: + needs.publish_common_utils.outputs.changeset_outputs_hasChangesets == + 'false' + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Load Environment Variables from .env + uses: xom9ikk/dotenv@v2 - name: Get Downstream App Installation Token id: auth uses: actions/create-github-app-token@v2 with: app-id: ${{ secrets.DOWNSTREAM_CH_APP_ID }} private-key: ${{ secrets.DOWNSTREAM_CH_APP_PRIVATE_KEY }} + owner: ${{ secrets.DOWNSTREAM_CH_OWNER }} - name: Notify Downstream - if: - needs.publish_common_utils.outputs.changeset_outputs_hasChangesets == - 'false' uses: actions/github-script@v7 env: - TAG: ${{ env.IMAGE_VERSION }}.${{ env.IMAGE_VERSION_SUB_TAG }} + TAG: ${{ env.IMAGE_VERSION }}${{ env.IMAGE_VERSION_SUB_TAG }} with: github-token: ${{ steps.auth.outputs.token }} script: | diff --git a/package.json b/package.json index 3191dbb42..b6fb06bf7 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "dev": "docker compose -f docker-compose.dev.yml up -d && yarn app:dev && docker compose -f docker-compose.dev.yml down", "lint": "npx nx run-many -t ci:lint", "version": "make version", - "release": "npx nx run-many --target=build --projects=@hyperdx/common-utils && npx changeset publish" + "release": "npx nx run-many --target=build --projects=@hyperdx/common-utils && npx changeset tag && npx changeset publish" }, "lint-staged": { "**/*.{ts,tsx}": [ diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index 62df25887..fea87a80e 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -1,5 +1,24 @@ # @hyperdx/api +## 2.0.0-beta.15 + +### Minor Changes + +- 79fe30f: Queries depending on numeric aggregates now use the type's default value (e.g. 0) instead of null when dealing with non-numeric data. + +### Patch Changes + +- 9a9581b: Adds external API for alerts and dashboards +- 293a2af: Adds openapidoc annotations for spec generation and swagger route for development +- 92a4800: feat: move rrweb event fetching to the client instead of an api route +- 7f0b397: feat: queryChartConfig method + events chart ratio +- b4b5f6b: style: remove unused routes/components + clickhouse utils (api) +- Updated dependencies [79fe30f] +- Updated dependencies [cfdd523] +- Updated dependencies [92a4800] +- Updated dependencies [7f0b397] + - @hyperdx/common-utils@0.2.0-beta.4 + ## 2.0.0-beta.14 ### Patch Changes diff --git a/packages/api/package.json b/packages/api/package.json index 744b5afef..5d49715eb 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@hyperdx/api", - "version": "2.0.0-beta.14", + "version": "2.0.0-beta.15", "license": "MIT", "private": true, "engines": { @@ -8,7 +8,7 @@ }, "dependencies": { "@clickhouse/client": "^0.2.10", - "@hyperdx/common-utils": "^0.2.0-beta.3", + "@hyperdx/common-utils": "^0.2.0-beta.4", "@hyperdx/lucene": "^3.1.1", "@hyperdx/node-opentelemetry": "^0.8.1", "@opentelemetry/api": "^1.8.0", diff --git a/packages/app/CHANGELOG.md b/packages/app/CHANGELOG.md index 1823de0be..e9aa03c14 100644 --- a/packages/app/CHANGELOG.md +++ b/packages/app/CHANGELOG.md @@ -1,5 +1,21 @@ # @hyperdx/app +## 2.0.0-beta.15 + +### Patch Changes + +- 7de8916: Removes trailing slash for connection urls +- cfdd523: feat: clickhouse queries are by default conducted through the clickhouse library via POST request. localMode still uses GET for CORS purposes +- 6dc6989: feat: Automatically use last used source when loading search page +- 92a4800: feat: move rrweb event fetching to the client instead of an api route +- 7f0b397: feat: queryChartConfig method + events chart ratio +- b4b5f6b: style: remove unused routes/components + clickhouse utils (api) +- Updated dependencies [79fe30f] +- Updated dependencies [cfdd523] +- Updated dependencies [92a4800] +- Updated dependencies [7f0b397] + - @hyperdx/common-utils@0.2.0-beta.4 + ## 2.0.0-beta.14 ### Patch Changes diff --git a/packages/app/package.json b/packages/app/package.json index f408eebcf..d4cbeadbd 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -1,6 +1,6 @@ { "name": "@hyperdx/app", - "version": "2.0.0-beta.14", + "version": "2.0.0-beta.15", "private": true, "license": "MIT", "engines": { @@ -28,7 +28,7 @@ "@codemirror/lang-sql": "^6.7.0", "@hookform/resolvers": "^3.9.0", "@hyperdx/browser": "^0.21.1", - "@hyperdx/common-utils": "^0.2.0-beta.3", + "@hyperdx/common-utils": "^0.2.0-beta.4", "@hyperdx/node-opentelemetry": "^0.8.1", "@lezer/highlight": "^1.2.0", "@mantine/core": "7.9.2", diff --git a/packages/common-utils/CHANGELOG.md b/packages/common-utils/CHANGELOG.md index 437521761..5b32c6390 100644 --- a/packages/common-utils/CHANGELOG.md +++ b/packages/common-utils/CHANGELOG.md @@ -1,5 +1,17 @@ # @hyperdx/common-utils +## 0.2.0-beta.4 + +### Minor Changes + +- 79fe30f: Queries depending on numeric aggregates now use the type's default value (e.g. 0) instead of null when dealing with non-numeric data. + +### Patch Changes + +- cfdd523: feat: clickhouse queries are by default conducted through the clickhouse library via POST request. localMode still uses GET for CORS purposes +- 92a4800: feat: move rrweb event fetching to the client instead of an api route +- 7f0b397: feat: queryChartConfig method + events chart ratio + ## 0.2.0-beta.3 ### Patch Changes diff --git a/packages/common-utils/package.json b/packages/common-utils/package.json index cfb362728..df968a5bd 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.2.0-beta.3", + "version": "0.2.0-beta.4", "license": "MIT", "publishConfig": { "access": "public" diff --git a/yarn.lock b/yarn.lock index 5e0625a8a..ba36292ee 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4258,7 +4258,7 @@ __metadata: resolution: "@hyperdx/api@workspace:packages/api" dependencies: "@clickhouse/client": "npm:^0.2.10" - "@hyperdx/common-utils": "npm:^0.2.0-beta.3" + "@hyperdx/common-utils": "npm:^0.2.0-beta.4" "@hyperdx/lucene": "npm:^3.1.1" "@hyperdx/node-opentelemetry": "npm:^0.8.1" "@opentelemetry/api": "npm:^1.8.0" @@ -4348,7 +4348,7 @@ __metadata: "@hookform/devtools": "npm:^4.3.1" "@hookform/resolvers": "npm:^3.9.0" "@hyperdx/browser": "npm:^0.21.1" - "@hyperdx/common-utils": "npm:^0.2.0-beta.3" + "@hyperdx/common-utils": "npm:^0.2.0-beta.4" "@hyperdx/node-opentelemetry": "npm:^0.8.1" "@jedmao/location": "npm:^3.0.0" "@lezer/highlight": "npm:^1.2.0" @@ -4474,7 +4474,7 @@ __metadata: languageName: node linkType: hard -"@hyperdx/common-utils@npm:^0.2.0-beta.3, @hyperdx/common-utils@workspace:packages/common-utils": +"@hyperdx/common-utils@npm:^0.2.0-beta.4, @hyperdx/common-utils@workspace:packages/common-utils": version: 0.0.0-use.local resolution: "@hyperdx/common-utils@workspace:packages/common-utils" dependencies: