Repository navigation
v2.3.0-beta.1
Pre-release
Pre-release
·
8 commits
to 556c8f43609d8b3445cc1dbc65e2d1be47a6f928
since this release
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