Skip to content

Conversation

@LingyuCoder
Copy link
Contributor

Summary

This PR removes the deprecated WarnCaseSensitiveModulesPlugin API and all related documentation. The plugin was renamed to CaseSensitivePlugin in v1.7.0, and WarnCaseSensitiveModulesPlugin has been deprecated since then. This change completes the deprecation cycle by removing the old API name entirely.

The following changes are made:

  • Removed WarnCaseSensitiveModulesPlugin export from packages/rspack/src/exports.ts
  • Removed WarnCaseSensitiveModulesPlugin from API documentation (core.api.md)
  • Updated test cases to use CaseSensitivePlugin instead
  • Removed deprecation notices from plugin documentation
  • Removed WarnCaseSensitiveModulesPlugin from documentation coverage exclusion list

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@LingyuCoder LingyuCoder requested a review from hardfist as a code owner January 15, 2026 03:26
@netlify
Copy link

netlify bot commented Jan 15, 2026

Deploy Preview for rspack-v2 canceled.

Name Link
🔨 Latest commit 0ae3681
🔍 Latest deploy log https://app.netlify.com/projects/rspack-v2/deploys/69686100682be80008adf93c

@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Jan 15, 2026
@LingyuCoder LingyuCoder changed the title chore: remove deprecated WarnCaseSensitiveModulesPlugin feat!: remove deprecated WarnCaseSensitiveModulesPlugin Jan 15, 2026
@LingyuCoder LingyuCoder added the release: breaking change release: breaking change related release(mr only) label Jan 15, 2026
@github-actions github-actions bot added the release: feature release: feature related release(mr only) label Jan 15, 2026
@github-actions
Copy link
Contributor

Rsdoctor Bundle Diff Analysis

Found 5 projects in monorepo, 3 projects with changes.

📊 Quick Summary
Project Total Size Change
react-10k 5.7 MB -8.0 B (-0.0%)
react-1k 825.4 KB 0
react-5k 2.7 MB +1.0 B (0.0%)
rome 986.0 KB +1.7 KB (0.2%)
ui-components 2.1 MB 0
📋 Detailed Reports (Click to expand)

📁 react-10k

Path: ../build-tools-performance/cases/react-10k/dist/rsdoctor-data.json

📌 Baseline Commit: d9915de43e | PR: #12735

Metric Current Baseline Change
📊 Total Size 5.7 MB 5.7 MB -8.0 B (-0.0%)
📄 JavaScript 5.7 MB 5.7 MB -8.0 B (-0.0%)
🎨 CSS 21.0 B 21.0 B 0
🌐 HTML 0 B 0 B 0
📁 Other Assets 0 B 0 B 0

📦 Download Diff Report: react-10k Bundle Diff

📁 react-5k

Path: ../build-tools-performance/cases/react-5k/dist/rsdoctor-data.json

📌 Baseline Commit: d9915de43e | PR: #12735

Metric Current Baseline Change
📊 Total Size 2.7 MB 2.7 MB +1.0 B (0.0%)
📄 JavaScript 2.7 MB 2.7 MB +1.0 B (0.0%)
🎨 CSS 21.0 B 21.0 B 0
🌐 HTML 0 B 0 B 0
📁 Other Assets 0 B 0 B 0

📦 Download Diff Report: react-5k Bundle Diff

📁 rome

Path: ../build-tools-performance/cases/rome/dist/rsdoctor-data.json

📌 Baseline Commit: d9915de43e | PR: #12735

Metric Current Baseline Change
📊 Total Size 986.0 KB 984.3 KB +1.7 KB (0.2%)
📄 JavaScript 986.0 KB 984.3 KB +1.7 KB (0.2%)
🎨 CSS 0 B 0 B 0
🌐 HTML 0 B 0 B 0
📁 Other Assets 0 B 0 B 0

📦 Download Diff Report: rome Bundle Diff

Generated by Rsdoctor GitHub Action

@LingyuCoder LingyuCoder enabled auto-merge (squash) January 15, 2026 03:47
@github-actions
Copy link
Contributor

📦 Binary Size-limit

Comparing 0ae3681 to refactor: move pass into separate folder and driven by run_passes (#12735) by hardfist

🎉 Size decreased by 451.25KB from 48.01MB to 47.57MB (⬇️0.92%)

@codspeed-hq
Copy link

codspeed-hq bot commented Jan 15, 2026

Merging this PR will not alter performance

✅ 16 untouched benchmarks
⏩ 1 skipped benchmark1


Comparing feat/remove-warn-case-sensitive-modules-plugin (0ae3681) with v2 (edc0379)

Open in CodSpeed

Footnotes

  1. 1 benchmark was skipped, so the baseline result was used instead. If it was deleted from the codebase, click here and archive it to remove it from the performance reports.

@LingyuCoder LingyuCoder merged commit 5019856 into v2 Jan 15, 2026
53 checks passed
@LingyuCoder LingyuCoder deleted the feat/remove-warn-case-sensitive-modules-plugin branch January 15, 2026 05:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release: breaking change release: breaking change related release(mr only) release: feature release: feature related release(mr only) team The issue/pr is created by the member of Rspack.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants