rspack v2.2.1

v2.2.1
Added 2
  • Align wasmStreamingFallback with webpack
  • Track dependencies in loader cache
Changed 1
  • Store FactorizeInfo path dependencies as compact slices
Fixed 11
  • Correct compact hashed module and chunk IDs naming from compat-hashed to compact-hashed, with deprecated compatibility aliases maintained for backward compatibility
  • Disable stats logging by default
  • Disable incremental outside development mode
  • Run afterCompile before shouldEmit and asset emission
  • Clear stale issuer updates between rebuilds
  • Exclude asset output path from URLs in CSS

From rspack

Highlights
Corrected compact-hashed IDs naming

Rspack 2.2.0 introduced compact hashed module and chunk IDs under the mistakenly named compat-hashed option and CompatHashedModuleIdsPlugin / CompatHashedChunkIdsPlugin APIs. Rspack 2.2.1 corrects these names to compact-hashed, CompactHashedModuleIdsPlugin, and CompactHashedChunkIdsPlugin.

The names introduced in 2.2.0 remain available as deprecated compatibility aliases, but we recommend upgrading to Rspack 2.2.1 and using the corrected names:

module.exports = {
  optimization: {
    moduleIds: 'compact-hashed',
    chunkIds: 'compact-hashed',
  },
};
What's Changed
New Features 🎉
Performance 🚀
Bug Fixes 🐞
Refactor 🔨
Document 📖
Other Changes
New Contributors

Full Changelog: https://github.com/web-infra-dev/rspack/compare/v2.2.0...v2.2.1

View original

Upgraded? How did it go?

Discussion