Skip to content

diff#12730

Closed
LingyuCoder wants to merge 35 commits intov2from
v2-rebase
Closed

diff#12730
LingyuCoder wants to merge 35 commits intov2from
v2-rebase

Conversation

@LingyuCoder
Copy link
Contributor

Summary

Related links

Checklist

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

ahabhgk and others added 30 commits January 14, 2026 19:24
* feat: remove runtime module deprecated properties

* feat: remove runtime module deprecated properties
* refactor: remove Default trait of DerefOption
* refactor: `replace` is better than `insert`
* feat: rspack_cacheable context expose project root

* fix: comment
…12686)

* feat: add requireRename option to control require variable renaming

* Update packages/rspack/src/config/types.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update tests/rspack-test/configCases/parsing/renaming-disabled/index.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* rename

* rename

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* feat: disable parsing require alias by defualt

* feat: disable parsing require alias by defualt

* feat: disable parsing require alias by defualt
* feat: remove webpack-bundler-analyzer

* feat: remove webpack-bundler-analyzer
* feat!: experiment.cache to cache option

* fix: ci

* docs

* fix: ci
feat: remove experiments.lazyCompilation
* feat: remove experiments.topLevelAwait

* feat: remove experiments.topLevelAwait
feat: remove experiments.layers
feat: remove experiments.lazyBarrel
…nts.collectTypeScriptInfo` (#12725)

* feat: remove experiments.inlineConst and experiments.inlineEnum

* feat: remove rspackExperiments.collectTypeScriptInfo
… spliting (#12690)

feat: support reuse chunk for remove duplicated modules
feat: remove experiments.typeReexportsPresence
* Sync node events for logger tracing

* Align sync_trace

* Remove unless info

* Cargo shear

* Use one writer

* Filter JavaScript

* Handle timestamps

* Clippy

* Clippy
Revert "feat: add warning when requireAlias is disabled (#12700)"

This reverts commit eb5635c.
feat: use rspack-vue-loader to support hotupdate
fix: `environments.importMetaDirnameAndFilename` should work
fix(ContextReplacementPlugin): only apply changes when regex matches

The plugin was applying transformations (recursive, regExp, critical) to
all require.context() calls regardless of whether the configured regex
pattern matched the request. This fix ensures all transformations only
apply when the regex successfully matches.

Closes #12656
* fix(type): runtimeModule.source

* fix: lint

* fix: lint
Release 0.7.2

rspack@0.7.2
rspack_allocator@0.7.2
rspack_binding_api@0.7.2
rspack_binding_build@0.7.2
rspack_binding_builder@0.7.2
rspack_binding_builder_macros@0.7.2
rspack_browser@0.7.2
rspack_browserslist@0.7.2
rspack_cacheable@0.7.2
rspack_cacheable_macros@0.7.2
rspack_collections@0.7.2
rspack_core@0.7.2
rspack_error@0.7.2
rspack_fs@0.7.2
rspack_futures@0.7.2
rspack_hash@0.7.2
rspack_hook@0.7.2
rspack_ids@0.7.2
rspack_javascript_compiler@0.7.2
rspack_loader_lightningcss@0.7.2
rspack_loader_preact_refresh@0.7.2
rspack_loader_react_refresh@0.7.2
rspack_loader_runner@0.7.2
rspack_loader_swc@0.7.2
rspack_loader_testing@0.7.2
rspack_location@0.7.2
rspack_macros@0.7.2
rspack_napi@0.7.2
rspack_napi_macros@0.7.2
rspack_paths@0.7.2
rspack_plugin_asset@0.7.2
rspack_plugin_banner@0.7.2
rspack_plugin_case_sensitive@0.7.2
rspack_plugin_circular_dependencies@0.7.2
rspack_plugin_copy@0.7.2
rspack_plugin_css@0.7.2
rspack_plugin_css_chunking@0.7.2
rspack_plugin_devtool@0.7.2
rspack_plugin_dll@0.7.2
rspack_plugin_dynamic_entry@0.7.2
rspack_plugin_ensure_chunk_conditions@0.7.2
rspack_plugin_entry@0.7.2
rspack_plugin_esm_library@0.7.2
rspack_plugin_externals@0.7.2
rspack_plugin_extract_css@0.7.2
rspack_plugin_hmr@0.7.2
rspack_plugin_html@0.7.2
rspack_plugin_ignore@0.7.2
rspack_plugin_javascript@0.7.2
rspack_plugin_json@0.7.2
rspack_plugin_lazy_compilation@0.7.2
rspack_plugin_library@0.7.2
rspack_plugin_lightning_css_minimizer@0.7.2
rspack_plugin_limit_chunk_count@0.7.2
rspack_plugin_merge_duplicate_chunks@0.7.2
rspack_plugin_mf@0.7.2
rspack_plugin_module_info_header@0.7.2
rspack_plugin_module_replacement@0.7.2
rspack_plugin_no_emit_on_errors@0.7.2
rspack_plugin_progress@0.7.2
rspack_plugin_real_content_hash@0.7.2
rspack_plugin_remove_duplicate_modules@0.7.2
rspack_plugin_remove_empty_chunks@0.7.2
rspack_plugin_rsdoctor@0.7.2
rspack_plugin_rslib@0.7.2
rspack_plugin_rstest@0.7.2
rspack_plugin_runtime@0.7.2
rspack_plugin_runtime_chunk@0.7.2
rspack_plugin_schemes@0.7.2
rspack_plugin_size_limits@0.7.2
rspack_plugin_split_chunks@0.7.2
rspack_plugin_sri@0.7.2
rspack_plugin_swc_js_minimizer@0.7.2
rspack_plugin_wasm@0.7.2
rspack_plugin_web_worker_template@0.7.2
rspack_plugin_worker@0.7.2
rspack_regex@0.7.2
rspack_storage@0.7.2
rspack_swc_plugin_import@0.7.2
rspack_swc_plugin_ts_collector@0.7.2
rspack_tasks@0.7.2
rspack_tracing@0.7.2
rspack_tracing_perfetto@0.7.2
rspack_util@0.7.2
rspack_watcher@0.7.2
rspack_workspace@0.7.2

Generated by cargo-workspaces
renovate bot and others added 4 commits January 14, 2026 19:25
…#12718)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@netlify
Copy link

netlify bot commented Jan 14, 2026

βœ… Deploy Preview for rspack-v2 canceled.

Name Link
πŸ”¨ Latest commit bf6def0
πŸ” Latest deploy log https://app.netlify.com/projects/rspack-v2/deploys/696781a9d9fa930008b15e3c

@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Jan 14, 2026
@LingyuCoder LingyuCoder reopened this Jan 14, 2026
@github-actions
Copy link
Contributor

πŸ“¦ Binary Size-limit

Comparing 29ddbe1 to feat: support portable cache and disable by default (#12680) by jinrui

πŸŽ‰ Size decreased by 406.00KB from 47.97MB to 47.57MB (⬇️0.83%)

@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: 25020fd1f3 | PR: #12680

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: 25020fd1f3 | PR: #12680

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: 25020fd1f3 | PR: #12680

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team The issue/pr is created by the member of Rspack.

Projects

None yet

Development

Successfully merging this pull request may close these issues.