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%.
Performance Improvements β‘
- perf: add cache for source map by @SyMind in #5709
- perf(deps): remove terminal-link package by @chenjiahan in #5819
- perf: let CachedSource work right by @SyMind in #5830
Exciting New Features π
- feat: call parser hooks with tag by @bvanjoi in #5784
- feat: polish diagnostic suggestion wordings for module resolution by @h-a-n-a in #5790
- feat: support stage for hooks by @ahabhgk in #5714
- feat: run ecosystem ci as merged into main by @SyMind in #5846
- feat: support compilation.renameAsset by @LingyuCoder in #5849
Bug Fixes π
- fix: fix
this
in ctor default param transform intoundefined
by @NotEvenANeko in #5787 - fix: π fix 5782 by @IWANABETHATGUY in #5793
- fix: skip release rspack-test-tools and webpack-cli-test by @jerrykingxyz in #5809
- fix: release @rspack/test-tools by @jerrykingxyz in #5810
- fix: disable hooks should respect interceptor by @ahabhgk in #5812
- fix(parser): should walk parameters in class methods by @JSerFeng in #5813
- fix: should not contain duplicate initFragments for namespace_cache by @JSerFeng in #5816
- fix: add context module afterResolve hook by @JSerFeng in #5746
- fix: @rspack/dev-server Cannot find module by @noshower in #5826
- fix: let filename can receive null by @SyMind in #5831
- fix: should not generate minify plugin based on devtool by @JSerFeng in #5840
- fix: jest disable transform node_module by @jerrykingxyz in #5848
- fix: cjs interop by @IWANABETHATGUY in #5828
- fix: require as expression by @ahabhgk in #5844
Other Changes
- chore: init webpack-cli tests by @h-a-n-a in #5785
- chore: align multi compiler test !windows by @SyMind in #5777
- chore: align stats test by @h-a-n-a in #5789
- chore: js hash test by @h-a-n-a in #5796
- chore: align MultiStats tests by @h-a-n-a in #5798
- chore: align default test runner by @h-a-n-a in #5799
- chore: align test cases runner by @h-a-n-a in #5747
- chore: renovate split napi upgrades by @Boshen in #5806
- chore: shaking duplicate test cases by @SyMind in #5802
- chore: migrate miscellaneous test runners and remove swc-jest by @h-a-n-a in #5801
- chore(deps): update crates by @renovate in #5791
- refactor(code-splitting): using raw dependencies order by @JSerFeng in #5807
- refactor: move runtimeCases to configCases by @JSerFeng in #5814
- chore: align jest config by @h-a-n-a in #5815
- chore(deps): update npm dev dependencies by @renovate in #5792
- Revert "chore(deps): update npm dev dependencies" by @Boshen in #5817
- chore: remove source-map-support by @hardfist in #5823
- chore: disable jest cache by @h-a-n-a in #5825
- chore: disable jest sourcemap support by @hardfist in #5827
- chore: set pnpm store-dir to global store-dir + version by @jerrykingxyz in #5843
- chore: remove unused local variables by @chenjiahan in #5820
New Contributors
- @NotEvenANeko made their first contribution in #5787
- @noshower made their first contribution in #5826
Full Changelog: v0.5.5...v0.5.6