Skip to content

feat!: remove deprecated cssHeadDataCompression option#12741

Merged
LingyuCoder merged 1 commit intov2from
feat/remove-css-head-data-compression
Jan 15, 2026
Merged

feat!: remove deprecated cssHeadDataCompression option#12741
LingyuCoder merged 1 commit intov2from
feat/remove-css-head-data-compression

Conversation

@LingyuCoder
Copy link
Contributor

Summary

This PR removes the deprecated cssHeadDataCompression configuration option from Rspack. This option was marked as deprecated and unused (see #8534), and has now been completely removed from the codebase.

The removal includes:

  • Type definition in config/types.ts
  • Deprecation warning logic in config/normalization.ts
  • API documentation in core.api.md
  • Documentation sections in both English and Chinese config guides

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 05:09
@netlify
Copy link

netlify bot commented Jan 15, 2026

Deploy Preview for rspack-v2 ready!

Name Link
🔨 Latest commit b75bd8d
🔍 Latest deploy log https://app.netlify.com/projects/rspack-v2/deploys/69687df44859300007f17990
😎 Deploy Preview https://deploy-preview-12741--rspack-v2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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

github-actions bot commented Jan 15, 2026

Rsdoctor Bundle Diff Analysis

Found 5 projects in monorepo, 5 projects with changes.

📊 Quick Summary
Project Total Size Change
react-10k 5.7 MB -
react-1k 825.4 KB -
react-5k 2.7 MB -
rome 986.0 KB -
ui-components 2.1 MB -
📋 Detailed Reports (Click to expand)

📁 react-10k

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

⚠️ No baseline data found - Unable to perform comparison analysis

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

📁 react-1k

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

⚠️ No baseline data found - Unable to perform comparison analysis

Metric Current Baseline Change
📊 Total Size 825.4 KB - -
📄 JavaScript 825.4 KB - -
🎨 CSS 0 B - -
🌐 HTML 0 B - -
📁 Other Assets 0 B - -

📁 react-5k

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

⚠️ No baseline data found - Unable to perform comparison analysis

Metric Current Baseline Change
📊 Total Size 2.7 MB - -
📄 JavaScript 2.7 MB - -
🎨 CSS 21.0 B - -
🌐 HTML 0 B - -
📁 Other Assets 0 B - -

📁 rome

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

⚠️ No baseline data found - Unable to perform comparison analysis

Metric Current Baseline Change
📊 Total Size 986.0 KB - -
📄 JavaScript 986.0 KB - -
🎨 CSS 0 B - -
🌐 HTML 0 B - -
📁 Other Assets 0 B - -

📁 ui-components

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

⚠️ No baseline data found - Unable to perform comparison analysis

Metric Current Baseline Change
📊 Total Size 2.1 MB - -
📄 JavaScript 2.0 MB - -
🎨 CSS 83.0 KB - -
🌐 HTML 0 B - -
📁 Other Assets 0 B - -

Generated by Rsdoctor GitHub Action

@github-actions
Copy link
Contributor

github-actions bot commented Jan 15, 2026

📦 Binary Size-limit

Comparing b75bd8d 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-css-head-data-compression (b75bd8d) with v2 (3c5a3e0)

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 enabled auto-merge (squash) January 15, 2026 05:34
@LingyuCoder LingyuCoder added the release: breaking change release: breaking change related release(mr only) label Jan 15, 2026
@LingyuCoder LingyuCoder disabled auto-merge January 15, 2026 05:40
@LingyuCoder LingyuCoder force-pushed the feat/remove-css-head-data-compression branch from 8598348 to b75bd8d Compare January 15, 2026 05:41
@LingyuCoder LingyuCoder enabled auto-merge (squash) January 15, 2026 05:41
@LingyuCoder LingyuCoder disabled auto-merge January 15, 2026 07:05
@hardfist hardfist enabled auto-merge (rebase) January 15, 2026 07:09
@hardfist hardfist disabled auto-merge January 15, 2026 07:09
@LingyuCoder LingyuCoder merged commit b07e854 into v2 Jan 15, 2026
53 checks passed
@LingyuCoder LingyuCoder deleted the feat/remove-css-head-data-compression branch January 15, 2026 07:10
LingyuCoder added a commit that referenced this pull request Jan 15, 2026
feat: remove deprecated cssHeadDataCompression option
LingyuCoder added a commit that referenced this pull request Jan 15, 2026
feat: remove deprecated cssHeadDataCompression option
chenjiahan pushed a commit that referenced this pull request Jan 16, 2026
feat!: remove deprecated cssHeadDataCompression option (#12741)

feat: remove deprecated cssHeadDataCompression option
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.

3 participants

Comments