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