Warning
v2.0.7 has been deprecated because it may generate incorrect Rspack build outputs.
Please do not install or use v2.0.7. Upgrade to v2.0.8 instead, which was released as the fix for this issue.
What's Changed
New Features 🎉
- feat: add SyncModuleIdsPlugin by @intellild in #14243
- feat(css): support CSS modules options
container,function,gridandpureby @intellild in #14189 - feat: support source phase import for WebAssembly modules by @magic-akari in #13864
- feat(watcher): granularity-safe native watcher scan (watchpack FS_ACCURACY) by @stormslowly in #14306
- feat: better circular check plugin by @ahabhgk in #14319
- feat: support rspack magic comment prefix by @intellild in #14323
Performance 🚀
- perf(split-chunks): reduce module grouping overhead by @LingyuCoder in #14209
- perf(sources): preallocate source map mappings buffer by @SyMind in #14288
- perf(module-graph): store dependencies in dense map by @hardfist in #14290
- perf(core): use dense dependency id maps in module graph by @hardfist in #14322
Bug Fixes 🐞
- fix(copy): normalize glob common dir before adding as context dependency by @stormslowly in #14257
- fix: declarator nested webpack exports by @ahabhgk in #14253
- fix(css): preserve import render conditions by @intellild in #14218
- fix(lazy-compilation): reserve closure-library externals on inactive proxy by @stormslowly in #14228
- fix(css): align dashed idents with webpack by @intellild in #14261
- fix: preserve shared fallback versions by @2heal1 in #14219
- fix(library): implement JsonpLibraryPlugin for
output.library.type: 'jsonp'by @logonoff in #14278 - fix(watcher): carry dependency deltas across coalesced rebuilds by @stormslowly in #14279
- fix(rstest): support mocking dynamic import() of external modules by @fi3ework in #14247
- fix(css): include local name in hash-only local idents by @intellild in #14334
Refactor 🔨
- refactor: parse magic comments with swc by @intellild in #14264
- refactor(devtool): propagate source map kind to generators by @intellild in #14283
- refactor: swc exp for javascript parser plugin by @CPunisher in #14256
Document 📖
- docs: add TanStack Start to ecosystem guide by @chenjiahan in #14259
- docs(style): dark mode styling for website ApiMeta tag by @Copilot in #14262
- docs: fix broken documentation links by @chenjiahan in #14316
Other Changes
- chore: scale threejs walltime benchmark input by @hardfist in #14250
- chore(deps): update dependency @rstest/core to ^0.10.3 by @renovate[bot] in #14230
- chore(deps): update dependency enhanced-resolve to v5.22.1 by @renovate[bot] in #14231
- chore(deps): update dependency terser to v5.48.0 by @renovate[bot] in #14232
- chore(deps): update dependency ws to ^8.21.0 by @renovate[bot] in #14233
Full Changelog: v2.0.6...v2.0.7