docs: update http-proxy-middleware migration version#202
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the @rspack/dev-server v1→v2 migration documentation to correctly reflect the http-proxy-middleware major version bump and set expectations about breaking changes during proxy migration.
Changes:
- Correct the migration guide to state
http-proxy-middlewarewas upgraded to v4 (not v3). - Clarify that breaking changes span beyond a single major version during migration (v2→v4).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| ### 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: |
There was a problem hiding this comment.
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).
| `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: |
Summary
http-proxy-middlewarewas upgraded from v2 to v4, not v3Related Links