Skip to content
Merged
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
4 changes: 2 additions & 2 deletions docs/migrate-v1-to-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ The minimum supported Node.js version is now `^20.19.0 || >=22.12.0`.

`@rspack/dev-server` is now published as **pure ESM** package.

### Upgraded `http-proxy-middleware` to v3
### Upgraded `http-proxy-middleware` to v4

`http-proxy-middleware` has been updated to v3, which has some breaking changes:
`http-proxy-middleware` has been updated from v2 to v4, with several breaking changes introduced since v3:
Copy link

Copilot AI Apr 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The wording here is ambiguous/inaccurate: upgrading from v2 to v4 will include breaking changes introduced in v3 and v4, but "introduced since v3" reads like only post-v3 (i.e., v4-only) changes. Consider rephrasing to something like "introduced in v3 and v4" or "introduced since v2" so it matches the upgrade path and the bullet list (which largely reflects the v3 migration).

Suggested change
`http-proxy-middleware` has been updated from v2 to v4, with several breaking changes introduced since v3:
`http-proxy-middleware` has been updated from v2 to v4, with several breaking changes introduced in v3 and v4:

Copilot uses AI. Check for mistakes.

- `proxy[].path` is removed. Use `pathFilter` (or `context`) instead.

Expand Down