What's Changed
Performance Improvements ⚡
- perf(node-binding): lock-free compiler by @h-a-n-a in #5940
- perf(node-binding): reduce
JsCallback
lock contentions by @h-a-n-a in #5945
Exciting New Features 🎉
- feat: support
generator.dataUrl
as function by @luhc228 in #5841 - feat: support modify resource in after resolve hook by @LingyuCoder in #5924
- feat(create-rspack): support cancel operation by @lalalazero in #4968
- feat: support append fn by @SyMind in #5959
Bug Fixes 🐞
- fix(typing): fix partial ts-expect-error in packages/rspack by @gaoachao in #5909
- fix: ci failed caused by unresolved conflict by @ahabhgk in #5936
- fix: module connection issuse by @IWANABETHATGUY in #5930
- fix: nmf before resolve bench regression by @ahabhgk in #5941
- fix: export star missing module panic by @ahabhgk in #5953
- fix: overflow by @JiangWeixian in #5951
- fix: should call compile hook by @ahabhgk in #5958
- fix: plugin import camel case with number by @ahabhgk in #5962
Other Changes
- refactor: set compilation.module_graph as private by @jerrykingxyz in #5916
- refactor: support new tsfn (stage 1) by @h-a-n-a in #5885
- chore: bump oxc-resolver by @Boshen in #5883
- refactor: migrate to hook macro by @ahabhgk in #5922
- refactor: support new tsfn (stage 2) by @h-a-n-a in #5900
- chore(core): bump oxc_resolver by @Boshen in #5926
- chore(deps): update crates by @renovate in #5925
- refactor: connection use global auto-increment index by @jerrykingxyz in #5927
- refactor: migrate nmf before resolve to new hook by @ahabhgk in #5931
- refactor: support new tsfn (stage 3) by @h-a-n-a in #5932
- chore: fix lint-staged prettier by @ahabhgk in #5935
- refactor: support new tsfn (stage 4) by @h-a-n-a in #5934
- chore: run tree shaking by new test runner by @LingyuCoder in #5937
- chore(testng): run compiler cases by new runner by @LingyuCoder in #5942
- chore: cleanup legacy threadsafe function by @h-a-n-a in #5946
- refactor(core): set module_graph.* as private attribute by @jerrykingxyz in #5944
- chore(testng): run defaults cases by new runner by @LingyuCoder in #5947
- chore(testng): run stats api cases by new runner by @LingyuCoder in #5948
- refactor: support js loader plugin by @h-a-n-a in #5939
- chore: update CODEOWNERS by @h-a-n-a in #5952
- refactor: staged should emit hook by @ahabhgk in #5950
- chore: remove unused Rust dependencies by @Boshen in #5954
- refactor(node-binding): support
CompilerStateGuard
by @h-a-n-a in #5956 - refactor: this compilation hook by @ahabhgk in #5960
- chore: shorten SAFETY comments by @h-a-n-a in #5963
New Contributors
- @gaoachao made their first contribution in #5909
- @JiangWeixian made their first contribution in #5951
- @lalalazero made their first contribution in #4968
Full Changelog: v0.5.7...v0.5.8