Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/webpack-runtime-watch-only.md

This file was deleted.

15 changes: 0 additions & 15 deletions .changeset/whole-dev-cycle.md

This file was deleted.

14 changes: 14 additions & 0 deletions packages/common/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
19 changes: 19 additions & 0 deletions packages/rspack-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/rspack-plugin/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
19 changes: 19 additions & 0 deletions packages/vite-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/vite-plugin/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
8 changes: 8 additions & 0 deletions packages/webpack-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/webpack-plugin/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down