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