From e94dcd02eab69e8c9ad800295e75b3c812e1aa92 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 5 Aug 2026 11:06:10 +0000 Subject: [PATCH] Version Packages --- .changeset/webpack-runtime-watch-only.md | 5 ----- .changeset/whole-dev-cycle.md | 15 --------------- packages/common/CHANGELOG.md | 14 ++++++++++++++ packages/common/package.json | 2 +- packages/rspack-plugin/CHANGELOG.md | 19 +++++++++++++++++++ packages/rspack-plugin/package.json | 2 +- packages/vite-plugin/CHANGELOG.md | 19 +++++++++++++++++++ packages/vite-plugin/package.json | 2 +- packages/webpack-plugin/CHANGELOG.md | 8 ++++++++ packages/webpack-plugin/package.json | 2 +- 10 files changed, 64 insertions(+), 24 deletions(-) delete mode 100644 .changeset/webpack-runtime-watch-only.md delete mode 100644 .changeset/whole-dev-cycle.md diff --git a/.changeset/webpack-runtime-watch-only.md b/.changeset/webpack-runtime-watch-only.md deleted file mode 100644 index 59ab772..0000000 --- a/.changeset/webpack-runtime-watch-only.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"agoda-devfeedback-webpack": patch ---- - -Only inject the DevFeedback client runtime module in watch mode (dev server). The browser snippet was previously added to every compilation's initial chunks, including one-off production/CI builds and SSR bundles — it broke html-webpack-plugin template evaluation (`window is not defined` in node:vm) and would crash SSR bundles running in Node. The generated client code also now guards on `typeof window`/`document` as a defensive measure. diff --git a/.changeset/whole-dev-cycle.md b/.changeset/whole-dev-cycle.md deleted file mode 100644 index 33a3110..0000000 --- a/.changeset/whole-dev-cycle.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -'agoda-devfeedback-common': minor -'agoda-devfeedback-vite2': minor -'agoda-devfeedback-rsbuild': minor ---- - -Extend devfeedback from single compilations to the whole local dev cycle. - -- New `type: "command"` event with an `install`, `devserver` or `clientready` phase, posted to `COMMAND_ENDPOINT` (default `http://compilation-metrics/command`). Dev server ready time was previously never measured, because `closeBundle` does not fire in dev. -- Every event now carries a `sessionId`, so install → dev server ready → first HMR correlate into one timeline. Purely additive; existing payloads are unchanged. -- Install capture for npm, yarn and pnpm. Works with no repo change; a `preinstall`/`postinstall` pair in the consuming repo upgrades it to an exact span with a trustworthy `coldInstall` flag. Install events are spooled locally and delivered by the next dev server or build, so an install never waits on the network. -- Aborted runs are recorded: Ctrl-C produces a `devserver` event with `signal` set, without changing what Ctrl-C does. -- Rspack and Rsbuild events now post to `RSPACK_ENDPOINT` (`/rspack`) as the README always documented, instead of the webpack endpoint. -- Off the critical path: 1500 ms POST timeout, git metadata cached until the repo actually changes instead of three `git` spawns per HMR event, `stats.toJson()` no longer serializes the whole compilation on every Rsbuild rebuild, and startup chatter moved behind `DEVFEEDBACK_DEBUG`. -- Widened the Vite peer range to `>=4.0.0` (`rollup >=3.0.0`). diff --git a/packages/common/CHANGELOG.md b/packages/common/CHANGELOG.md index 96183ab..416521c 100644 --- a/packages/common/CHANGELOG.md +++ b/packages/common/CHANGELOG.md @@ -1,5 +1,19 @@ # agoda-devfeedback-common +## 2.1.0 + +### Minor Changes + +- 6da9ddd: Extend devfeedback from single compilations to the whole local dev cycle. + + - New `type: "command"` event with an `install`, `devserver` or `clientready` phase, posted to `COMMAND_ENDPOINT` (default `http://compilation-metrics/command`). Dev server ready time was previously never measured, because `closeBundle` does not fire in dev. + - Every event now carries a `sessionId`, so install → dev server ready → first HMR correlate into one timeline. Purely additive; existing payloads are unchanged. + - Install capture for npm, yarn and pnpm. Works with no repo change; a `preinstall`/`postinstall` pair in the consuming repo upgrades it to an exact span with a trustworthy `coldInstall` flag. Install events are spooled locally and delivered by the next dev server or build, so an install never waits on the network. + - Aborted runs are recorded: Ctrl-C produces a `devserver` event with `signal` set, without changing what Ctrl-C does. + - Rspack and Rsbuild events now post to `RSPACK_ENDPOINT` (`/rspack`) as the README always documented, instead of the webpack endpoint. + - Off the critical path: 1500 ms POST timeout, git metadata cached until the repo actually changes instead of three `git` spawns per HMR event, `stats.toJson()` no longer serializes the whole compilation on every Rsbuild rebuild, and startup chatter moved behind `DEVFEEDBACK_DEBUG`. + - Widened the Vite peer range to `>=4.0.0` (`rollup >=3.0.0`). + ## 2.0.9 ### Patch Changes diff --git a/packages/common/package.json b/packages/common/package.json index a700d1e..91adb51 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "agoda-devfeedback-common", - "version": "2.0.9", + "version": "2.1.0", "type": "module", "main": "./dist/index.cjs", "module": "./dist/index.js", diff --git a/packages/rspack-plugin/CHANGELOG.md b/packages/rspack-plugin/CHANGELOG.md index ea4bfa2..5e3bca8 100644 --- a/packages/rspack-plugin/CHANGELOG.md +++ b/packages/rspack-plugin/CHANGELOG.md @@ -1,5 +1,24 @@ # agoda-devfeedback-rsbuild +## 2.1.0 + +### Minor Changes + +- 6da9ddd: Extend devfeedback from single compilations to the whole local dev cycle. + + - New `type: "command"` event with an `install`, `devserver` or `clientready` phase, posted to `COMMAND_ENDPOINT` (default `http://compilation-metrics/command`). Dev server ready time was previously never measured, because `closeBundle` does not fire in dev. + - Every event now carries a `sessionId`, so install → dev server ready → first HMR correlate into one timeline. Purely additive; existing payloads are unchanged. + - Install capture for npm, yarn and pnpm. Works with no repo change; a `preinstall`/`postinstall` pair in the consuming repo upgrades it to an exact span with a trustworthy `coldInstall` flag. Install events are spooled locally and delivered by the next dev server or build, so an install never waits on the network. + - Aborted runs are recorded: Ctrl-C produces a `devserver` event with `signal` set, without changing what Ctrl-C does. + - Rspack and Rsbuild events now post to `RSPACK_ENDPOINT` (`/rspack`) as the README always documented, instead of the webpack endpoint. + - Off the critical path: 1500 ms POST timeout, git metadata cached until the repo actually changes instead of three `git` spawns per HMR event, `stats.toJson()` no longer serializes the whole compilation on every Rsbuild rebuild, and startup chatter moved behind `DEVFEEDBACK_DEBUG`. + - Widened the Vite peer range to `>=4.0.0` (`rollup >=3.0.0`). + +### Patch Changes + +- Updated dependencies [6da9ddd] + - agoda-devfeedback-common@2.1.0 + ## 2.0.9 ### Patch Changes diff --git a/packages/rspack-plugin/package.json b/packages/rspack-plugin/package.json index 621a283..778a8e4 100644 --- a/packages/rspack-plugin/package.json +++ b/packages/rspack-plugin/package.json @@ -1,6 +1,6 @@ { "name": "agoda-devfeedback-rsbuild", - "version": "2.0.9", + "version": "2.1.0", "type": "module", "main": "./dist/index.cjs", "module": "./dist/index.js", diff --git a/packages/vite-plugin/CHANGELOG.md b/packages/vite-plugin/CHANGELOG.md index bd528ee..441eba2 100644 --- a/packages/vite-plugin/CHANGELOG.md +++ b/packages/vite-plugin/CHANGELOG.md @@ -1,5 +1,24 @@ # agoda-devfeedback-vite2 +## 2.1.0 + +### Minor Changes + +- 6da9ddd: Extend devfeedback from single compilations to the whole local dev cycle. + + - New `type: "command"` event with an `install`, `devserver` or `clientready` phase, posted to `COMMAND_ENDPOINT` (default `http://compilation-metrics/command`). Dev server ready time was previously never measured, because `closeBundle` does not fire in dev. + - Every event now carries a `sessionId`, so install → dev server ready → first HMR correlate into one timeline. Purely additive; existing payloads are unchanged. + - Install capture for npm, yarn and pnpm. Works with no repo change; a `preinstall`/`postinstall` pair in the consuming repo upgrades it to an exact span with a trustworthy `coldInstall` flag. Install events are spooled locally and delivered by the next dev server or build, so an install never waits on the network. + - Aborted runs are recorded: Ctrl-C produces a `devserver` event with `signal` set, without changing what Ctrl-C does. + - Rspack and Rsbuild events now post to `RSPACK_ENDPOINT` (`/rspack`) as the README always documented, instead of the webpack endpoint. + - Off the critical path: 1500 ms POST timeout, git metadata cached until the repo actually changes instead of three `git` spawns per HMR event, `stats.toJson()` no longer serializes the whole compilation on every Rsbuild rebuild, and startup chatter moved behind `DEVFEEDBACK_DEBUG`. + - Widened the Vite peer range to `>=4.0.0` (`rollup >=3.0.0`). + +### Patch Changes + +- Updated dependencies [6da9ddd] + - agoda-devfeedback-common@2.1.0 + ## 2.0.9 ### Patch Changes diff --git a/packages/vite-plugin/package.json b/packages/vite-plugin/package.json index 2012f34..f25b450 100644 --- a/packages/vite-plugin/package.json +++ b/packages/vite-plugin/package.json @@ -1,6 +1,6 @@ { "name": "agoda-devfeedback-vite2", - "version": "2.0.9", + "version": "2.1.0", "type": "module", "main": "./dist/index.cjs", "module": "./dist/index.js", diff --git a/packages/webpack-plugin/CHANGELOG.md b/packages/webpack-plugin/CHANGELOG.md index ae11560..fcf41e7 100644 --- a/packages/webpack-plugin/CHANGELOG.md +++ b/packages/webpack-plugin/CHANGELOG.md @@ -1,5 +1,13 @@ # agoda-devfeedback-webpack +## 2.0.10 + +### Patch Changes + +- b4c7423: Only inject the DevFeedback client runtime module in watch mode (dev server). The browser snippet was previously added to every compilation's initial chunks, including one-off production/CI builds and SSR bundles — it broke html-webpack-plugin template evaluation (`window is not defined` in node:vm) and would crash SSR bundles running in Node. The generated client code also now guards on `typeof window`/`document` as a defensive measure. +- Updated dependencies [6da9ddd] + - agoda-devfeedback-common@2.1.0 + ## 2.0.9 ### Patch Changes diff --git a/packages/webpack-plugin/package.json b/packages/webpack-plugin/package.json index 8291206..5af3ac2 100644 --- a/packages/webpack-plugin/package.json +++ b/packages/webpack-plugin/package.json @@ -1,6 +1,6 @@ { "name": "agoda-devfeedback-webpack", - "version": "2.0.9", + "version": "2.0.10", "type": "module", "main": "./dist/index.cjs", "module": "./dist/index.js",