Releases: web-infra-dev/rsbuild
Releases Β· web-infra-dev/rsbuild
v1.7.2
What's Changed
New Features π
- feat(deps): update dependency
@rspack/coreto ~1.7.1 by @chenjiahan in #6904
Performance π
- perf: improve path handling in emptyDir by @chenjiahan in #6883
Bug Fixes π
- fix(server): return a response body for 404 by @chenjiahan in #6878
- fix(swc): automatically unset
env.targetswhenjsc.targetis set by @chenjiahan in #6886 - fix: separate inline assets by environment to prevent multi-compiler overrides by @GiveMe-A-Name in #6889
Refactor π¨
- refactor(plugin-vue): improve CSS module detection by @chenjiahan in #6879
- refactor: use helper for async file reading by @chenjiahan in #6885
Document π
- docs: add conflict guidelines for
tools.swcby @chenjiahan in #6887 - docs: add upgrade section by @chenjiahan in #6891
Other Changes
- test(e2e): fix the
expectNoLoghelper by @chenjiahan in #6872 - chore(CI): separate Playwright browser installation step by @chenjiahan in #6874
- test(e2e): add tests to ensure no deprecation logs are printed by @chenjiahan in #6873
- chore(deps): update dependency @rsbuild/plugin-preact to ^1.7.0 by @renovate[bot] in #6876
- chore(deps): update dependency @rsbuild/core to ^1.7.1 by @renovate[bot] in #6875
- chore(CI): speed up playwright browser setup by @chenjiahan in #6877
- chore(deps): update pnpm to v10.27.0 by @renovate[bot] in #6880
- chore(create-rsbuild): move setup files to test dir by @chenjiahan in #6881
- chore(CI): run E2E type checker by @chenjiahan in #6882
- chore(CI): update Node.js to v24 in workflow files by @chenjiahan in #6884
- chore(deps): update all patch dependencies by @renovate[bot] in #6888
- chore: update branch filters in workflow files to include v1.x by @chenjiahan in #6906
- release: v1.7.2 by @chenjiahan in #6907
Full Changelog: v1.7.1...v1.7.2
v1.7.1
What's Changed
Refactor π¨
- refactor: adjust position of collectTypeScriptInfo in swc-loader by @nikhilsnayak in #6869
Other Changes
- test(ut): update snapshots by @chenjiahan in #6870
- release: v1.7.1 by @chenjiahan in #6871
New Contributors
- @nikhilsnayak made their first contribution in #6869
Full Changelog: v1.7.0...v1.7.1
v1.7.0
π 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...
v1.7.0-beta.2
What's Changed
Performance π
- perf: reuse parsed stack frames by @chenjiahan in #6837
- perf: introduce cached trace map for stack parsing by @chenjiahan in #6839
Bug Fixes π
- 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
Document π
- 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
Other Changes
- 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
Full Changelog: v1.7.0-beta.1...v1.7.0-beta.2
v1.7.0-beta.1
What's Changed
New Features π
- 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
Performance π
- perf: bundle rslog dependency to main chunk by @chenjiahan in #6746
- perf: use native relative source maps by @chenjiahan in #6798
Bug Fixes π
- fix: avoid bundling duplicate mrmime package by @chenjiahan in #6809
- fix: preserve filename and dirname for ESM bundles by @chenjiahan in #6811
Document π
- 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
Other Changes
- 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
Full Changelog: v1.7.0-beta.0...v1.7.0-beta.1
v1.7.0-beta.0
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
Performance π
- perf: avoid reading asset content from file system by @chenjiahan in #6747
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
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
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
Full Changelog: v1.6.15...v1.7.0-beta.0
v1.6.15
What's Changed
New Features π
- feat(deps): update dependency @rspack/core to v1.6.8 by @chenjiahan in #6794
Other Changes
- release: v1.6.15 by @chenjiahan in #6795
Full Changelog: v1.6.14...v1.6.15
v1.6.14
What's Changed
New Features π
- feat(deps): update dependency @rspack/core to v1.6.7 by @chenjiahan in #6738
- feat(plugin-vue): add test option by @chenjiahan in #6729
Bug Fixes π
- fix(fileSize): Avoid tiny gzip total diffs in file size reports by @zalishchuk in #6720
- fix: throw when no free port is found by @chenjiahan in #6719
- fix(plugin-svgr): disable React refresh for transformed SVG by @chenjiahan in #6724
- fix: use proper API to preserve source maps of inlined chunks by @chenjiahan in #6734
Refactor π¨
- refactor: improve type definitions and documentation by @chenjiahan in #6732
Document π
- docs: improve documentation for file size diff by @chenjiahan in #6717
- docs: update zh documentation for
client.logLevelby @chenjiahan in #6718 - docs: polish static deploy wording by @chenjiahan in #6721
- docs: polish plugin option descriptions by @chenjiahan in #6722
- docs: add reconnect option for dev client config by @chenjiahan in #6723
Other Changes
- test(e2e): add case for package.json imports resolution by @chenjiahan in #6715
- release: @rsbuild/plugin-svgr v1.2.3 by @chenjiahan in #6728
- release: @rsbuild/plugin-vue v1.2.1 by @chenjiahan in #6730
- chore(deps): update Rspress to 2.0.0-rc.2 by @chenjiahan in #6731
- chore: update Rslint v0.1.4 and refactor types by @chenjiahan in #6733
- test(e2e): fix flaky plugin hook case by @chenjiahan in #6735
- test(e2e): fix flaky cache directory tests by @chenjiahan in #6736
- chore: update create-rstack to 1.7.14 and quick start doc by @chenjiahan in #6737
- release: v1.6.14 by @chenjiahan in #6739
Full Changelog: v1.6.13...v1.6.14
v1.6.13
What's Changed
New Features π
- feat: improve error message filename formatting by @chenjiahan in #6685
- feat(core): add showDiff option to printFileSize by @lluisemper in #6635
- feat: refine size diff output for new files by @chenjiahan in #6691
- feat(create-rsbuild): add storybook as optional tool by @chenjiahan in #6698
- feat: support displaying the total size diff by @chenjiahan in #6706
- feat(core): Add
dev.client.logLeveloption by @zalishchuk in #6712
Bug Fixes π
- fix: remove loader chain delimiters in module trace logs by @chenjiahan in #6686
- fix: correct file size display indentation by @chenjiahan in #6687
- fix(fileSize): ensure consistency of output order by @chenjiahan in #6689
- fix: handle ANSI escape codes in node polyfill hint by @chenjiahan in #6704
- fix(file-size): use config hash for snapshot filename to avoid collisions by @chenjiahan in #6710
- fix(file-size): improve size diff detection by @chenjiahan in #6711
Refactor π¨
- refactor(fileSize): rename showDiff to diff by @chenjiahan in #6688
- refactor(fileSize): optimize asset sorting and display logic by @chenjiahan in #6709
Document π
- docs: update server port in quick start guides by @chenjiahan in #6696
- docs(quick-start): update template table with integration guide links by @chenjiahan in #6697
- docs: polish css-in-js wording by @chenjiahan in #6700
- docs: polish quick start wording by @chenjiahan in #6701
- docs: improve Rspack configuration examples by @chenjiahan in #6707
- docs: clarify security configuration wording by @chenjiahan in #6703
- docs: polish quick start and environment wording by @chenjiahan in #6702
Other Changes
- test(hmr): refactor live-reload tests to use temp directory by @chenjiahan in #6690
- chore(deps): update rspack-contrib/rstack-ecosystem-ci action to v0.2.0 by @renovate[bot] in #6695
- chore(deps): update actions/setup-node action to v6.1.0 by @renovate[bot] in #6694
- chore(deps): update all patch dependencies by @renovate[bot] in #6693
- chore: update file size snapshot path by @chenjiahan in #6692
- release: create-rsbuild v1.6.5 by @chenjiahan in #6699
- chore(deps): update dependency react-router-dom to ^7.10.1 by @renovate[bot] in #6708
- chore(deps): update dependency @shikijs/transformers to ^3.19.0 by @renovate[bot] in #6714
- chore(deps): update dependency @rstest/core to ^0.7.0 by @renovate[bot] in #6713
- release: 1.6.13 by @chenjiahan in #6716
New Contributors
- @lluisemper made their first contribution in #6635
Full Changelog: v1.6.12...v1.6.13
v1.6.12
What's Changed
New Features π
- feat(deps): update dependency @rspack/core to v1.6.6 by @chenjiahan in #6680
- feat(diagnostic): improve error formatting for data-uri imports by @chenjiahan in #6677
- feat: add option to disable asset prefix in manifest by @chenjiahan in #6681
Document π
- docs: add
manifest.prefixoption documentation by @chenjiahan in #6682
Other Changes
- test(diagnostic): add test case for type warnings in console by @chenjiahan in #6676
- chore: remove pnpm trust policy config by @chenjiahan in #6679
- chore(deps): update dependency preact to ^10.28.0 by @renovate[bot] in #6683
- release: v1.6.12 by @chenjiahan in #6684
Full Changelog: v1.6.11...v1.6.12