Node binding for rspack
Last release 2 days ago
27 Aug 2026
Ships on a steady schedule
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
1118 releases ยท first in 2022
Release timeline
1118 releases since 2022One column per quarter.
Releases
- 0.5.8-canary-1ec0571-2024032704050427 Mar 2024pre-release
Nothing published for this version
- 0.5.8-canary-1782583-2024032400590424 Mar 2024pre-release
Nothing published for this version
- 0.5.8-canary-0d77492-2024032611400326 Mar 2024pre-release
Nothing published for this version
- 0.5.8-canary-0c655a5-2024032508510925 Mar 2024pre-release
Nothing published for this version
- 0.5.712 Mar 2024
Release notes
Open source โ<!-- Release notes generated using configuration in .github/release.yml at v0.5.7 -->
What's Changed
Highlights
Support experimental SWC wasm plugins for
builtin:swc-loaderAligned wasm plugin architecture with JavaScript
swc-loader. Check out the detail at swc plugins.{ loader: "builtin:swc-loader", options: { jsc: { experimental: { plugins: [ [ "@swc/plugin-remove-console", { exclude: ["error"], }, ], ], }, }, }, };Great work done by @dm33tri ๐.
Exciting New Features ๐
- feat: side effects bailout out stats by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/5803
- feat: support stage for processAssets by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/5861
- feat: support
module.noParseby @xc2 in https://github.com/web-infra-dev/rspack/pull/5829 - feat: entrypoint.getRuntimeChunk by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/5914
Bug Fixes ๐
- fix: webpackMode eager for dynamic import by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/5850
- fix: panic pass query to loader without resource with resource query by @SyMind in https://github.com/web-infra-dev/rspack/pull/5832
- fix(wasm): add fallback for MIME mismatch error in async wasm loading by @magic-akari in https://github.com/web-infra-dev/rspack/pull/5491
- fix: proc macro should keep generics by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/5860
- fix(rspack_loader_swc): enable SWC plugins by @dm33tri in https://github.com/web-infra-dev/rspack/pull/5808
- fix: ๐ bailout stats location by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/5864
- fix: fix some "changes didn't emit a rebuild" issues by @xc2 in https://github.com/web-infra-dev/rspack/pull/5837
- fix: ๐ should not mangle css module identifier by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/5876
- fix: export default alias by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/5875
- fix: use uniqueName in css loading by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/5870
- fix: export string name in harmony module by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/5888
- fix: css loading runtime order by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/5896
- fix: context request position change error by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/5893
- fix: empty resource query and fragment by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/5899
- fix: alias should have order by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/5901
Other Changes
- chore: disable jest transform by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5854
- chore: disable webpack-test jest transform by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5855
- chore: align webpack type by @SyMind in https://github.com/web-infra-dev/rspack/pull/5857
- chore: x script support force build by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5858
- chore(deps): update napi to v2.16.0 by @renovate in https://github.com/web-infra-dev/rspack/pull/5811
- revert: "fix(rspack_loader_swc): enable SWC plugins" by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5865
- chore(deps): update crates by @renovate in https://github.com/web-infra-dev/rspack/pull/5862
- chore: support test release build in CI and enable windows test in CI by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/5880
- chore: remove duplicate "uses" by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/5881
- chore: test toolkit by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/5755
- chore: fix some comments by @hishope in https://github.com/web-infra-dev/rspack/pull/5882
- refactor(core): move
Compilation::update_module_graphto its own file by @Boshen in https://github.com/web-infra-dev/rspack/pull/5884 - revert: "revert: "fix(rspack_loader_swc): enable SWC plugins"" by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5866
- test: make sure import not run after it by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/5889
- refactor: move module_graph_module to module_graph folder by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/5886
- test: run async node library exports may cause error in ci by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/5890
- refactor(core): add a
UpdateModuleGraphstruct withcutoutandrepairsteps by @Boshen in https://github.com/web-infra-dev/rspack/pull/5891 - chore: print eco ci result in commit by @SyMind in https://github.com/web-infra-dev/rspack/pull/5895
- chore(testng): should not share runner between multiple compiler when run same file by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/5898
- refactor(core): move compiler/queue.rs to compiler/make/queue.rs by @Boshen in https://github.com/web-infra-dev/rspack/pull/5892
- refactor: query js taps from stage range by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/5903
New Contributors
- @dm33tri made their first contribution in https://github.com/web-infra-dev/rspack/pull/5808
- @hishope made their first contribution in https://github.com/web-infra-dev/rspack/pull/5882
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.5.6...v0.5.7
- 0.5.7-canary-fcec5af-2024031909263919 Mar 2024pre-release
Nothing published for this version
- 0.5.7-canary-dcd4782-2024031209413412 Mar 2024pre-release
Nothing published for this version
- 0.5.7-canary-9e2ce60-2024032005540620 Mar 2024pre-release
Nothing published for this version
- 0.5.7-canary-6007430-2024031311154113 Mar 2024pre-release
Nothing published for this version
- 0.5.7-canary-3320ea8-2024031203292212 Mar 2024pre-release
Nothing published for this version
- 0.5.7-canary-1f35c13-2024031309123413 Mar 2024pre-release
Nothing published for this version
- 0.5.65 Mar 2024
Release notes
Open source โ<!-- Release notes generated using configuration in .github/release.yml at v0.5.6 -->
What's Changed
Highlight
Improve HMR performance around 60%
Introducing sourcemap caching has improved the compilation speed of HMR (Hot Module Replacement), typically resulting in an improvement of around 60%. <img width="1242" alt="benchmark of rspack" src="https://github.com/web-infra-dev/rspack/assets/42857895/fd138eeb-b915-418c-a3e9-4e9e99e1d58f">
Performance Improvements โก
- perf: add cache for source map by @SyMind in https://github.com/web-infra-dev/rspack/pull/5709
- perf(deps): remove terminal-link package by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/5819
- perf: let CachedSource work right by @SyMind in https://github.com/web-infra-dev/rspack/pull/5830
Exciting New Features ๐
- feat: call parser hooks with tag by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5784
- feat: polish diagnostic suggestion wordings for module resolution by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5790
- feat: support stage for hooks by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/5714
- feat: run ecosystem ci as merged into main by @SyMind in https://github.com/web-infra-dev/rspack/pull/5846
- feat: support compilation.renameAsset by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/5849
Bug Fixes ๐
- fix: fix
thisin ctor default param transform intoundefinedby @NotEvenANeko in https://github.com/web-infra-dev/rspack/pull/5787 - fix: ๐ fix 5782 by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/5793
- fix: skip release rspack-test-tools and webpack-cli-test by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/5809
- fix: release @rspack/test-tools by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/5810
- fix: disable hooks should respect interceptor by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/5812
- fix(parser): should walk parameters in class methods by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/5813
- fix: should not contain duplicate initFragments for namespace_cache by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/5816
- fix: add context module afterResolve hook by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/5746
- fix: @rspack/dev-server Cannot find module by @noshower in https://github.com/web-infra-dev/rspack/pull/5826
- fix: let filename can receive null by @SyMind in https://github.com/web-infra-dev/rspack/pull/5831
- fix: should not generate minify plugin based on devtool by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/5840
- fix: jest disable transform node_module by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/5848
- fix: cjs interop by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/5828
- fix: require as expression by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/5844
Other Changes
- chore: init webpack-cli tests by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5785
- chore: align multi compiler test !windows by @SyMind in https://github.com/web-infra-dev/rspack/pull/5777
- chore: align stats test by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5789
- chore: js hash test by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5796
- chore: align MultiStats tests by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5798
- chore: align default test runner by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5799
- chore: align test cases runner by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5747
- chore: renovate split napi upgrades by @Boshen in https://github.com/web-infra-dev/rspack/pull/5806
- chore: shaking duplicate test cases by @SyMind in https://github.com/web-infra-dev/rspack/pull/5802
- chore: migrate miscellaneous test runners and remove swc-jest by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5801
- chore(deps): update crates by @renovate in https://github.com/web-infra-dev/rspack/pull/5791
- refactor(code-splitting): using raw dependencies order by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/5807
- refactor: move runtimeCases to configCases by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/5814
- chore: align jest config by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5815
- chore(deps): update npm dev dependencies by @renovate in https://github.com/web-infra-dev/rspack/pull/5792
- Revert "chore(deps): update npm dev dependencies" by @Boshen in https://github.com/web-infra-dev/rspack/pull/5817
- chore: remove source-map-support by @hardfist in https://github.com/web-infra-dev/rspack/pull/5823
- chore: disable jest cache by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5825
- chore: disable jest sourcemap support by @hardfist in https://github.com/web-infra-dev/rspack/pull/5827
- chore: set pnpm store-dir to global store-dir + version by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/5843
- chore: remove unused local variables by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/5820
New Contributors
- @NotEvenANeko made their first contribution in https://github.com/web-infra-dev/rspack/pull/5787
- @noshower made their first contribution in https://github.com/web-infra-dev/rspack/pull/5826
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.5.5...v0.5.6
- 0.5.6-canary-f08e069-202403050702175 Mar 2024pre-release
Nothing published for this version
- 0.5.6-canary-d451d23-202403090055049 Mar 2024pre-release
Nothing published for this version
- 0.5.6-canary-7b27ac8-2024031113261411 Mar 2024pre-release
Nothing published for this version
- 0.5.6-canary-11ea1bd-2024031110212311 Mar 2024pre-release
Nothing published for this version
- 0.5.527 Feb 2024
Release notes
Open source โ<!-- Release notes generated using configuration in .github/release.yml at v0.5.5 -->
What's Changed
Highlight
Added diagnostic suggestions for extension-less module resolutions
This added suggestions for potential files that can be resolved while the bundler's configuration may not be correct. This might also be helpful for those whose project was migrated from lower versions.
Project tree:
<PROJECT_ROOT>/ โโ a.txt โโ index.jsResolve error:
ERROR in ./index.js ร Resolve error: Can't resolve './a' in '/' โญโโโโ 1 โ import a from './a'; ยท โโโโโโ โฐโโโโ help: Found the module './a.txt' exists, but its extension is not listed in the `resolve.extensions`. Here are some possible solutions: 1. add the extension `".txt"` to `resolve.extensions` in your rspack configuration 2. use '../a.txt' instead of './a'The error suggests to add the extension
".txt"toresolve.extensions, as, by default, rspack does not support for extension-less module requests like "txt".Kudos to @luhc228.
Performance Improvements โก
- perf(code-splitting): optimize modules intersection by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/5745
Exciting New Features ๐
- feat: support resource query in context module by @faga295 in https://github.com/web-infra-dev/rspack/pull/5476
- feat: eval more identifier and call expr by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5670
- feat: support stats.usedExports and stats.providedExports by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/5647
- feat: eval more unary expr by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5673
- feat: rename during walk assign expr by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5701
- feat(dev-server): support custom client ws transport by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5710
- feat: eval more binary add op by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5720
- feat: support
parser.hooks.expression_conditional_operationby @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5754 - feat: support eval
undefinedby @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5762 - feat: add hint for missing resolve.extensions when resolving module by @luhc228 in https://github.com/web-infra-dev/rspack/pull/5680
Bug Fixes ๐
- fix: should not panic while running build_module hook by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/5621
- fix: fix broken js error stack by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5622
- fix: runtime module hook after tree runtime requirements by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/5661
- fix: runtime condition of hot accept dependency by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/5636
- fix: concate modules with css by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/5635
- fix: typo
vesrion->versionby @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5678 - fix: 5595 by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/5616
- fix: can not resolve warning of cjs export require by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/5683
- fix: hit cache when imports connection not changed by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/5694
- fix: eval
typeof aliasRequireshould work by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5693 - fix: panic in harmony_export_imported_specifier_dependency by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/5697
- fix: split-chunks inf loop by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/5700
- fix: module_graph update module align with webpack by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/5692
- fix: add missing field in EvalSourceMapDevToolPlugin by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/5717
- fix: disable incRebuild when enable new treeshaking by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/5718
- fix: quote meta slash error by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/5719
- fix: computed member expression on exports by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/5712
- fix(plugin/swc_js_minimizer): remove parens before optimizing by @magic-akari in https://github.com/web-infra-dev/rspack/pull/5726
- fix: hooks.contextModuleFactory should use cmf not nmf by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/5732
- fix: missing export when using library output under production mode by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/5740
- fix: loaderCtx.hot should be injected by HMRPlugin by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/5741
- fix: bump
oxc-resolverto fix windows path by @Boshen in https://github.com/web-infra-dev/rspack/pull/5722 - fix: reconsider skipped connections by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/5724
- fix: should not warp
(0,for non-directly import by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5749 - fix: should report validation error if no callback exists by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5753
- fix: minChunks should be greater than 0 by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/5750
- fix: hash exports info should not fall into inf recursive by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/5770
- fix: should visit prop-name in getter/setter by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/5773
- fix: update chunk files in hmr by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/5768
- fix: runtime chunk filename by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/5778
- fix: cjs export require should bailout in old tree shaking by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/5779
- fix: CSS module does not emit correctly with concatenateModules by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/5711
- fix: compiler test error in !windows by @SyMind in https://github.com/web-infra-dev/rspack/pull/5780
Other Changes
- chore: fix yanked handlebars by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5617
- refactor: cleanup
expr_mather::import_metaby @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5623 - chore: support open macos & windows ci in PR by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/5626
- chore: replace splitter on windows !windows !macos by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5625
- refactor: align get_exports_type with webpack by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/5502
- refactor: merge duplicate implementation of boolean matcher by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/5633
- chore(deps): update npm devdependencies by @renovate in https://github.com/web-infra-dev/rspack/pull/5524
- refactor: align module request of CommonJsExportRequireDependency by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/5612
- chore(deps): update crates by @renovate in https://github.com/web-infra-dev/rspack/pull/5629
- chore: do not update pnpm with renovate bot by @Boshen in https://github.com/web-infra-dev/rspack/pull/5649
- chore(deps): update npm dev dependencies by @renovate in https://github.com/web-infra-dev/rspack/pull/5652
- refactor: refactor remove parent modules by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/5646
- chore: rename bundler info plugin by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/5660
- chore(deps): update npm dev dependencies (major) by @renovate in https://github.com/web-infra-dev/rspack/pull/5653
- chore: migrate husky to v9 by @Boshen in https://github.com/web-infra-dev/rspack/pull/5664
- chore: run prettier by @Boshen in https://github.com/web-infra-dev/rspack/pull/5662
- chore: remove unused scripts/update_swc_version.js by @Boshen in https://github.com/web-infra-dev/rspack/pull/5665
- chore(deps): update github/issue-labeler action to v3.4 by @renovate in https://github.com/web-infra-dev/rspack/pull/5651
- chore(deps): update crates by @renovate in https://github.com/web-infra-dev/rspack/pull/5650
- ci: improve cargo-deny run by @Boshen in https://github.com/web-infra-dev/rspack/pull/5667
- ci: upgrade all default node versions to v20 by @Boshen in https://github.com/web-infra-dev/rspack/pull/5668
- chore: remove the unused
.changesetdirectory by @Boshen in https://github.com/web-infra-dev/rspack/pull/5669 - chore(deps): update github-actions (major) by @renovate in https://github.com/web-infra-dev/rspack/pull/5525
- refactor: replace asyncDependenciesBlockId with Identifier by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/5663
- refactor: cleanup
import_scannerby @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5672 - refactor: align runtime condition of HarmonyImportDependency by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/5643
- refactor: align get_exports of CommonJsExportRequireDependency by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/5588
- chore: remove unused dev dependencies by @Boshen in https://github.com/web-infra-dev/rspack/pull/5674
- chore: remove unused jest-worker from rspack-plugin-minify by @Boshen in https://github.com/web-infra-dev/rspack/pull/5676
- test: flush snapshot by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/5677
- refactor: cleanup some unsed fn by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5679
- chore: change non-using facing dependencies to devDependencies by @Boshen in https://github.com/web-infra-dev/rspack/pull/5681
- chore: bump oxc-resolver by @Boshen in https://github.com/web-infra-dev/rspack/pull/5682
- refactor: mv
CallHooksNameto spearte module by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5691 - refactor: cleanup
parser.enter_assignby @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5702 - chore: speed up webpack-test/configCases/css/urls by using smaller files by @Boshen in https://github.com/web-infra-dev/rspack/pull/5715
- refactor: cleanup
HarmonyImportDependencyScannerby @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5737 - refactor: cleanup
parser.importsby @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5742 - refactor: unnecessary Arc clone by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5743
- refactor: cleanup
ImporterInfoby @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5744 - refactor: make hook by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/5739
- refactor: align configCases runner by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5620
- chore: align existing stats cases by @SyMind in https://github.com/web-infra-dev/rspack/pull/5716
- refactor: cleanup
HarmonyImportRefDependencyScannerby @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5748 - chore: align webpack hotCases by @SyMind in https://github.com/web-infra-dev/rspack/pull/5736
- chore(deps): update npm dev dependencies by @renovate in https://github.com/web-infra-dev/rspack/pull/5727
- chore: align webpack watchCases by @SyMind in https://github.com/web-infra-dev/rspack/pull/5733
- chore(deps): update crates by @renovate in https://github.com/web-infra-dev/rspack/pull/5675
- refactor: cleanup
HarmonyExportDependencyScannerby @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5756 - refactor: cleanup deps collections phase by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5765
- chore: align compiler test by @SyMind in https://github.com/web-infra-dev/rspack/pull/5767
- chore: stop updating miette from renovate by @Boshen in https://github.com/web-infra-dev/rspack/pull/5783
New Contributors
- @luhc228 made their first contribution in https://github.com/web-infra-dev/rspack/pull/5680
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.5.4...v0.5.5
- 0.5.5-canary-e9ef9b1-202403010110031 Mar 2024pre-release
Nothing published for this version
- 0.5.5-canary-dca4576-2024022900492029 Feb 2024pre-release
Nothing published for this version
- 0.5.5-canary-d9caa1b-2024042215430822 Apr 2024pre-release
Nothing published for this version
- 0.5.5-canary-d7d87bb-202403080051318 Mar 2024pre-release
Nothing published for this version
- 0.5.5-canary-c6110c3-2024022907165329 Feb 2024pre-release
Nothing published for this version
- 0.5.5-canary-c357679-202403041112074 Mar 2024pre-release
Nothing published for this version
- 0.5.5-canary-9e431a9-202403050435005 Mar 2024pre-release
Nothing published for this version
- 0.5.5-canary-95eaac8-202403070042007 Mar 2024pre-release
Nothing published for this version
- 0.5.5-canary-936dff6-202403061155236 Mar 2024pre-release
Nothing published for this version
- 0.5.5-canary-72c8de0-202403050402125 Mar 2024pre-release
Nothing published for this version
- 0.5.5-canary-70295e4-2024022711052527 Feb 2024pre-release
Nothing published for this version
- 0.5.5-canary-67d9c34-202403020242392 Mar 2024pre-release
Nothing published for this version
- 0.5.5-canary-6130780-2024022910244029 Feb 2024pre-release
Nothing published for this version
- 0.5.5-canary-5f28d69-202403080344278 Mar 2024pre-release
Nothing published for this version
- 0.5.5-canary-5e0a218-2024022910335829 Feb 2024pre-release
Nothing published for this version
- 0.5.5-canary-58c4cad-2024031109124711 Mar 2024pre-release
Nothing published for this version
- 0.5.5-canary-5143936-202403021634472 Mar 2024pre-release
Nothing published for this version
- 0.5.5-canary-3e8e3c2-202403061125516 Mar 2024pre-release
Nothing published for this version
- 0.5.46 Feb 2024
Release notes
Open source โ<!-- Release notes generated using configuration in .github/release.yml at v0.5.4 -->
What's Changed
Highlight
- Support alias require:
// commonjs file const alias = require alias('./foo') // now `foo.js` will be bundledPerformance Improvements โก
- perf: delate useless filed in
AllowedMemberTypesby @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5550
Exciting New Features ๐
- feat: support alias require by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5520
- feat(rspack_core): use consistent fxhash for ustr instead of inconsistent ahash by @Boshen in https://github.com/web-infra-dev/rspack/pull/5504
- feat(rspack): align default resolveOptions with webpack by @Boshen in https://github.com/web-infra-dev/rspack/pull/5540
- feat: concatenation module part two by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/5415
- feat: support custom source root by @SyMind in https://github.com/web-infra-dev/rspack/pull/5522
- feat(devtool): add "eval" support by @xc2 in https://github.com/web-infra-dev/rspack/pull/5495
- feat: deprecate
compiler.rebuildby @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5583
Bug Fixes ๐
- fix: not parse require in esm by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5515
- fix: test jobs should not run in forked repositories by @SyMind in https://github.com/web-infra-dev/rspack/pull/5499
- fix: module not exist in context modules by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5534
- fix: fix test for consistent splitChunk by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/5539
- fix: wrongly generated alternative requests in context modules by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5538
- fix: should split chunks size larger than maxSize by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/5562
- fix: ๐ call finish module in rebuild_module instead of update_module_graph by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/5559
- fix: exec
per_statementparser hooks by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5568 - fix: json parse error by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5565
- fix(cli): fix cts support by @hardfist in https://github.com/web-infra-dev/rspack/pull/5575
- fix: zod.devtool - missing inline-nosources-cheap-source-map by @xc2 in https://github.com/web-infra-dev/rspack/pull/5478
- fix: source root error in windows by @SyMind in https://github.com/web-infra-dev/rspack/pull/5581
- fix: ๐ inner graph extend class super with constructor by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/5552
- fix: buildinfo cacheable default value should be true by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/5603
- fix: missing visitor in concatenate modules by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/5591
- fix: codegen cache should consider runtime by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/5605
- fix: should gracefully shutdown on bail by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5610
Other Changes
- typo: Update index.ts by @cunzaizhuyi in https://github.com/web-infra-dev/rspack/pull/5511
- refactor: cleanup
HarmonyDetectionScannerby @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5508 - refactor: cleanup
WorkerSyntaxScannerin deps collection stage by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5512 - ci: change renovate bot to run only once per week by @Boshen in https://github.com/web-infra-dev/rspack/pull/5514
- refactor: cleanup
WorkerSyntaxScannerin optimize by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5513 - ci: enable swc for renovate bot by @Boshen in https://github.com/web-infra-dev/rspack/pull/5517
- chore: add tests for consistent splitChunks output by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/5510
- chore: use the same postcss version for this monorepo by @Boshen in https://github.com/web-infra-dev/rspack/pull/5518
- chore: remove ci pull_request branches-ignore by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/5529
- refactor: cleanup
WorkerScannerby @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5527 - chore: ๐ค remove tree shaking diff by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/5530
- revert: revert tests for consistent splitChunks output by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/5537
- refactor: align external module and static exports dependency with webpack by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/5542
- chore(deps): update swc by @renovate in https://github.com/web-infra-dev/rspack/pull/5519
- chore: remove "Test Plan" from pull request template by @Boshen in https://github.com/web-infra-dev/rspack/pull/5541
- chore: update issue template with title prefix by @hardfist in https://github.com/web-infra-dev/rspack/pull/5553
- refactor: move chunk_group_info to code splitting by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/5549
- chore: rename split_chunks_new to split_chunks by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/5555
- chore(deps): update crates by @renovate in https://github.com/web-infra-dev/rspack/pull/5523
- refactor: add
ImportMetaContextDependencyParserPluginby @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5557 - chore: align more tests by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5558
- ci: don't cancel jobs on main by @Boshen in https://github.com/web-infra-dev/rspack/pull/5563
- revert: feat: support custom source root (#5522) by @SyMind in https://github.com/web-infra-dev/rspack/pull/5561
- refactor: immutable module graph during code generation by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/5543
- chore: more total cases by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5569
- refactor: initialize stage hook for
hooks.compilationby @ahabhgk in https://github.com/web-infra-dev/rspack/pull/5532 - chore: avoid const enum in node binding dts by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/5584
- refactor: cleanup
HotModuleReplacementScannerby @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5585 - refactor: cleanup some expr_match in parser by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5589
- chore: align more hotcases by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5566
- chore: ๐ค add comments when the export name is unused by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/5598
- chore: align the rest of diffing cases by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5599
- chore: run diff on linux only by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/5602
- refactor: on demand apply
hooks.compilationjs hook by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/5586 - refactor: cleanup
ImportScannerby @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5607 - test: add test case for eager import by @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5608
- chore: remove wrapped module identifier by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/5609
- refactor: cleanup
ImportMetaScannerby @bvanjoi in https://github.com/web-infra-dev/rspack/pull/5547
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.5.3...v0.5.4
- 0.5.4-canary-fcf3117-2024022009250320 Feb 2024pre-release
Nothing published for this version
- 0.5.4-canary-f89334d-2024022807025128 Feb 2024pre-release
Nothing published for this version
- 0.5.4-canary-f1696ce-2024022200443822 Feb 2024pre-release
Nothing published for this version
- 0.5.4-canary-ea0d21b-2024022209143022 Feb 2024pre-release
Nothing published for this version
- 0.5.4-canary-e72f484-2024022113551321 Feb 2024pre-release
Nothing published for this version
- 0.5.4-canary-e5dd34a-202402060643436 Feb 2024pre-release
Nothing published for this version
- 0.5.4-canary-ddd46b7-2024021411151614 Feb 2024pre-release
Nothing published for this version
- 0.5.4-canary-c39752f-202402092253159 Feb 2024pre-release
Nothing published for this version
- 0.5.4-canary-bf8f473-2024022012562220 Feb 2024pre-release
Nothing published for this version
- 0.5.4-canary-b653def-2024021812315918 Feb 2024pre-release
Nothing published for this version
- 0.5.4-canary-b2f2f52-202402071002227 Feb 2024pre-release
Nothing published for this version
- 0.5.4-canary-a241ff2-2024022106082321 Feb 2024pre-release
Nothing published for this version
- 0.5.4-canary-92e5d15-2024022609395326 Feb 2024pre-release
Nothing published for this version
- 0.5.4-canary-7df1421-2024022301223823 Feb 2024pre-release
Nothing published for this version
- 0.5.4-canary-792b402-2024022100451021 Feb 2024pre-release
Nothing published for this version
- 0.5.4-canary-7511fc8-2024022202513622 Feb 2024pre-release
Nothing published for this version
- 0.5.4-canary-6cde173-202402092332439 Feb 2024pre-release
Nothing published for this version
- 0.5.4-canary-5bb91bd-2024021011441610 Feb 2024pre-release
Nothing published for this version
- 0.5.4-canary-54cd77d-2024021807224618 Feb 2024pre-release
Nothing published for this version
- 0.5.4-canary-531a19a-2024022600510326 Feb 2024pre-release
Nothing published for this version
- 0.5.4-canary-527acd1-2024022013042520 Feb 2024pre-release
Nothing published for this version
- 0.5.4-canary-4d80d32-2024022011504220 Feb 2024pre-release
Nothing published for this version
- 0.5.4-canary-4a33d6c-202402070326427 Feb 2024pre-release
Nothing published for this version
- 0.5.4-canary-416101e-2024021813524918 Feb 2024pre-release
Nothing published for this version