What's Changed
Performance Improvements ⚡
- perf(core): remove events dependency by @chenjiahan in #6329
- perf: optimize execute module by @jerrykingxyz in #6415
Exciting New Features 🎉
- feat: support context module critical by @ahabhgk in #6331
- feat: support more methods for
errors
andwarnings
inCompilation
by @coder-xiaotian in #6300 - feat: diff context module sync mode by @ahabhgk in #6354
- feat: diagnostic with labels by @h-a-n-a in #6001
- feat: support pathinfo option by @SyMind in #6326
- feat(copyRspackPlugin): support transform configuration by @9aoy in #6375
- feat: support dynamic entry by @SyMind in #6393
- feat: add message comment for block promise by @ahabhgk in #6403
- feat: export Chunk and Module types from
@rspack/core
by @chenjiahan in #6421
Bug Fixes 🐞
- fix(create-rspack): remove useless sourceMap option in templates by @chenjiahan in #6319
- fix: incremental rebuild clean module_graph.block & dependencies by @jerrykingxyz in #6298
- fix: align get_nested_exports_info with webpack by @JSerFeng in #6351
- fix: default resolve roots by @ahabhgk in #6340
- fix: errors thrown in userland callbacks should not panic by @h-a-n-a in #6082
- fix: process dependencies task remove resolve_options by @jerrykingxyz in #6377
- fix: swc minimizer extracted comments should be stable by @h-a-n-a in #6380
- fix: minify comments extract by @LingyuCoder in #6386
- fix: runtimeChunk should control all entries' runtime by @ahabhgk in #6388
- fix(mf): remove empty chunk mapping by @ahabhgk in #6394
- fix(config): snapshot.module accept
{ timestamp: true}
by @SoonIter in #6387 - fix: swc parser should always preserve comments by @h-a-n-a in #6389
- fix: wrong module source by @h-a-n-a in #6396
- fix(config): support snapshot config {timestamp: true} and {hash: true} by @SoonIter in #6399
- fix: handle unhandled scheme by @h-a-n-a in #6404
- fix: allow all characters for webpackChunkName by @xc2 in #6411
- fix: remove outdated TODOs in runtime code by @chenjiahan in #6409
- fix: comment preserver should be placed prior to inline globals by @h-a-n-a in #6423
- fix(rspack_loader_runner): char_boundary panic when debug content by @SoonIter in #6412
- fix(mf): webpack_init_sharing with empty config by @ahabhgk in #6450
- fix: consistent md4 hash in localNameIdent by @LingyuCoder in #6444
Document Updates 📖
- docs: enable cleanUrls for website by @chenjiahan in #6330
- docs: use meta.json to generate nav and sidebar configs by @chenjiahan in #6345
- docs: improve homepage style by @chenjiahan in #6365
- docs: update react doc by @h-a-n-a in #6371
- docs: sort about docs to make them more clear by @chenjiahan in #6378
- docs: fix readme.md credits links by @LingyuCoder in #6383
- docs: update outdated FAQs by @chenjiahan in #6384
- docs: improve team member list styles by @chenjiahan in #6385
- docs: css modules guides by @SyMind in #6397
- docs: add v1.0 release plan to roadmap by @chenjiahan in #6405
- docs: fix banner link by @Sunny-117 in #6401
- docs: split plugins api by @SyMind in #6400
- docs: split loader docs by @SyMind in #6442
- docs: add blogs overview page by @chenjiahan in #6446
- docs: split module methods docs by @SyMind in #6447
- docs: fix modules docs crash by @SyMind in #6449
Other Changes
- chore(deps): bump express from 4.18.1 to 4.19.2 in /packages/rspack-dev-server by @dependabot in #6316
- refactor: import context dependency param evaluate by @ahabhgk in #6321
- chore: bump oxc_resolver to v1.6.7 by @Boshen in #6320
- chore: do NOT trigger lark notification for issues from project member by @yuyutaotao in #6327
- chore: Use team.yml file to filter team member when sending notification by @yuyutaotao in #6333
- refactor: remove is_new_treeshaking in module_graph by @jerrykingxyz in #6334
- chore: add hot step runtime test by @LingyuCoder in #6318
- chore: migrate config test cases by @LingyuCoder in #6335
- chore: migrate config test cases by @LingyuCoder in #6338
- chore: migrate normal cases by @LingyuCoder in #6336
- chore: remove case sensitive case by @LingyuCoder in #6342
- chore: remove case sensitive case of webpack-test by @LingyuCoder in #6343
- chore: migrate test hot by @LingyuCoder in #6341
- chore: move config case of context module by @LingyuCoder in #6346
- chore: migrate test diagnostic by @LingyuCoder in #6348
- chore: remove repetitive words by @findmyhappy in #6347
- chore: migrate stats cases by @LingyuCoder in #6349
- test: add hook cases by @h-a-n-a in #6241
- chore(api-extractor): exclude warning and add forgotten exports to report by @h-a-n-a in #6352
- chore: migrate compat case by @LingyuCoder in #6353
- chore(deps): bump webpack-dev-middleware from 6.0.2 to 6.1.2 in /packages/rspack-dev-server by @dependabot in #6288
- chore: migrate css extract test by @LingyuCoder in #6360
- chore: move resolve roots test by @ahabhgk in #6361
- chore: migrate copy plugin cases by @LingyuCoder in #6362
- refactor: split cutout and repair step in make by @jerrykingxyz in #6364
- chore: modify cwd of test cases and refactor some case creator by @LingyuCoder in #6367
- chore: migrate test remain by @LingyuCoder in #6369
- chore: jsdom windows by @LingyuCoder in #6379
- refactor: diff context module lazy once mode by @ahabhgk in #6398
- chore: move rspack_core macro test by @ahabhgk in #6395
- refactor: weak, async-weak, eager mode context module codegen diff by @ahabhgk in #6406
- chore: test directory by @LingyuCoder in #6408
- chore(deps): fix renovate configuration by @xc2 in #6410
- chore: add type to file level cases by @LingyuCoder in #6416
- chore: add type to webpack.config.js cases by @LingyuCoder in #6417
- chore: hook case creator by @LingyuCoder in #6419
- chore(deps): update crates by @renovate in #6424
- chore: take down diff&canary release workflow temporarily by @hardfist in #6455
- chore: add x test plugin by @LingyuCoder in #6459
- chore: remove tokens by @LingyuCoder in #6460
New Contributors
- @dependabot made their first contribution in #6316
- @findmyhappy made their first contribution in #6347
- @coder-xiaotian made their first contribution in #6300
- @Sunny-117 made their first contribution in #6401
Full Changelog: v0.6.3...v0.6.4