What's Changed
Breaking Changes 🛠
- chore: update swc by @JSerFeng in #6441
- feat: deprecate
Compiler
andMultiCompiler
API by @h-a-n-a in #6448 - feat: deprecate
Compilation
API by @h-a-n-a in #6505
Performance Improvements ⚡
Exciting New Features 🎉
- feat: compat chunkGroup.chunks by @ahabhgk in #6490
- feat: support performance config by @inottn in #6456
- feat: support resolve.enforceExtension / descriptionFiles / importsFields options by @9aoy in #6491
- feat: support contextModuleFactory beforeResolve hook by @SyMind in #6420
- feat: export types of CSS extract plugin by @chenjiahan in #6528
- feat: improve diagnostics if expressions passed into
DefinePlugin
are failed to parse by @shulaoda in #6382 - feat: support cjs css with css esModule generator options by @ahabhgk in #6376
- feat(create-rspack): add template-vue-ts by @cnryb in #5834
Bug Fixes 🐞
- fix(rspack_plugin_mf): add chunk js matcher runtime to federation runtime by @ScriptedAlchemy in #6434
- fix: systemjs runtime extra semicolon by @LingyuCoder in #6492
- fix: make *_dependencies memory leak by @jerrykingxyz in #6498
- fix(minimizer): resolve error in minimizing esm asset file by @xc2 in #6521
- fix: make entry add include dependencies by @jerrykingxyz in #6527
- fix: make code-splitting deterministic by @JSerFeng in #6508
- fix: when comparing, cache group index should consider before modules by @JSerFeng in #6547
Document Updates 📖
- docs: check documentation coverage by @SyMind in #6468
- docs: update community plugin compatibility list by @9aoy in #6476
- docs(zh): update guide plugins by @chenjiahan in #6475
- docs: complete watchOptions configurations by @9aoy in #6479
- docs: remove inconsistent title by @SoonIter in #6484
- docs: improve compat table style by @chenjiahan in #6485
- docs: remove loader compatible page by @9aoy in #6493
- docs: add some links for awesome-rspack by @chenjiahan in #6497
- docs: internal plugins doc by @SyMind in #6483
- docs: fix wrong heading by @inottn in #6507
- docs: add missing
module
option of swc minimizer plugin by @emosheeep in #6506 - docs: add webpack-aligned plugin link by @9aoy in #6511
- docs: make the cases correct by @chenjiahan in #6510
- docs: duplicated ignoreOrder option in CssExtractPlugin by @chenjiahan in #6516
- docs: move rspack dev guide to documentation site by @SoonIter in #6515
- docs: reorganize the structure of dev guide by @chenjiahan in #6518
- docs: update outdated links and contents in dev guide by @chenjiahan in #6520
- docs: rename Node.js API to JavaScript API by @chenjiahan in #6529
- docs: update documentation contribution by @hardfist in #5993
- docs: dev server docs by @SyMind in #6530
- docs: improve plugins docs by @SyMind in #6545
Other Changes
- ci: remove openssl-legacy-provider flag by @SyMind in #6469
- refactor: make hooks remove make_param by @jerrykingxyz in #6489
- ci: release canary by dispatch by @LingyuCoder in #6502
- ci: contribution hook by @LingyuCoder in #6503
- chore: remove Boshen from the team by @Boshen in #6509
- chore(infra): update .nvmrc by @SoonIter in #6517
- chore(deps): update crates by @renovate in #6467
- test: add type of defaults cases by @LingyuCoder in #6524
- refactor: make
make_artifact
as raw data by @jerrykingxyz in #6526 - test: add type of hook cases by @LingyuCoder in #6531
- refactor: remove browserField by @ahabhgk in #6535
- chore: add eslint for import order sorting by @h-a-n-a in #6539
- test: use @rspack/core as config type by @LingyuCoder in #6538
- ci: renovate lark trigger by @LingyuCoder in #6542
- chore: remove new split chunks options by @ahabhgk in #6536
- refactor: align js render bootstrap by @ahabhgk in #6534
- chore(deps): update crates by @renovate in #6541
- chore(deps): update swc by @renovate in #6540
- chore: revert cargo lock to fix ci by @ahabhgk in #6544
- test: remove old treeshaking by @LingyuCoder in #6537
- chore: remove define plugin in rspack-cli by @LingyuCoder in #6219
- refactor: remove build & resolve_module cache by @jerrykingxyz in #6548
- chore(deps): update dependency sass-loader to v14 by @renovate in #6430
- test: config file type by @LingyuCoder in #6552
- ci: support release beta version by @9aoy in #6558
New Contributors
- @inottn made their first contribution in #6456
- @emosheeep made their first contribution in #6506
- @shulaoda made their first contribution in #6382
- @cnryb made their first contribution in #5834
Full Changelog: v0.6.5...v0.7.0-beta.0