🎉 See Announcing Rspack 1.7 for more details.
What's Changed
New Features 🎉
- feat(sri): add support for multiple integrity algorithms by @chenjiahan in #6753
- feat(create-rsbuild): add rstest as optional tool by @9aoy in #6759
- feat(create-rsbuild): improve tools descriptions by @chenjiahan in #6767
- feat: export resolve config types by @chenjiahan in #6780
- feat: truncate long import traces with hidden count by @chenjiahan in #6782
- feat: update node builtins set for hints by @chenjiahan in #6783
- feat(deps): update @rspack/core to 1.7.0-beta.0 by @chenjiahan in #6796
- feat: support displaying runtime errors on overlay by @chenjiahan in #6793
- feat(deps): update @rspack/core to v1.7.0-beta.1 by @chenjiahan in #6826
- feat: improve display path for node_modules in error overlay by @chenjiahan in #6845
- feat(create-rsbuild): use
happy-dominstead ofjsdomby @9aoy in #6859 - feat(deps): update dependency @rspack/core to v1.7.0 by @chenjiahan in #6867
Performance 🚀
- perf: avoid reading asset content from file system by @chenjiahan in #6747
- perf: bundle rslog dependency to main chunk by @chenjiahan in #6746
- perf: use native relative source maps by @chenjiahan in #6798
- perf: reuse parsed stack frames by @chenjiahan in #6837
- perf: introduce cached trace map for stack parsing by @chenjiahan in #6839
- perf: minify some pre-bundled packages by @chenjiahan in #6862
Bug Fixes 🐞
- fix: exclude lazy compilation identifier from import traces by @chenjiahan in #6740
- fix: include env in app icon cache key by @chenjiahan in #6742
- fix(fileSize): simplify gzip size coloring by @chenjiahan in #6750
- fix: update HMR import paths to include file extensions by @chenjiahan in #6774
- fix(plugin-vue): treat it as a client build when calling from Rstest by @9aoy in #6779
- fix: avoid duplicate newline characters in error logs by @chenjiahan in #6786
- fix: hide import traces by default for warnings by @chenjiahan in #6785
- fix(overlay): avoid matching HTML fragments when linking file paths by @chenjiahan in #6790
- fix(overlay): enhance link conversion for relative paths by @chenjiahan in #6792
- fix: avoid bundling duplicate mrmime package by @chenjiahan in #6809
- fix: preserve filename and dirname for ESM bundles by @chenjiahan in #6811
- fix: should throw error when custom config file not found by @9aoy in #6828
- fix: strip browser prefix from error logs before rendering overlay by @chenjiahan in #6831
- fix: improve overlay link color for better visibility by @chenjiahan in #6833
- fix: enhance overlay to display full stack trace for runtime errors by @chenjiahan in #6834
- fix: improve diagnostics for Rspack runtime modules by @chenjiahan in #6840
- fix: hide unmapped runtime frames by default in error overlay by @chenjiahan in #6841
- fix: Node.js addons loading for ESM output by @chenjiahan in #6842
- fix: standardize doctype declaration to uppercase in default template by @chenjiahan in #6853
- fix(create-rsbuild): use uppercase doctype in lit templates by @chenjiahan in #6854
- fix: normalize default charset to lowercase
utf-8by @chenjiahan in #6856 - fix(plugin-api): allow to override exposed API by @chenjiahan in #6861
- fix: replace hardcoded Node.js built-ins with
builtinModulesby @chenjiahan in #6865
Refactor 🔨
- refactor: update rspack-chain dependency and imports by @chenjiahan in #6741
Document 📖
- docs: clarify plugin config usage guidance by @chenjiahan in #6743
- docs(alias): add documentation for Node.js imports field by @chenjiahan in #6745
- docs: deprecate bundleAnalyze in favor of Rsdoctor by @chenjiahan in #6415
- docs: add customLogger to migration guide by @chenjiahan in #6751
- docs: refine asset prefix guidance by @chenjiahan in #6754
- docs: refine env var wording by @chenjiahan in #6755
- docs: update download badge links in README files by @chenjiahan in #6762
- docs: polish SSR guide wording by @chenjiahan in #6770
- docs: polish optimization docs wording by @chenjiahan in #6771
- docs: add documentation link to rstest config file by @chenjiahan in #6772
- docs: update links to reflect changes in Rspack rules structure by @chenjiahan in #6781
- docs: add
client.overlayconfiguration details by @chenjiahan in #6804 - docs: polish start guides and align README with start guide by @chenjiahan in #6812
- docs: simplify README files by @chenjiahan in #6813
- docs: fix preload.dedupe behavior description by @9aoy in #6817
- docs(en): update
preload.dedupebehavior description by @9aoy in #6818 - docs: enhance
content.devServertype by @chenjiahan in #6830 - docs: fix Rspack dynamically set publicPath links by @lxKylin in #6832
- docs: add
overlay.runtimeoption in client configuration by @chenjiahan in #6838 - docs: polish start and FAQ docs by @chenjiahan in #6848
- docs: polish wording in migration and guide pages by @chenjiahan in #6852
- docs: update links from rspack-contrib to rstackjs by @chenjiahan in #6866
Other Changes
- test: remove skipped test case by @chenjiahan in #6744
- chore(deps): update all patch dependencies by @renovate[bot] in #6727
- chore(deps): update dependency nx to ^22.2.1 by @renovate[bot] in #6756
- chore(deps): update sass to ^1.96.0 by @renovate[bot] in #6757
- chore(CI): add preview workflow by @9aoy in #6761
- test: fix unstable chunk id snapshot by @chenjiahan in #6764
- chore(deps): update all patch dependencies by @renovate[bot] in #6758
- chore(deps): update pnpm to v10.25.0 by @renovate[bot] in #6765
- chore(deps): pin typescript-go to previous version by @chenjiahan in #6766
- chore(deps): update dependency svelte to ^5.46.0 by @renovate[bot] in #6769
- release: create-rsbuild v1.6.7 by @chenjiahan in #6773
- chore(deps): update dependency @types/node to ^24.10.4 by @renovate[bot] in #6777
- chore(deps): update dependency @shikijs/transformers to ^3.20.0 by @renovate[bot] in #6778
- chore: remove @rsbuild/plugin-webpack-swc package by @chenjiahan in #6775
- release: @rsbuild/plugin-vue v1.2.2 by @chenjiahan in #6784
- chore(deps): update all patch dependencies by @renovate[bot] in #6788
- chore(deps): update sass to ^1.97.0 by @renovate[bot] in #6789
- chore: add constant for default browserLogs trace by @chenjiahan in #6791
- chore: update lazy compilation middleware path by @chenjiahan in #6797
- chore(deps): update dependency webpack to ^5.104.0 by @renovate[bot] in #6799
- chore(deps): update pnpm to v10.26.0 by @renovate[bot] in #6800
- release: v1.7.0-beta.0 by @chenjiahan in #6802
- chore(deps): update dependency react-router-dom to ^7.11.0 by @renovate[bot] in #6801
- chore: update SubresourceIntegrityPlugin reference by @chenjiahan in #6803
- chore(deps): update swc monorepo to ^12.1.0 by @renovate[bot] in #6808
- chore(deps): update all patch dependencies by @renovate[bot] in #6807
- chore(deps): update dependency nx to ^22.3.3 by @renovate[bot] in #6810
- test(e2e): add runtime error overlay test by @chenjiahan in #6814
- test(e2e): centralize log expectations with shared constants by @chenjiahan in #6815
- chore(deps): update all patch dependencies by @renovate[bot] in #6816
- chore: no need to set inlineExports by @chenjiahan in #6819
- test: add error recovery overlay test case by @chenjiahan in #6821
- release: 1.7.0-beta.1 by @chenjiahan in #6827
- chore(deps): update module federation to v0.22.0 by @renovate[bot] in #6836
- chore(deps): update dependency @rsdoctor/rspack-plugin to v1.4.0 by @renovate[bot] in #6835
- chore: simplify HMR init function parameter structure by @chenjiahan in #6843
- release: 1.7.0-beta.2 by @chenjiahan in #6844
- chore(deps): update dependency jsdom to ^27.4.0 by @renovate[bot] in #6847
- chore(deps): update swc monorepo to ^12.3.0 by @renovate[bot] in #6849
- chore(deps): update all patch dependencies by @renovate[bot] in #6855
- chore(deps): bump Rslib to v0.19.0 by @Timeless0911 in #6858
- test: use
@rstest/adapter-rslibby @9aoy in #6860 - test: fix initial chunks HMR test case by @chenjiahan in #6864
- release: 1.7.0 by @chenjiahan in #6868
Full Changelog: v1.6.15...v1.7.0