What's Changed
Breaking Changes 🍭
Thefilter.code loader option (introduced in 2.3.0-beta.0) has been renamed tocodeFilter . If you are upgrading from 2.3.0-beta.0, replacefilter: { code: ... } withcodeFilter: ... in your loader config. No action is needed if you never usedfilter.code .
// 2.3.0-beta.0
{ loader: 'my-loader', filter: { code: 'customMacro(' } }
// 2.3.0-beta.1
{ loader: 'my-loader', codeFilter: 'customMacro(' }New Features 🎉
- feat(create-rspack): display version in startup banner by @chenjiahan in #16167
Performance 🚀
- perf(resolver): prefer package directories in node_modules by @stormslowly in #16154
Bug Fixes 🐞
- fix: release updated allocative crates to resolve napi feature mismatch by @intellild in #16171
- fix(HMR): correct hot updated chunk path resolution in Node.js HMR by @hai-x in #16174
- fix(release): synchronize workspace versions and CLI peer dependencies by @intellild in #16181
- fix: inherit splitChunks request limits in cache groups by @hai-x in #16191
- fix(css): calculate CSS module hashes from graph dependencies by @intellild in #16120
Refactor 🔨
- refactor(css): share CSS module graph traversal by @intellild in #16119
- refactor(css): query placeholders from compiled templates by @intellild in #16169
Document 📖
- docs: clarify loader code filters and add examples by @chenjiahan in #16182
Other Changes
Full Changelog: v2.3.0-beta.0...v2.3.0-beta.1