What's Changed
Infrastructure ⚙️
- Rspack has nightly release now!
npm i -D @rspack/cli@nightly
- Rspack Ecosystem CI has been successfully set up and running
Performance Improvements ⚡
- perf(core): improve cold startup performance by caching
depended_modules
function in code splitter by @Boshen in #2294
Exciting New Features 🎉
- feat: port
ImportMetaPlugin
of Webpack by @underfin in #2684 - feat(cli): enable strictCommand & strictOption check by @hardfist in #2723
- feat: passthrough panics for parallel-running futures by @h-a-n-a in #2737
- feat(html):
builtins.html
should inject<script src="xxxx.js" />
in<head />
by @suxin2017 in #2770 - feat: 🎸 export info support by @IWANABETHATGUY in #2776
Bug Fixes 🐞
- fix(html): html inject public path incorrect by @jerrykingxyz in #2707
- fix: extend chunkGroup name from EsmDynamicImportDependency by @ahabhgk in #2712
- fix(progress): should not display empty progress bar by @chenjiahan in #2725
- fix: panic hook failed to restore after being suppressed by @h-a-n-a in #2734
- fix: template literal dynamic import by @faga295 in #2732
- fix(react-refresh): lazily access
module.exports
to prevent unexpected/potential TDZ error by @hyf0 in #2714 - fix(cli): fix default NODE_ENV of command by @hardfist in #2724
- fix: 🐛 fix crash in multiCompiler by @JSerFeng in #2744
- fix(css): should generate css assets even if the imported css file is empty by @suxin2017 in #2759
- fix(builtins.provide): should only replace exactly matched expression by @suxin2017 in #2721
- fix: redirect
name_for_condition
in BoxModule by @hyf0 in #2778
Other Changes
- chore: split test by @hardfist in #2703
- chore: remove the prefix of title in GitHub issue template by @hyf0 in #2698
- test: long test.js by @IWANABETHATGUY in #2708
- chore: fix GitHub issue template by @hyf0 in #2718
- chore: check bump in ci by @hardfist in #2716
- chore: add datetime to nightly version by @hardfist in #2720
- chore: add graph of contributors by @hyf0 in #2726
- test: finish all webpack test migration by @IWANABETHATGUY in #2709
- chore: use copilot in PR template by default by @hyf0 in #2729
- chore: Improve PR template by @hyf0 in #2730
- chore: add codeowner for crate error by @h-a-n-a in #2736
- ci(release): Refactor release script with reusable workflow by @Boshen in #2597
- chore: remove continue-on-error from reusable-build by @Boshen in #2743
- ci: remove invalid "description" field from release-canary by @Boshen in #2746
- chore: bump swc 0.74.6 by @underfin in #2657
- chore: introduce zx, corepack and setup script by @hyf0 in #2754
- chore: fix typo by @hyf0 in #2755
- chore: remove
zx
in setup script by @hyf0 in #2756 - style: fix clippy warning by @siyou in #2764
- chore: Add release.yml by @hyf0 in #2765
- ci: labeling PR with release: xxx automatically by @hyf0 in #2767
- chore: ignore the PRs created by github-actions in release notes by @hyf0 in #2766
- chore: improve structrue of PULL_REQUEST_TEMPLATE.md by @hyf0 in #2769
- chore: 🤖 bump napi by @IWANABETHATGUY in #2717
- chore: Revert "chore: 🤖 bump napi (#2717)" by @IWANABETHATGUY in #2783
- chore: update and lock pnpm to 7.32.0 by @zakuru in #2780
- chore: fine grained lint stage by @IWANABETHATGUY in #2794
New Contributors
Full Changelog: v0.1.7...v0.1.8