Skip to content

chore: update main#12728

Merged
hardfist merged 15 commits intov2from
chore/update-main
Jan 14, 2026
Merged

chore: update main#12728
hardfist merged 15 commits intov2from
chore/update-main

Conversation

@LingyuCoder
Copy link
Contributor

Summary

Update latest main to v2

Related links

Checklist

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

stormslowly and others added 15 commits January 14, 2026 17:27
* 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
…#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 ready!

Name Link
🔨 Latest commit 811bdad
🔍 Latest deploy log https://app.netlify.com/projects/rspack-v2/deploys/6967639e4175ea000840361e
😎 Deploy Preview https://deploy-preview-12728--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 the team The issue/pr is created by the member of Rspack. label Jan 14, 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: 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

@github-actions
Copy link
Contributor

📦 Binary Size-limit

Comparing 811bdad to test: skip recover-from-error/delete-file in watchCases (#12726) by jinrui

🎉 Size decreased by 343.00KB from 47.90MB to 47.57MB (⬇️0.70%)

@codspeed-hq
Copy link

codspeed-hq bot commented Jan 14, 2026

CodSpeed Performance Report

Merging this PR will not alter performance

Comparing chore/update-main (811bdad) with v2 (2c15aa7)

Summary

✅ 16 untouched benchmarks
⏩ 1 skipped benchmark1

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.

@hardfist hardfist merged commit 3f8d74e into v2 Jan 14, 2026
56 checks passed
@hardfist hardfist deleted the chore/update-main branch January 14, 2026 10:27
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.