Skip to content

build(deps): bump uuid, @rspack/cli, @rspack/core, and @rspack/dev-server in /build/rspack#318856

Open
dependabot[bot] wants to merge 3 commits into
mainfrom
dependabot/npm_and_yarn/build/rspack/multi-0c6425935b
Open

build(deps): bump uuid, @rspack/cli, @rspack/core, and @rspack/dev-server in /build/rspack#318856
dependabot[bot] wants to merge 3 commits into
mainfrom
dependabot/npm_and_yarn/build/rspack/multi-0c6425935b

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 28, 2026

Removes uuid. It's no longer used after updating ancestor dependency @rspack/cli. These dependencies need to be updated together.

Removes uuid

Updates @rspack/cli from 1.7.11 to 2.0.5

Updates @rspack/core from 1.3.18 to 2.0.5 — required because @rspack/cli@2.x declares @rspack/core@^2.0.0 as a peer dependency (incompatible with 1.x).

Adds @rspack/dev-server@2.0.2 — in @rspack/cli@1.x this was a bundled direct dependency; in @rspack/cli@2.x it was moved to an optional peer dependency. Since the project uses rspack serve with a devServer configuration, it must be installed explicitly.

All APIs used in rspack.serve-out.config.mts (HtmlRspackPlugin, rspack.NormalModuleReplacementPlugin, Configuration type, and all devServer options) remain compatible with @rspack/core@2.x.

Removes [uuid](https://github.com/uuidjs/uuid). It's no longer used after updating ancestor dependency [@rspack/cli](https://github.com/web-infra-dev/rspack/tree/HEAD/packages/rspack-cli). These dependencies need to be updated together.


Removes `uuid`

Updates `@rspack/cli` from 1.7.11 to 2.0.5
- [Release notes](https://github.com/web-infra-dev/rspack/releases)
- [Commits](https://github.com/web-infra-dev/rspack/commits/v2.0.5/packages/rspack-cli)

---
updated-dependencies:
- dependency-name: uuid
  dependency-version:
  dependency-type: indirect
- dependency-name: "@rspack/cli"
  dependency-version: 2.0.5
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label May 28, 2026
Copilot AI review requested due to automatic review settings May 28, 2026 21:56
@dependabot dependabot Bot added javascript JavaScript support issues dependencies Pull requests that update a dependency file labels May 28, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@rzhao271
Copy link
Copy Markdown
Collaborator

@copilot This is a major bump. Check for build breakages and API changes.

…for @rspack/cli@2.x compatibility

Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented May 28, 2026

@copilot This is a major bump. Check for build breakages and API changes.

Investigated the breaking changes from @rspack/cli 1.x → 2.x:

API changes verified — all APIs used in rspack.serve-out.config.mts still exist in @rspack/core@2.x:

  • HtmlRspackPlugin
  • rspack.NormalModuleReplacementPlugin
  • Configuration type ✅
  • All devServer options (hot, liveReload, compress, headers, devMiddleware, static, allowedHosts, client.overlay) ✅
  • lazyCompilation option ✅

Build breakages found and fixed (commit here):

  1. @rspack/core version mismatch@rspack/cli@2.x requires @rspack/core@^2.0.0-0 as a peer dependency, but package.json still had "^1.3.18". Updated to ^2.0.5.

  2. Missing @rspack/dev-server — In @rspack/cli@1.x, @rspack/dev-server was a bundled direct dependency. In @rspack/cli@2.x, it was moved to an optional peer dependency. Since the config uses devServer (for rspack serve), @rspack/dev-server must be installed separately. Added @rspack/dev-server@^2.0.2 to devDependencies.

Copilot AI changed the title build(deps): bump uuid and @rspack/cli in /build/rspack build(deps): bump uuid, @rspack/cli, @rspack/core, and @rspack/dev-server in /build/rspack May 28, 2026
Copilot AI requested a review from rzhao271 May 28, 2026 22:29
@rzhao271 rzhao271 added this to the 1.123.0 milestone May 28, 2026
@rzhao271 rzhao271 modified the milestones: 1.123.0, 1.124.0 May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript JavaScript support issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants