github web-infra-dev/rspack v2.3.0-beta.1

pre-release2 hours ago

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(' }
  • fix!: rename loader filter.code to codeFilter by @SyMind in #16184

New Features 🎉

Performance 🚀

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 🔨

Document 📖

Other Changes

Full Changelog: v2.3.0-beta.0...v2.3.0-beta.1

Don't miss a new rspack release

NewReleases is sending notifications on new releases.