What's Changed
Performance Improvements ⚡
- perf: compilation.*Dependencies cache results and merge call by @jerrykingxyz in #3536
- perf: 🤖 optimize tree shaking by @IWANABETHATGUY in #3547
Exciting New Features 🎉
- feat(css): emit debug info in development mode by @hyf0 in #3531
- feat(core): support async-node target by @hardfist in #3468
- feat: support builtin swc-loader by @suxin2017 in #3382
- feat: add buildModule hook by @dmitry-stepanenko in #3466
- feat: custom runtime tree shaking by @IWANABETHATGUY in #3419
- feat(splitChunks): support
splitChunks.{cacheGroup}.type
by @hyf0 in #3569 - feat: easier way for converting
JsRegExp
toRspackRegex
by @hyf0 in #3574 - feat: chunkLoading for per entry by @ahabhgk in #3584
Bug Fixes 🐞
- fix(css): should skip when
last_module == selected_module
and align more with Webpack by @hyf0 in #3535 - fix: example angular bundle size is a lot bigger than webpack by @IWANABETHATGUY in #3514
- fix: 🐛 ignore github ID for typos check by @IWANABETHATGUY in #3540
- fix: migrate more webpack library test by @underfin in #3376
- fix: windows ci by @underfin in #3560
- fix: do not expose non-webpack node interfaces by @h-a-n-a in #3542
- fix: code generation cache not working by @jerrykingxyz in #3577
- fix: Wasm sideEffect analysis failed by @IWANABETHATGUY in #3563
- fix: create rspack project template by @caohuilin in #3585
- fix: rspack serve will automatically rebuild once by @jerrykingxyz in #3586
Other Changes
- refactor(css): Remove unnecessary and structure code, add comments by @hyf0 in #3529
- chore: toolchain channel vision by @suxin2017 in #3538
- chore: add project governance by @Boshen in #3537
- test: 💍 support test.filter.js return string by @IWANABETHATGUY in #3541
- ci: use debug build for tests by @Boshen in #3374
- chore: correct comments by @hyf0 in #3549
- refactor(crates/rspack_plugin_javascript):
builtins.define
should not rely onGlobalPassOptions
by @Hamzakh777 in #3516 - refactor: EntryOptions and EntryPlugin by @ahabhgk in #3545
- test(webpack): enable some tests related to splitChunks by @hyf0 in #3566
- test(webpack): enable loader cases by @h-a-n-a in #3568
- chore: Update PULL_REQUEST_TEMPLATE.md by @Boshen in #3570
- refactor(rspack_regex): readability and functionality by @hyf0 in #3573
- chore: add vue3-tsx example by @h-a-n-a in #3578
- test: 🤖 banner plugin by @IWANABETHATGUY in #3579
New Contributors
- @Hamzakh777 made their first contribution in #3516
Full Changelog: 0.2.2...0.2.3