v0.1.8
版本发布时间: 2023-04-18 19:08:43
web-infra-dev/rspack最新发布版本:v0.3.13(2023-11-15 21:30:09)
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 https://github.com/web-infra-dev/rspack/pull/2294
Exciting New Features 🎉
- feat: port
ImportMetaPlugin
of Webpack by @underfin in https://github.com/web-infra-dev/rspack/pull/2684 - feat(cli): enable strictCommand & strictOption check by @hardfist in https://github.com/web-infra-dev/rspack/pull/2723
- feat: passthrough panics for parallel-running futures by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/2737
- feat(html):
builtins.html
should inject<script src="xxxx.js" />
in<head />
by @suxin2017 in https://github.com/web-infra-dev/rspack/pull/2770 - feat: 🎸 export info support by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/2776
Bug Fixes 🐞
- fix(html): html inject public path incorrect by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/2707
- fix: extend chunkGroup name from EsmDynamicImportDependency by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/2712
- fix(progress): should not display empty progress bar by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/2725
- fix: panic hook failed to restore after being suppressed by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/2734
- fix: template literal dynamic import by @faga295 in https://github.com/web-infra-dev/rspack/pull/2732
- fix(react-refresh): lazily access
module.exports
to prevent unexpected/potential TDZ error by @hyf0 in https://github.com/web-infra-dev/rspack/pull/2714 - fix(cli): fix default NODE_ENV of command by @hardfist in https://github.com/web-infra-dev/rspack/pull/2724
- fix: :bug: fix crash in multiCompiler by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/2744
- fix(css): should generate css assets even if the imported css file is empty by @suxin2017 in https://github.com/web-infra-dev/rspack/pull/2759
- fix(builtins.provide): should only replace exactly matched expression by @suxin2017 in https://github.com/web-infra-dev/rspack/pull/2721
- fix: redirect
name_for_condition
in BoxModule by @hyf0 in https://github.com/web-infra-dev/rspack/pull/2778
Other Changes
- chore: split test by @hardfist in https://github.com/web-infra-dev/rspack/pull/2703
- chore: remove the prefix of title in GitHub issue template by @hyf0 in https://github.com/web-infra-dev/rspack/pull/2698
- test: long test.js by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/2708
- chore: fix GitHub issue template by @hyf0 in https://github.com/web-infra-dev/rspack/pull/2718
- chore: check bump in ci by @hardfist in https://github.com/web-infra-dev/rspack/pull/2716
- chore: add datetime to nightly version by @hardfist in https://github.com/web-infra-dev/rspack/pull/2720
- chore: add graph of contributors by @hyf0 in https://github.com/web-infra-dev/rspack/pull/2726
- test: finish all webpack test migration by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/2709
- chore: use copilot in PR template by default by @hyf0 in https://github.com/web-infra-dev/rspack/pull/2729
- chore: Improve PR template by @hyf0 in https://github.com/web-infra-dev/rspack/pull/2730
- chore: add codeowner for crate error by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/2736
- ci(release): Refactor release script with reusable workflow by @Boshen in https://github.com/web-infra-dev/rspack/pull/2597
- chore: remove continue-on-error from reusable-build by @Boshen in https://github.com/web-infra-dev/rspack/pull/2743
- ci: remove invalid "description" field from release-canary by @Boshen in https://github.com/web-infra-dev/rspack/pull/2746
- chore: bump swc 0.74.6 by @underfin in https://github.com/web-infra-dev/rspack/pull/2657
- chore: introduce zx, corepack and setup script by @hyf0 in https://github.com/web-infra-dev/rspack/pull/2754
- chore: fix typo by @hyf0 in https://github.com/web-infra-dev/rspack/pull/2755
- chore: remove
zx
in setup script by @hyf0 in https://github.com/web-infra-dev/rspack/pull/2756 - style: fix clippy warning by @siyou in https://github.com/web-infra-dev/rspack/pull/2764
- chore: Add release.yml by @hyf0 in https://github.com/web-infra-dev/rspack/pull/2765
- ci: labeling PR with release: xxx automatically by @hyf0 in https://github.com/web-infra-dev/rspack/pull/2767
- chore: ignore the PRs created by github-actions in release notes by @hyf0 in https://github.com/web-infra-dev/rspack/pull/2766
- chore: improve structrue of PULL_REQUEST_TEMPLATE.md by @hyf0 in https://github.com/web-infra-dev/rspack/pull/2769
- chore: 🤖 bump napi by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/2717
- chore: Revert "chore: 🤖 bump napi (#2717)" by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/2783
- chore: update and lock pnpm to 7.32.0 by @zakuru in https://github.com/web-infra-dev/rspack/pull/2780
- chore: fine grained lint stage by @IWANABETHATGUY in https://github.com/web-infra-dev/rspack/pull/2794
New Contributors
- @siyou made their first contribution in https://github.com/web-infra-dev/rspack/pull/2764
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.1.7...v0.1.8