New
v1.7.4
What's Changed
New Features π
- feat: support import and export string specifier by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12759
- feat(mf): add async startup promise gating for entrypoints by @ScriptedAlchemy in https://github.com/web-infra-dev/rspack/pull/11899
Bug Fixes π
- fix:
require.resolve()replaced asrequire()by @intellild in https://github.com/web-infra-dev/rspack/pull/12773 - fix: handle
rs.requireActualandrs.importActualin all contexts by @9aoy in https://github.com/web-infra-dev/rspack/pull/12806 - fix(mf): filter runtime plugin invocation for used exports by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12807
- fix: fix panic caused by missing lazy dependency by @hardfist in https://github.com/web-infra-dev/rspack/pull/12820
- fix(mf): use dynamic exports type for MF modules (cherry-pick #12841) by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12848
- fix: normalize paths for extract source map (cherry-pick #12825) by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12847
- fix: enable panic backtrace for release-debug by @hardfist in https://github.com/web-infra-dev/rspack/pull/12854
- fix: should not panic when accessing slate stats for Rspack 1.x by @SyMind in https://github.com/web-infra-dev/rspack/pull/12853
- fix(mf): cherry pick mf manifest improving to v1.x by @2heal1 in https://github.com/web-infra-dev/rspack/pull/12851
Refactor π¨
- refactor: use readonly ref in runtime requirements in tree hook by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12789
- refactor: introduce ArtifactExt trait by @hardfist in https://github.com/web-infra-dev/rspack/pull/12800
- refactor: to use &Compilation in AdditionalTreeRuntimeRequirementsHook by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12801
- refactor: differentiate snapshot strategies by dependency type by @jerrykingxyz in https://github.com/web-infra-dev/rspack/pull/12805
Other Changes
- chore: update Node.js version in .nvmrc to 22 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/12797
- chore: enable fair sched for codspeed by @CPunisher in https://github.com/web-infra-dev/rspack/pull/12798
- chore: try to make wasm test more stable by @CPunisher in https://github.com/web-infra-dev/rspack/pull/12795
- chore: disable generation of wasm binding by @CPunisher in https://github.com/web-infra-dev/rspack/pull/12802
- chore(test): uniform all time to
X msby @stormslowly in https://github.com/web-infra-dev/rspack/pull/12790 - test: hideSkippedTestFiles by @9aoy in https://github.com/web-infra-dev/rspack/pull/12812
- test: skip native watcher test case for skip chunk build case by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12858
New Contributors
- @intellild made their first contribution in https://github.com/web-infra-dev/rspack/pull/12773
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v1.7.3...v1.7.4